[ubuntu-uk] apt-get update / apt-get upgrade question

Alan Pope alan at popey.com
Fri Sep 3 10:12:23 BST 2010


On 3 September 2010 10:09, Steve Fisher <xirconuk at gmail.com> wrote:
> I am a Mandriva refugee! I know rpm inside out, but not apt.  When I issue
> the above, sometimes I see e.g.:
> 26 upgraded, 0 newly installed, 0 to remove and 132 not upgraded. (KDE
> updates coming down).
> If I use the gui or synaptic, it will let me update fully.  Why won't it do
> it from a terminal?

It will if you use the right command :)

sudo apt-get update
sudo apt-get dist-upgrade

If you do "sudo apt-get upgrade" then it wont upgrade any packages
that are dependant on something you don't currently have installed
(i.e. a new dependency). a 'dist-upgrade' will install those
additional packages.

Cheers,
Al.



More information about the ubuntu-uk mailing list