Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I upgraded my Ubuntu Server 12.10 to 13.04 a couple of days ago, using "do-release-upgrade"

But every time I log in, I still get this message:

Welcome to Ubuntu 13.04 (GNU/Linux 3.8.0-19-generic x86_64)

 * Documentation:  https://help.ubuntu.com/

New release '13.04' available.
Run 'do-release-upgrade' to upgrade to it.

How do I get rid of this?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

This is called the MOTD and it seems it didn't update properly. You're not the only one with that problem though.

Try removing the following file, which tells Ubuntu that there is an upgrade available:

sudo rm /var/lib/ubuntu-release-upgrader/release-upgrade-available

After doing that, you should call the following script to update the MOTD. Ubuntu will check for the existence of the file we just deleted and therefore won't show you that there's a pending upgrade anymore:

/usr/lib/ubuntu-release-upgrader/release-upgrade-motd
share|improve this answer
    
That helped thanks! Another funny thing is, that my bash prompt still shows the ole version: carsten@Ubuntu-1210-quantal-64-minimal:~$ but i can live with that –  Carsten Gehling May 16 '13 at 13:13
1  
Hm. What does echo $PS1 say? Maybe still an old /etc/hostname you're using? –  slhck May 16 '13 at 14:02
    
It was indeed the hostname :-) Thanks –  Carsten Gehling May 17 '13 at 8:37

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.