Linux: Fixing Mandrake URPMI media sources after an upgrade

When upgrading Mandrake, e.g. from 9.1 to 10.0, make sure you delete the old and synthesis.* files from the previous release, and use urpmi.addmedia to add the new release media (CD) to your machine.Here is a list of commands to do that:cd /var/lib/urpmi/# Cleanup the old media for URPMI.# Note: You could delete everything, or just choose to delete the ones that are on the old 9.1 CDs. rm *# Insert CD1 in drivemount /mnt/cdromurpmi.addmedia "Mandrake Linux 10.0 Final CD1 (x86)" removable://mnt/cdrom/Mandrake/RPMSumount /mnt/cdrom# Insert CD2 in drivemount /mnt/cdromurpmi.addmedia "Mandrake Linux 10.0 Final CD2 (x86)" removable://mnt/cdrom/Mandrake/RPMS2umount /mnt/cdrom# Insert CD3 in drivemount /mnt/cdromurpmi.addmedia "Mandrake Linux 10.0 Final CD3 (x86)" removable://mnt/cdrom/Mandrake/RPMS3After that, you can go ahead and add whatever ftp site you want in addition to what you have.Doing this will save you a lot of confusion and error messages.