159

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.

142

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)

| improve this answer | |
  • 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
  • 3
    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
90

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

| improve this answer | |

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