3

Possible Duplicate:
What is “dist-upgrade” and why does it upgrade more than “upgrade”?

If I type sudo apt-get update && sudo apt-get upgrade I can only see that the kernel packages are kept back, and not installed. As the screenshot shows.

enter image description here

If I then start the update manager I can install the kernel, with no problems at all. As the second screenshot shows.

enter image description here

Why is this?

Alvar
  • 17,058

2 Answers2

3

This is the difference between upgrade and dist-upgrade. The first never install new packages.

enzotib
  • 93,831
  • doesn't dist-upgrade upgrade to a new distribution like 11.10? Because I have installed new kernel updates via the terminal before it only took a week more, before I could. – Alvar Nov 28 '11 at 20:32
  • @Alvar: absolutely no! One of the more misunderstood concepts – enzotib Nov 28 '11 at 20:35
  • Could you explain the differences so we know how to think/not think? – Alvar Nov 28 '11 at 20:37
  • @Alvar: see this question http://askubuntu.com/questions/81585/what-is-dist-upgrade-and-why-does-it-upgrade-more-than-upgrade, cannot write more from an android :) – enzotib Nov 28 '11 at 20:59
  • I add an explaining answer, since you couldn't :). – Alvar Nov 29 '11 at 18:44
2

This is why!

The kernel is a new package and not an upgrade of an old one, this is why you can't use the command upgrade that upgrades/updates packages. You need to use the command dist-upgrade to install new packages.

When you have updated to the new kernel you can run the old one as well. That's why it's a new package and not just a upgrade.

Alvar
  • 17,058