I just performed a do-release-upgrade to bring a server from 12.04 to 14.04. The server rebooted at the end of the upgrade. However, when I log in, I am greeted by a contradictory MotD:
Welcome to Ubuntu 14.04.5 LTS (GNU/Linux 3.13.0-117-generic x86_64)
- Documentation: https://help.ubuntu.com/
New release '16.04.2 LTS' available. Run 'do-release-upgrade' to upgrade to it.
This Ubuntu 12.04 LTS system is past its End of Life, and is no longer receiving security updates. To protect the integrity of this system, it’s critical that you enable Extended Security Maintenance updates: * https://www.ubuntu.com/esm
/var/lib/ubuntu-release-upgrader/release-upgrade-available only contains the 16.04.2 message (referenced in related question After do-release-upgrade to 13.04 from 12.10 I still get informed about 13.04 on log-in via MOTD)
I deleted /run/motd.dynamic so that it would regenerate, but this message has more lives than The Doctor and it must be coming from somewhere else that was not cleaned up in the release upgrade process.