Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I never ran an ubuntu server, until recently, I needed a bigbluetutton VM, and, since installing on ubuntu it's easier (just add the repository), I installed it on that distro.

But, when I log on console, i get this:

24 packages can be updated. 0 updates are security updates.

* System restart required *

So I do apt-get update and apt-get upgrade, but it says no packages to upgrade. How to update those 24 packages?

share|improve this question
    
does 'sudo apt-get dist-upgrade' work? or you could first to a sudo apt-get update and then try dist-upgrade again? –  freethinker May 21 '11 at 10:59

3 Answers 3

up vote 3 down vote accepted

its a known bug. the motd on the login does not get refreshed...

https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/545398

The duplicate motd resides in /etc/motd.tail, apparently the installer saves it there? Remove this file, and the motd is fixed.

share|improve this answer
apt-get upgrade 

will only upgrade those packages where the dependencies have not changed and therefore no other packages will be either removed or installed. If you want to upgrade all packages, you need to run

apt-get dist-upgrade
share|improve this answer
    
It updated some packages, i rebooted, but the logon message still says "24 packages can be updated. 0 updates are security updates." –  Magnetic_dud May 21 '11 at 10:51
    
Run it again, and let me know what it does. –  wolfgangsz May 21 '11 at 11:03

You need to remove motd.tail as it doesn't get updated due to a bug in installer. All you need to do is run the following command to remove motd.tail and the motd will be fixed:

sudo rm /etc/motd.tail
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.