Results 1 to 3 of 3

Thread: Q re: packages to be updated/security updates

  1. #1
    Join Date
    Jun 2007
    Location
    San Diego, CA
    Beans
    20

    Q re: packages to be updated/security updates

    Whenever I login to my ubuntu server, I see:

    5 packages can be updated.
    10 updates are security updates.

    So I sudo apt-get upgrade, but then see:

    The following packages have been kept back:
    linux-image-server linux-restricted-modules-server linux-server
    0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.

    And but so nothing is ever updated. Why are these packages kept back, and why does it tell me there are packages to be updated when it doesn't want to seem to update anything?

    thanks!

  2. #2
    Join Date
    Jan 2008
    Beans
    15

    Re: Q re: packages to be updated/security updates

    Kept back means that there are some other installed packages that depend upon the program (in your case the kernel). It will not be updated because doing so can make the other programs stop working.

    Apt is more focused on not breaking anything so it is not to aggressive in trying to resolve these conflicts. You should have aptitude installed by default. Aptitude basically does the same thing as apt except it works a bit harder to try to offer suggestions to resolve these types of conflicts.

    At least in my experience, aptitude will usually fix a kept back kernel. The usage is pretty much the same:

    sudo aptitude update
    sudo aptitude upgrade

  3. #3
    Join Date
    Nov 2005
    Location
    Bordeaux, France
    Beans
    11,297
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Q re: packages to be updated/security updates

    「明後日の夕方には帰ってるからね。」


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •