Add new comment

Want to support HowtoForge? Become a subscriber!
Submitted by FACORAT Fabrice (not registered) on Fri, 2008-10-17 13:20.

1. to add a media, you can do it easily with 1 line, without the need to use easyurpmi :

 urpmi.addmedia --distrib --mirrorlist

This command will automatically add all the remote FTP repositories, and will try to select the closest mirror for you. So if you want to only have remote repositories and removed the installation media, you'd better remove all the media/repositories, and then add the new ones :

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

2. if you want to do automatic updates, but only install packages from the updates repositories, you can now use --auto-update which will do at the same time a "urpmi.update -a" and a "urpmi --auto-select". So you auto-update script could look like this :

urpmi --auto-update --update  --auto

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.

Reply

*
*
The content of this field is kept private and will not be shown publicly.


*

  • Images can be added to this post.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <div>
  • Lines and paragraphs break automatically.