My question is related to Ubuntu tells me I have packages to upgrade when I don't, which pertains to Ubuntu 10.04. But my problem is with Ubuntu 12.04.2LTS (and the solutions mentioned for 10.04 do not work).
Based on what I learned from that question, and related questions on ServerFault (also with unhelpful answers), I have tried running /usr/lib/update-notifier/apt-check --human-readable
, but it returns wrong information (the same information which gets added automatically to /etc/motd
and displayed at every login via ssh):
6 packages can be updated.
6 updates are security updates.
Just today I ran sudo apt-get update && sudo apt-get upgrade
and there was one regular update available (plus 3 kernel packages, which were held back). But my update and upgrade did not change the output of apt-check
. I have been having this problem for a while and just decided to look into it today.
For 10.04, I have seen fixes related to /etc/motd.tail
, but no such file exists on my system.