PDA

View Full Version : [ubuntu] Ubuntu Updates question


unix4linux
January 29th, 2010, 04:08 PM
Every time I login to my system via ssh(ubuntu 9.04 server), I get an update message saying I have:

30 packages can be updated.
72 updates are security updates.

When I run "apt-get upgrade" it doesn't find anything to update/upgrade. So, why does it keep saying I have 30 packages can be updated and 72 updates are security updates?

Thanks,
G

KnottyMars
January 29th, 2010, 05:04 PM
Im kinda new to Ubuntu, but I thought that you had to use


sudo aptitude update

sudo aptitude dist-upgrade


That has always worked for me, hope that helps

Iowan
January 29th, 2010, 05:51 PM
If you prefer apt-get, try sudo apt-get update (to get a fresh list of what's available) before running apt-get upgrade.

unix4linux
January 31st, 2010, 10:24 AM
Ok, I guess I didn't make myself clear...that's my fault.

I always run apt-get update before upgrade. After I run upgrade, I continue to see the system telling me that there are packages to update and or upgrade.

martien
January 31st, 2010, 10:50 AM
Ok, I guess I didn't make myself clear...that's my fault.

I always run apt-get update before upgrade. After I run upgrade, I continue to see the system telling me that there are packages to update and or upgrade.

The login msg is just showing the content of /etc/motd, so I guess /etc/motd is generated on startup or is reloading on some period of time, so that may be the reason you still have updates to do.

unix4linux
February 1st, 2010, 10:50 AM
Martien,

I used aptitude instead and it cleared that updates from the login. I guess apt-get probably doesn't refresh the motd where aptitude does?...oh well, aptitude did it for me.

Thanks a bunch all :-)