138

This question already has an answer here:

I see the following message when I login:

29 packages can be updated.

6 updates are security updates.

How can I perform the updates?

I tried apt-get upgrade and some stuff was installed but the message still remains.

marked as duplicate by David Foerster, karel, Eric Carvalho, Zanna, Kevin Bowen Feb 7 '17 at 16:38

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • post the output of sudo apt-get -s upgrade – Avinash Raj Apr 17 '14 at 13:10
117

Try these commands (although the third one may not be necessary for you):

sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade

A reboot may or may not be necessary (sudo shutdown -r 0)

  • 18
    Why dist-upgrade before update? – Eliah Kagan May 10 '15 at 3:05
  • Try another order: update, upgrade, dist-upgrade and it makes no difference. – ThisClark Sep 26 '16 at 1:57
  • 6
    This is really wrong. You only need to run upgrade or dist-upgrade, not both, and update always comes first. – Reinier Post Oct 12 '16 at 14:04
  • 4
    sudo apt-get dist-upgrade did it for me – Dimagog Nov 15 '16 at 21:07
  • 1
    I'm running all these commands in every order and I think my computer is not on fire so we are good. – einnocent Dec 13 '17 at 6:38
86

When you ran apt-get upgrade, where there any "not upgraded"? Eg:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Looking at 0 not upgraded. If there were ones that were not upgraded, run apt-get dist-upgrade

Not the answer you're looking for? Browse other questions tagged or ask your own question.