Apply all pending updates to Mandriva Linux system (2008.0 and newer).

urpmi --auto-update --force # apply all pending updates (Mandriva Linux)
Update a Mandriva Linux system with any pending updates. This command needs to be run with root privilege. Using the "--force" option answers "yes" to any interactive prompts thus allowing the updates to be left unattended to completion. NB if there is an update for glibc and/or a new kernel then the system would need to be rebooted for these to take effect. A prerequisite for running "urpmi --auto-update" is to have correctly defined urpmi media sources (which can be done by visiting http://easyurpmi.zarb.org/). If there are no new updates the the message "Packages are up to date" is shown.
Sample Output
# urpmi --auto-update --force      # example for an x86_64   64-bit Mandriva
medium ""Mandriva Linux - 2009.0 (Powerpack64) - Installer" (dvd-free-1)" is up-to-date
medium ""Mandriva Linux - 2009.0 (Powerpack64) - Installer" (dvd-free-2)" is up-to-date
medium ""Mandriva Linux - 2009.0 (Powerpack64) - Installer" (dvd-free-3)" is up-to-date
medium ""Mandriva Linux - 2009.0 (Powerpack64) - Installer" (dvd-free-4)" is up-to-date
medium ""Mandriva Linux - 2009.0 (Powerpack64) - Installer" (dvd-free-5)" is up-to-date
medium ""Mandriva Linux - 2009.0 (Powerpack64) - Installer" (dvd-free-6)" is up-to-date
medium ""Mandriva Linux - 2009.0 (Free64) - Installer" (dvd-free-1)" is up-to-date
medium ""Mandriva Linux - 2009.0 (Free64) - Installer" (dvd-free-2)" is up-to-date
medium ""Mandriva Linux - 2009.0 (Free64) - Installer" (dvd-free-3)" is up-to-date
medium "Main (official-1)" is up-to-date
medium "Main Updates (official-2)" is up-to-date
medium "Main32 (official-3)" is up-to-date
medium "Main32 Updates (official-4)" is up-to-date
medium "Contrib (official-11)" is up-to-date
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  797k  100  797k    0     0  9988k      0 --:--:-- --:--:-- --:--:-- 11.2M
updated medium "Contrib Updates (official-12)"
medium "Non-free (official-19)" is up-to-date
medium "Non-free Updates (official-20)" is up-to-date
Packages are up to date

0
By: mpb
2009-03-28 14:59:26

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands



Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: