Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

This was an issue with moving to 12.10 it appears to have resurfaced now with 13.04 i.e. post upgrade to 13.04 you still get the MOTD to upgrade.

I've tried the previous list of fixes for the same issue re move to 12.10 Upgrade 12.04.2 LTS to 12.10 do-release-upgrade fails - No new release found but they don't seem to work, i.e. there is no /var/lib/update-notifier/release-upgrade-available to remove.

share|improve this question
add comment

2 Answers

I just "touch" the file /var/lib/ubuntu-release-upgrader/release-upgrade-available

But don't know why this file will not refresh automatically.

share|improve this answer
    
Can you elaborate what you mean by "touch"? –  duxk.gh Apr 28 '13 at 9:42
1  
@duxk.gh either remove only the contents of the file; or do sudo su and then cd /var/lib/ubuntu-release-upgrader; rm release-upgrade-available; touch release-upgrade-available. –  Cetin Sert Apr 30 '13 at 0:07
4  
Just remove the file /var/lib/ubuntu-release-upgrader/release-upgrade-available, forget the touch (/etc/update-motd.d/91-release-upgrade will recreate it when needed). –  Will Daniels May 1 '13 at 11:40
add comment

In a similar situation I found that there is another file /run/motd.dynamic apart from /run/motd and the old message persisted /run/motd. Both are called by pam_motd which states that /run/motd is static.

# This includes a dynamically generated part from /run/motd.dynamic
# and a static (admin-editable) part from /etc/motd.

The solution was just to empty the static file:

echo -n "" | sudo tee /run/motd
share|improve this answer
add comment

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.