5

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 https://askubuntu.com/questions/253844/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.

Matt Bashton
  • 365
  • 1
  • 3
  • 12

2 Answers2

3

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

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

Henry
  • 31
  • 1
  • Can you elaborate what you mean by "touch"? – duxk.gh Apr 28 '13 at 09: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 00: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 01 '13 at 11:40
0

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
jnas
  • 468