Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

How to upgrade bookwork kernel from backports

Ask for help with issues regarding the Installations of the Debian O/S.
Post Reply
Message
Author
klugja
Posts: 8
Joined: 2024-03-11 20:06

How to upgrade bookwork kernel from backports

#1 Post by klugja »

Given that my Debian system is running on bookworm, and backports is configured, what is the recommended method of upgrading the kernel from backports?

For instance, I see:

Code: Select all

$ sudo apt upgrade -t bookworm-backports linux-image-6.5*
Calculating upgrade... 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-6.5.0-0.deb12.4-amd64 : Conflicts: linux-image-6.5.0-0.deb12.4-amd64-unsigned but 6.5.10-1~bpo12+1 is to be installed
 linux-image-6.5.0-0.deb12.4-amd64-unsigned : Conflicts: linux-image-6.5.0-0.deb12.4-amd64 but 6.5.10-1~bpo12+1 is to be installed
 linux-image-6.5.0-0.deb12.4-cloud-amd64 : Conflicts: linux-image-6.5.0-0.deb12.4-cloud-amd64-unsigned but 6.5.10-1~bpo12+1 is to be installed
 linux-image-6.5.0-0.deb12.4-cloud-amd64-unsigned : Conflicts: linux-image-6.5.0-0.deb12.4-cloud-amd64 but 6.5.10-1~bpo12+1 is to be installed
I thought you could have two kernels installed simultaneously, but apparently no more?

CwF
Global Moderator
Global Moderator
Posts: 2719
Joined: 2018-06-20 15:16
Location: Colorado
Has thanked: 41 times
Been thanked: 201 times

Re: How to upgrade bookwork kernel from backports

#2 Post by CwF »

I would expect the stable linux-image metapackage is still installed, and is expecting to handle the choice. If you remove it, then all kernel choices are yours.

klugja
Posts: 8
Joined: 2024-03-11 20:06

Re:[SOLVED] How to upgrade bookwork kernel from backports

#3 Post by klugja »

I found that using the wildcard is good for getting the list of possible kernels, but you have to pick one to install.

Code: Select all

ii  linux-image-6.1.0-18-amd64                    6.1.76-1                             amd64        Linux 6.1 for 64-bit PCs (signed)
ii  linux-image-6.5.0-0.deb12.4-amd64             6.5.10-1~bpo12+1                     amd64        Linux 6.5 for 64-bit PCs (signed)
ii  linux-image-amd64                             6.1.76-1                             amd64        Linux for 64-bit PCs (meta-package)
So you cannot install all varieties of 6.5.0.
I did this and it worked:

Code: Select all

 sudo apt-get install linux-image-6.5.0-0.deb12.4-amd64

User avatar
sunrat
Administrator
Administrator
Posts: 6511
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 119 times
Been thanked: 489 times

Re: How to upgrade bookwork kernel from backports

#4 Post by sunrat »

You can use apt list to search for matching packages eg.:

Code: Select all

apt list linux-image-6.5*
You can run it as user, no need for privilege escalation.
Also it is advisable to install the matching linux-headers... package for your kernel.

And if you wish to have your backports kernel upgraded with regular system upgrades:

Code: Select all

apt install -t bookworm-backports linux-image-amd64 linux-headers-amd64
of course that will replace the stable version so your default stable kernel won't be upgraded automatically any more.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

Post Reply