Quantcast
Browsing all 30 articles
Browse latest View live

Answer by QT-1 for "The following packages have been kept back:" Why and how...

This one line solves the issue automatically for me:sudo apt-get install --only-upgrade `sudo apt-get upgrade | awk 'BEGIN{flag=0} /The following packages have been kept back:/ { flag=1} /^ /{if (flag)...

View Article


Answer by mirekphd for "The following packages have been kept back:" Why and...

Some recently installed packages may require a reboot before new can be installed (and the latter are held back), e.g.:$ sudo apt list --upgradableListing......

View Article


Answer by Joe for "The following packages have been kept back:" Why and how...

This has been happening more since I upgraded to Ubuntu 22.04 jammy.The reason is usually phased updates. (Thanks to @louis-waweru for the link.)The solution is to ignore those "have been kept back"...

View Article

Answer by ross minet for "The following packages have been kept back:" Why...

Update/Upgrade not working[last answer]The kept-back packages (...) are currently in Phased Updates.Phased Updates is one precaution to prevent everybody from receiving a buggy package via upgrade:...

View Article

Answer by Vincent Gerris for "The following packages have been kept back:"...

I always run dist-upgrade on my dev laptop because I like latest and greatest, it is not do-release-upgrade which actually upgrades to a newer version,On ubuntu 22.04 I had this issue with both...

View Article


Answer by hlovdal for "The following packages have been kept back:" Why and...

While other answers have cautioned that apt dist-upgrade might remove programs, notice that you can just run the command and then answer "no" to the "Do you want to continue?" question in order to...

View Article

Answer by Ken Sharp for "The following packages have been kept back:" Why and...

Following a do-release-upgrade, your third-party or private repositories (such as PPAs) may be disabled. This can stop a package being updated because it can no longer find the dependencies it needs,...

View Article

Answer by bernie for "The following packages have been kept back:" Why and...

I'm adding this answer because I'm not satisfied with how other answers handle the why part of the question to understand what's going on and choose the appropriate course of action.Hopefully this will...

View Article


Answer by John McGehee for "The following packages have been kept back:" Why...

For me and several commenters on Pablo's answer,sudo apt-get --with-new-pkgs upgrade # No effecthad no effect. I do not care to have my package marked as manually installed, so I did the following,...

View Article


Answer by Ronald Johnson for "The following packages have been kept back:"...

The following packages have been kept back: clang-9 cpp g++ gcc gcc-10-base kali-linux-default lib32gcc-s1 lib32stdc++6 libatomic1 libcc1-0 libclang-common-9-dev libclang-cpp9 libgcc-s1 libgfortran5...

View Article

Answer by m00am for "The following packages have been kept back:" Why and how...

For the very specific flavour of this problem where the proprietary nvidia drivers are halfway updated to a new version, I reinstalled them using the driver manager. To give some context: I was stuck...

View Article

Answer by marc-medley for "The following packages have been kept back:" Why...

Ubuntu 18.04 LTS Bionic and newer Ubuntu versions … provide a streamlined syntax via apt full-upgrade which functions like apt-get dist-upgrade.sudo apt full-upgradesudo apt upgrade is used to install...

View Article

Image may be NSFW.
Clik here to view.

Answer by Vasyl Lyashkevych for "The following packages have been kept back:"...

I have read all the posts and found that there are many interesting explanations. I was trying all of them but have not any results completely.I have a problem with mysql-utilities which I couldn't...

View Article


Answer by Pablo Bianchi for "The following packages have been kept back:" Why...

I answered a similar question here, explaining a bit more about the reasons behind this issue.Try this Unix SE answer:sudo apt-get --with-new-pkgs upgradeThis allows new packages to be installed. It...

View Article

Answer by Stephan Henningsen for "The following packages have been kept...

This looks like the correct way to reinstall kept back package:apt-get install --reinstall libjpeg-progsAt least this worked for me when libjpeg-progs was stuck after upgrading from Ubuntu 14.04 to...

View Article


Answer by Elliptical view for "The following packages have been kept back:"...

I ran into this problem using synaptic because it appeared to hang, and to try and fix this I re-booted and tried again.SOLUTION: Then I discovered an informative message as part of the package with...

View Article

Answer by crysman for "The following packages have been kept back:" Why and...

In my case packages held back were those related to linux-headers and kernel. I came to this by trying to solve an issue with having a red exclamation mark in the notification area and not being able...

View Article


Answer by Afilu for "The following packages have been kept back:" Why and how...

You can also try aptitude. First install it:sudo apt-get install aptitude -ythen:sudo aptitude safe-upgradeIt's safer than full-upgrade (originally named dist-upgrade) because "packages will not be...

View Article

Answer by Singh for "The following packages have been kept back:" Why and how...

This worked for mesudo aptitude full-upgrade

View Article

Answer by John Lawrence Aspden for "The following packages have been kept...

This is usually because the package has added a dependency, and upgrade doesn't want to add it for you without permission.If you run:sudo apt-get install gimp gimp-data libgegl-0.0-0 libgimp2.0Then the...

View Article
Browsing all 30 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>