Public bug reported:
Noticed while attempting to upgrade jammy linux-gcp 6.5 -> 6.8.
Typical upgrade flow for most users is to just use `apt upgrade` these
days, but this does not currently work due to a recommends on ubuntu-
kernel-accessories from linux-gcp. This seems to be the case for all
cloud-tuned kernels and linux-generic-hwe-22.04 as well.
There is no ubuntu-kernel-accessories in the jammy repo, so `apt
upgrade` will hold the kernel packages back. `apt full-upgrade` still
works.
--- Example. Top is evidence it works by excluding recommends (which is
only ubuntu-kernel-accessories), bottom is standard behavior ---
kyler_hornor@kyler-network:/etc/apt/apt.conf.d$ sudo apt -o
Debug::pkgDepCache::Marker=1 --no-install-recommends upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
MarkInstall linux-image-gcp:amd64 < 6.5.0.1025.27~22.04.1 ->
6.8.0-1015.17~22.04.1 @ii umU Ib > FU=0
MarkInstall linux-image-6.8.0-1015-gcp:amd64 < none ->
6.8.0-1015.17~22.04.1 @un uN Ib > FU=0
MarkInstall linux-modules-6.8.0-1015-gcp:amd64 < none ->
6.8.0-1015.17~22.04.1 @un uN > FU=0
MarkInstall linux-headers-gcp:amd64 < 6.5.0.1025.27~22.04.1 ->
6.8.0-1015.17~22.04.1 @ii umU Ib > FU=0
MarkInstall linux-headers-6.8.0-1015-gcp:amd64 < none ->
6.8.0-1015.17~22.04.1 @un uN Ib > FU=0
MarkInstall linux-gcp-6.8-headers-6.8.0-1015:amd64 < none ->
6.8.0-1015.17~22.04.1 @un uN > FU=0
Calculating upgrade... Done
The following NEW packages will be installed:
linux-gcp-6.8-headers-6.8.0-1015 linux-headers-6.8.0-1015-gcp
linux-image-6.8.0-1015-gcp linux-modules-6.8.0-1015-gcp
The following packages will be upgraded:
linux-gcp linux-headers-gcp linux-image-gcp
3 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
3 standard LTS security updates
Need to get 56.9 MB of archives.
After this operation, 266 MB of additional disk space will be used.
Do you want to continue? [Y/n] ^C
kyler_hornor@kyler-network:/etc/apt/apt.conf.d$ sudo apt -o
Debug::pkgDepCache::Marker=1 upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
MarkInstall linux-image-gcp:amd64 < 6.5.0.1025.27~22.04.1 ->
6.8.0-1015.17~22.04.1 @ii umU Ib > FU=0
MarkInstall linux-image-6.8.0-1015-gcp:amd64 < none ->
6.8.0-1015.17~22.04.1 @un uN Ib > FU=0
MarkInstall linux-modules-6.8.0-1015-gcp:amd64 < none ->
6.8.0-1015.17~22.04.1 @un uN > FU=0
MarkInstall linux-headers-gcp:amd64 < 6.5.0.1025.27~22.04.1 ->
6.8.0-1015.17~22.04.1 @ii umU Ib > FU=0
MarkInstall linux-headers-6.8.0-1015-gcp:amd64 < none ->
6.8.0-1015.17~22.04.1 @un uN Ib > FU=0
MarkInstall linux-gcp-6.8-headers-6.8.0-1015:amd64 < none ->
6.8.0-1015.17~22.04.1 @un uN > FU=0
MarkInstall linux-gcp:amd64 < 6.5.0.1025.27~22.04.1 -> 6.8.0-1015.17~22.04.1
@ii umU IPb > FU=0
MarkInstall linux-tools-6.8.0-1015-gcp:amd64 < none ->
6.8.0-1015.17~22.04.1 @un uN Ib > FU=0
MarkInstall linux-gcp-6.8-tools-6.8.0-1015:amd64 < none ->
6.8.0-1015.17~22.04.1 @un uN Ib > FU=0
MarkInstall libnuma1:amd64 < none -> 2.0.14-3ubuntu2 @un uN > FU=0
linux-gcp:amd64 Recommends on ubuntu-kernel-accessories:amd64 < none @un H
> can't be satisfied! (dep)
MarkKeep linux-gcp:amd64 < 6.5.0.1025.27~22.04.1 -> 6.8.0-1015.17~22.04.1 @ii
umU IPb > FU=0
MarkKeep linux-image-gcp:amd64 < 6.5.0.1025.27~22.04.1 ->
6.8.0-1015.17~22.04.1 @ii umU > FU=0
MarkKeep linux-headers-gcp:amd64 < 6.5.0.1025.27~22.04.1 ->
6.8.0-1015.17~22.04.1 @ii umU > FU=0
Calculating upgrade... Done
MarkDelete libnuma1:amd64 < none -> 2.0.14-3ubuntu2 @un ugN > FU=0
MarkDelete linux-gcp-6.8-headers-6.8.0-1015:amd64 < none ->
6.8.0-1015.17~22.04.1 @un ugN > FU=0
MarkDelete linux-gcp-6.8-tools-6.8.0-1015:amd64 < none ->
6.8.0-1015.17~22.04.1 @un ugN Ib > FU=0
MarkDelete linux-headers-6.8.0-1015-gcp:amd64 < none -> 6.8.0-1015.17~22.04.1
@un ugN Ib > FU=0
MarkDelete linux-image-6.8.0-1015-gcp:amd64 < none -> 6.8.0-1015.17~22.04.1
@un ugN > FU=0
MarkDelete linux-modules-6.8.0-1015-gcp:amd64 < none -> 6.8.0-1015.17~22.04.1
@un ugN > FU=0
MarkDelete linux-tools-6.8.0-1015-gcp:amd64 < none -> 6.8.0-1015.17~22.04.1
@un ugN Ib > FU=0
The following packages have been kept back:
linux-gcp linux-headers-gcp linux-image-gcp
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
** Affects: linux-gcp (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2081204
Title:
Jammy 6.8 kernel metas recommend non-existent ubuntu-kernel-
accessories
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-gcp/+bug/2081204/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs