Results 1 to 6 of 6

Thread: Don't understand message in Terminal

  1. #1
    Join Date
    Jun 2012
    Location
    Scotland
    Beans
    154
    Distro
    Ubuntu 16.04 Xenial Xerus

    Don't understand message in Terminal

    I have a very basic machine running headless. OS is Ubuntu 20.04.3.

    I log in via Terminal on an iMac to see if there are any updates to the OS.The confusion I refer to comprises these two parts from the Terminal window :

    8 updates can be applied immediately.
    8 of these updates are standard security updates.

    But when I use the command 'sudo apt-get upgrade' I get the following :

    The following packages have been kept back:
    linux-generic linux-headers-generic linux-image-generic
    0 to upgrade, 0 to newly install, 0 to remove and 3 not to upgrade.

    If 8 out of 8 updates are security updates and can be applied immediately, why is there the apparent contradiction '0 to upgrade …' and ' … 3 not to upgrade.'?

    Be aware - I have virtually no expertise in these matters and simply need to keep the Ubuntu system up and running without hitch. I use it to take part in the Folding at Home project. This machine, with Ubuntu installed, has been processing FAH work units since 2012.

    Thanks in advance for any enlightenment.

  2. #2
    Join Date
    May 2010
    Beans
    1,697

    Re: Don't understand message in Terminal

    Try
    Code:
    sudo apt-get update
    sudo apt-get dist-upgrade

  3. #3
    Join Date
    Jun 2019
    Location
    Dirndl-land
    Beans
    872
    Distro
    Lubuntu 20.04 Focal Fossa

    Re: Don't understand message in Terminal

    First you need to get the upgrades.
    Then you need to run the upgrades.

    Code:
    sudo apt update
    sudo apt upgrade

  4. #4
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    12,299
    Distro
    Ubuntu

    Re: Don't understand message in Terminal

    The command
    Code:
    sudo apt-get upgrade
    does not install new packages.

    Running the command ActionParsnip posted,
    Code:
    sudo apt-get dist-upgrade
    command will install new packages.

    The linux-generic packages listed need to install new packages in order to completely satisfy the update.
    This is because the linux-generic packages are dependent on the latest kernels available.

    (If you run the dist-upgrade command it should output more info about what new packages will be installed.
    Probably with names like linux-image-5.4.0-123-generic or something like that.
    Those numbered strings package represent completely new packages.)
    Splat Double Splat Triple Splat
    Earn Your Keep
    Don't mind me, I'm only passing through.
    Once in a blue moon, I'm actually helpful
    .

  5. #5
    Join Date
    Jun 2012
    Location
    Scotland
    Beans
    154
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Don't understand message in Terminal

    Thanks ActionParsnip 'apt-get dist-upgrade' did the trick. I'd just been using 'apt-get upgrade'.

  6. #6
    Join Date
    Jun 2012
    Location
    Scotland
    Beans
    154
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Don't understand message in Terminal

    And thanks for that explanation, dead flower. No wonder I was stalling things.

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
  •