Custom Search

Ubuntu aptitude upgrade

Beside apt package management, Ubuntu has another package management called aptitude. Aptitude is a high-level interface to the package manager originally from Debian. It has two interface, the visual interface and a command line interface. Here, is a guide of aptitude command line interface run in Ubuntu server command line terminal.



First run the aptitude update command to find updates from Ubuntu support server. Here is an example of aptitude update command:




luzar@ubuntu:~$ sudo aptitude update
[sudo] password for luzar:
Get:1 http://security.ubuntu.com hardy-security Release.gpg [189B]
Ign http://security.ubuntu.com hardy-security/main Translation-en_US
Ign http://security.ubuntu.com hardy-security/restricted Translation-en_US
Ign http://security.ubuntu.com hardy-security/universe Translation-en_US
Ign http://security.ubuntu.com hardy-security/multiverse Translation-en_US
Get:2 http://security.ubuntu.com hardy-security Release [58.5kB]Hit http://us.archive.ubuntu.com hardy Release.gpg.........
Fetched 960kB in 17s (56.3kB/s)Reading package lists... Done
luzar@ubuntu:~$


After finish the aptitude command, run aptitude upgrade command to install updated software. Here is an aptitude upgrade command example:




luzar@ubuntu:~$ sudo aptitude upgrade
W: The "upgrade" command is deprecated; use "safe-upgrade" instead.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
The following packages have been automatically kept back:
libbind9-30 libisc32 libisccc30 libisccfg30
The following packages have been kept back:
bind9 bind9-host dnsutils linux-image-server linux-server
0 packages upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
luzar@ubuntu:~$

No comments:

Post a Comment

Please keep comment relevant and strictly no spam will be tolerated. Thank you.