How to disable DVD and enable the Mandriva online repositories| Mandriva2010

by M.el Khamlichi

Please share

By default, Mandriva 2010.0 uses the installation DVD as its only software repository which is inconvenient if the server is in a remote location. 1- Therefore we disable the DVD and enable the Mandriva online repositories:

urpmi.removemedia -a && urpmi.addmedia --distrib --mirrorlist

2- Now we create a script /etc/cron.daily/mandriva_update that will autmatically be run by cron daily and looks for and installs the latestsoftware updates on your Mandriva 2010.0 system. The script looks like this: