First I do
sudo apt-get update.
Now, when I get the MOTD (Message of the Day) by doing
/usr/lib/update-notifier/apt-check --human-readable, the output I get is:
18 updates can be applied immediately. 9 of these updates are standard security updates. To see these additional updates run: apt list --upgradable
However, when I do
sudo apt list --upgradable, the output is a list of 21 packages, not the expected 18.
I have two questions:
- Can someone explain this discrepancy?
- How do I get the names of the 18 packages referenced by the MOTD?