Recently I updated my Ubuntu Server 12.04.2 to Ubuntu 13.04 when I noticed that the message of the day (MOTD) displaying in my console was telling me that an update was available and to Run ‘do-release-upgrade’
It seems the cause of this was /usr/lib/ubuntu-release-upgrader/release-upgrade-motd which is called by /etc/update-motd.d/91-release-upgrade which checks for the existence of the release-upgrade-motd file.
Removing this with rm /var/lib/ubuntu-release-upgrader/release-upgrade-available and rebooted and logged in again and the MOTD was normal as expected.
Steps to take:
- cd /var/lib/ubuntu-release-upgrader/
- rm release-upgrade-available