Tips Linux Explorers   All Things Linux Forum   Great Linux Links   LinuxClues.com   Hometown   Email 



LOST URPMI DISTRIBUTION SOURCES
( 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:

CODE
# urpmi.removemedia -a


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

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


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

CODE
# urpmi.addmedia --distrib nluug- ftp://ftp.nluug.nl/pub/os/Linux/distr/Mandrake/official/10.1/i586/


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:

CODE
# urpmi.addmedia --distrib --probe-synthesis --wget nluug- ftp://ftp.nluug.nl/pub/os/Linux/distr/Mandrake/official/10.1/i586/

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



Bruno



RELATED:
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   LinuxClues.com   Hometown   Email