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.


2 Answers 2


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)

  • 21
    Why dist-upgrade before update? May 10, 2015 at 3:05
  • Try another order: update, upgrade, dist-upgrade and it makes no difference.
    – ThisClark
    Sep 26, 2016 at 1:57
  • 7
    This is really wrong. You only need to run upgrade or dist-upgrade, not both, and update always comes first. Oct 12, 2016 at 14:04
  • 4
    sudo apt-get dist-upgrade did it for me
    – Dimagog
    Nov 15, 2016 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, 2017 at 6:38

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

  • 1
    Its not working. Still 11 not upgraded.
    – qba47
    Oct 5, 2022 at 9:55

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