Announcement

Collapse
No announcement yet.

[DON"T PANIC] Do you see "The following packages have been kept back" while updating with apt? You are OK. READ THIS!

Collapse
This is a sticky topic.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [SOLVED] [DON"T PANIC] Do you see "The following packages have been kept back" while updating with apt? You are OK. READ THIS!

    Are you constantly seeing something like this when updating on the command line?

    Code:
    The following packages have been kept back:
    libglib2.0-0 libglib2.0-bin libglib2.0-data ubuntu-advantage-tools
    0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.​
    Do NOT despair, my friends!
    All is not lost!!
    Nothing is likely broken!!!
    You ARE probably OK!!!!
    Your system is 99.9% perfectly fine!!!!!

    This is just the somewhat new feature that Debian added to apt for Phased updates, which Ubuntu started using in 21.10, and more prominently with 22.04.
    Certain updates are sent out more slowly, to a smaller number of random users, which eventually expand to wider numbers after some days.

    More background:
    https://discourse.ubuntu.com/t/phase...in-21-04/20345
    https://askubuntu.com/questions/1431...buntu-use-them

    A couple of ways to check the staus:
    apt policy packagename will show the phased status. Use the name(s) shown in the messaging.

    This page shows the packages being phased with some info: https://people.canonical.com/~ubuntu...d-updates.html

    Of course, held packages could happen for other reasons. If apt policy does not show something being phased, this is when you need to investigate the issue.


    If the packages are being phased, you can manually install them with apt if you are that impatient, like being the guinea pig, or just don't like the 'clutter' in your terminal.


    Last edited by claydoh; Apr 21, 2023, 05:22 AM.
Working...
X