The Perfect Desktop - Mandriva 2007 Spring Free (Mandriva 2007.1) - Page 04

Want to support HowtoForge? Become a subscriber!
 
Submitted by falko (Contact Author) (Forums) on Tue, 2007-05-08 16:20. ::

5 Add Online Software Repositories

In this step we will add some online repositories that contain all packages from our CDs plus updated packages plus additional packages that are not on the CDs. As this makes the CDs redundant, we will remove them from the repository list.

There are two ways of doing this: on the command line or in Mandriva's Control Center. I will describe both ways here. You can use the one or the other, the result is the same.

 

5.1 Command Line

Visit http://easyurpmi.zarb.org/ in your browser and follow the wizard. Enable the following repositories:

  • contrib
  • contrib_updates
  • main
  • main_updates
  • plf-free
  • plf-nonfree

In the end, the wizard will show you a list of commands to run to change the repositories list of your Mandriva desktop:

Now open a terminal (Applications > Accessories > Terminal) and become root by typing:

su

Then run the commands from the wizard, e.g.:

urpmi.addmedia main ftp://ftp.tu-chemnitz.de/pub/linux/mandrakelinux/official/2007.1/i586/media/main/release with media_info/hdlist.cz

urpmi.addmedia --update main_updates ftp://ftp.tu-chemnitz.de/pub/linux/mandrakelinux/official/2007.1/i586/media/main/updates with media_info/hdlist.cz

urpmi.addmedia contrib ftp://ftp.tu-chemnitz.de/pub/linux/mandrakelinux/official/2007.1/i586/media/contrib/release with media_info/hdlist.cz

urpmi.addmedia --update contrib_updates ftp://ftp.tu-chemnitz.de/pub/linux/mandrakelinux/official/2007.1/i586/media/contrib/updates with media_info/hdlist.cz

urpmi.addmedia --update plf-free ftp://ftp.univ-orleans.fr/logiciel-libre/plf/mandriva/2007.1/free/release/binary/i586/ with hdlist.cz

urpmi.addmedia --update plf-nonfree ftp://ftp.univ-orleans.fr/logiciel-libre/plf/mandriva/2007.1/non-free/release/binary/i586/ with hdlist.cz

And to remove the Mandriva DVD from the repository list, run

urpmi.removemedia '"Mandriva Linux - 2007.1 (Free) - Installer"'

urpmi.removemedia '"Mandriva Linux - 2007.1 (Free) - Installer" (contrib)'

 

5.2 Control Center

Open the Control Center and go to Software Management > Select from where software packages are downloaded when updating the system:

Click on Yes when you're asked Is it ok to continue?:

In the Media Manager you will find your Mandriva DVD. Please disable it and click on Add custom... to add other repositories:

We will now add repositories with the names main, main_updates, contrib, contrib_updates, plf-free, plf-nonfree. These are FTP repositories. For example, to add the main repository, fill in:

main:

  • Type of medium: FTP server
  • Name: main
  • URL: ftp.tu-chemnitz.de/pub/linux/mandrakelinux/official/2007.1/i586/media/main/release
  • Relative path to synthesis/hdlist: media_info/hdlist.cz

Do the same for the other repositories like this:

main_updates:

  • Type of medium: FTP server
  • Name: main_updates
  • URL: ftp.tu-chemnitz.de/pub/linux/mandrakelinux/official/2007.1/i586/media/main/updates
  • Relative path to synthesis/hdlist: media_info/hdlist.cz

contrib:

  • Type of medium: FTP server
  • Name: contrib
  • URL: ftp.tu-chemnitz.de/pub/linux/mandrakelinux/official/2007.1/i586/media/contrib/release
  • Relative path to synthesis/hdlist: media_info/hdlist.cz

contrib_updates:

  • Type of medium: FTP server
  • Name: contrib_updates
  • URL: ftp.tu-chemnitz.de/pub/linux/mandrakelinux/official/2007.1/i586/media/contrib/updates
  • Relative path to synthesis/hdlist: media_info/hdlist.cz

plf-free:

  • Type of medium: FTP server
  • Name: plf-free
  • URL: ftp.univ-orleans.fr/logiciel-libre/plf/mandriva/2007.1/free/release/binary/i586
  • Relative path to synthesis/hdlist: hdlist.cz

plf-nonfree:

  • Type of medium: FTP server
  • Name: plf-nonfree
  • URL: ftp.univ-orleans.fr/logiciel-libre/plf/mandriva/2007.1/non-free/release/binary/i586
  • Relative path to synthesis/hdlist: hdlist.cz

These repositories should all be enabled, and updates should be enabled for main_updates, contrib_updates, plf-free, and plf-nonfree. Your repository list should now look like this:

Click on Ok to leave the Media Manager.


Please do not use the comment function to ask for help! If you need help, please use our forum.
Comments will be published after administrator approval.