Tips Linux Explorers   All Things Linux Forum   Great Linux Links   Hometown   Email 

( Mandrake )

Imagine all your software sources are gone, all CD's removed from the packet manager in the MCC ( or corrupted ). Here is an easy trick to add them all in one go:

If there are still some sources left and you want to remove those first so you can have a fresh start:

# urpmi.removemedia -a

If you still have the CD's and want to add those:
( Put CD 1 in the CD-ROM )

# urpmi.addmedia --distrib cd- removable://mnt/cdrom/

If you have no CD's you can add the FTP sources for the distribution:

# urpmi.addmedia --distrib nluug-

It will automatically add all the available media . . . . and get the correct paths to the hdlists !

If you are on dial-up you may prefer the synthesis-hdlist to the normal hdlist because it takes less time to download:

# urpmi.addmedia --distrib --probe-synthesis --wget nluug-

( The --wget option is a personal preference, I use it to give priority to wget over curl to get the hdlists )


The tip on how to use the the urpmi sources:
Installing software URPMI

How to add additional software sources, and a complete list of sources:
URPMI Sources in Mandrake 10.1 Official
URPMI Sources in Mandriva 2005
URPMI Sources in Mandriva 2006

And also important, how to keep your sources up to date:
Updating your urpmi-sources

-- Jan 18 2005 ( Revised Dec 11 2005 ) --

Tips Linux Explorers   All Things Linux Forum   Great Linux Links   Hometown   Email