LinuxCommandLibrary

urpmi.addmedia

Add media in Mageia.

TLDR

Add a medium

$ sudo urpmi.addmedia [medium] [ftp://ftp.site.com/path/to/Mageia/RPMS]
copy


Add a medium from a hard drive (run genhdlist2 in the directory first)
$ sudo urpmi.addmedia --distrib HD file:/[/path/to/repo]
copy


Add important media from a chosen mirror
$ sudo urpmi.addmedia --distrib ftp://[mirror_website}/mirror/mageia/distrib/[version]/[arch]
copy


Automatically select mirrors from a mirror list
$ sudo urpmi.addmedia --distrib --mirrorlist [mirrorlist]
copy

Copied to clipboard