Re: How can I Update Packages



I am running UBUNTU Server 9.10 but I´m a newbie to UBUNTU.
After my login the following message appears:
65 packages can be updated.
30 updates are security updates.
How can I automatically update those packages?

Knute suggested
sudo aptitude update
sudo aptitude full-upgrade
and Karl suggested
sudo aptitude update
sudo aptitude upgrade
which is deprecated, the correct invocation being
sudo aptitude safe-upgrade

Both upgrade installed packages to their most recent version but
"safe-upgrade" does not remove installed packages and only installs
new packages to resolve dependencies.

Since you are running a server, you should use "safe-upgrade".

In fact, you should run
aptitude update
aptitude search ~U
to list the updates that are available and install those that you need
(ideally after testing them on a dev box).

--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages

  • Re: broken...
    ... install packages and to update the system: ... Correcting dependencies... ... The following packages have unmet dependencies: ... Sudo aptitude unhold ...
    (Ubuntu)
  • Re: how to auto purge automatically installed packages using aptitude?
    ... $ sudo aptitude --purge-unused remove xpdf ... and found that aptitude just removed xpdf package only and had ... otherautomatically installed packages left. ...
    (Ubuntu)
  • Re: How to get version information in common notation
    ... sudo aptitude remove xserver-xorg-video-all ... The following packages will be REMOVED: ... [Another snip] ...
    (Debian-User)
  • Re: Safest maintenance of a sid system
    ... Jochen Schulz wrote: ... the daily updates of packages that come through - for example - the Update Notification? ... using 'sudo aptitude update && sudo aptitufe safe-upgrade'. ...
    (Debian-User)
  • Re: wajig < > apt-get
    ... auto-download Do an update followed by a download of all updated packages ... commands List all the JIG commands and one line descriptions for each ... integrity Check the integrity of installed packages ...
    (Debian-User)