[SOLVED] Backport kernel being held back on Buster
DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
"Kept back" usually means that installing it will require something else to be removed, probably the kernel that preceded your current one. apt upgrade will install extra packages when required but it won't uninstall anything. You could try looking at it in synaptic, which tells you if it wants to remove something.
"Kept back" usually means that installing it will require something else to be removed, probably the kernel that preceded your current one. apt upgrade will install extra packages when required but it won't uninstall anything. You could try looking at it in synaptic, which tells you if it wants to remove something.
Hi hazel.
I click upgrade on the linux-image-amd64 package and it turns red [see image]. Also, this was in a message box:
Code:
E: Unable to correct problems, you have held broken packages.
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies
E: Unable to correct problems, you have held broken packages.
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies
E: Unable to lock the list directory
I wonder if this issue will resolve itself in time - i.e. with a newer kernel?
The following packages have been kept back: linux-image-amd64
when I run:
Code:
sudo apt update && sudo apt upgrade
I'm stuck on kernel, 5.4.0-0.bpo.4-amd64. Can this be solved?
I have a virtual machine instance of Buster and it's on kernel, 5.6.0.0.bpo.2-amd64. It get's no 'kept back' warning when I update it.
Thanks.
I had that a few days ago try apt -s install linux-image-amd64 to simulate installing just the image package. It should then try to install the packages needed in addition to one mentioned, or it did on my system, remove the -s to install. Make sure to do another update before trying to install and hopefully it want to update grub as well so it does not install the packages of it that will brick the system.
@OP. Then I don't see any problems. Have you tried sudo apt full-upgrade?
Yes, tried that a while back.
Code:
sudo apt full-upgrade
Code:
[sudo] password for XYZ:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
linux-image-amd64
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded
I had that a few days ago try apt -s install linux-image-amd64 to simulate installing just the image package. It should then try to install the packages needed in addition to one mentioned, or it did on my system, remove the -s to install. Make sure to do another update before trying to install and hopefully it want to update grub as well so it does not install the packages of it that will brick the system.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
linux-image-amd64 : Depends: linux-image-5.6.0-0.bpo.2-amd64 (= 5.6.14-2~bpo10+1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Ah, sorry. I don't know what release is it for backports. apt policy linux-image-amd64 should show it. I updated my previous post, but this is only a guess.
Ah, sorry. I don't know what release is it for backports. apt policy linux-image-amd64 should show it. I updated my previous post, but this is only a guess.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.