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?

2
  • Maybe you can with aptitude.
    – Anonymous
    Nov 28, 2011 at 22:27
  • askubuntu.com/q/81585/10698 THis question covers the same grounds and will produce the same answer. This is a dupe, but a good one.
    – Alvar
    Nov 29, 2011 at 6:57

2 Answers 2

3

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

5
  • 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, 2011 at 20:32
  • @Alvar: absolutely no! One of the more misunderstood concepts
    – enzotib
    Nov 28, 2011 at 20:35
  • Could you explain the differences so we know how to think/not think?
    – Alvar
    Nov 28, 2011 at 20:37
  • @Alvar: see this question askubuntu.com/questions/81585/…, cannot write more from an android :)
    – enzotib
    Nov 28, 2011 at 20:59
  • I add an explaining answer, since you couldn't :).
    – Alvar
    Nov 29, 2011 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.

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