linux-headers package not being pulled in with linux-image-generic

Bug #2055162 reported by Walter Tautz

This bug report was marked for expiration 0 days ago. (find out why)

6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

linux-image-5.15.0-97-generic definitely exists in Ubuntu and it does not pull in the correct linux-header package which is required to rebuilt nvidia kernel modules.

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: ubiquity (not installed)
ProcVersionSignature: Ubuntu 5.15.0-97.107-generic 5.15.136
Uname: Linux 5.15.0-97-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: GNOME
Date: Tue Feb 27 08:29:48 2024
InstallCmdLine: BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/ubuntu.seed maybe-ubiquity quiet splash ---
InstallationDate: Installed on 2023-06-16 (256 days ago)
InstallationMedia: Ubuntu 22.04.2 LTS "Jammy Jellyfish" - Release amd64 (20230223)
ProcEnviron:
 LANGUAGE=en_CA:en
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: ubiquity
Symptom: installation
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Walter Tautz (wtautz) wrote :
affects: ubuntu → ubiquity (Ubuntu)
Revision history for this message
Steve Langasek (vorlon) wrote :

linux-headers-generic is not a dependency of linux-image-generic. It IS a dependency of linux-generic, which is what ubiquity installs. But any mismatches here are likely in the kernel dependencies, not the installer.

affects: ubiquity (Ubuntu) → linux (Ubuntu)
Revision history for this message
Juerg Haefliger (juergh) wrote :

> does not pull in the correct linux-header package

What is installed that you think is wrong? Can you post the relevant apt logs (/var/log/apt/{history,term}.log*)?

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Walter Tautz (wtautz) wrote : Re: [Bug 2055162] Re: linux-headers package not being pulled in with linux-image-generic
Download full text (3.9 KiB)

I had removed the linux-generic package in the past since, presumably, it
is "optional". I have made a point of reinstalling it. Hopefully this will
correct the issue where
I had to install the correct header package AFTER the kernel package had
been updated. Unfortunately this causes the nvidia kernel module to be not
available which,
of course, prevents gnome from launching. I would suggest that you find a
way to force the linux-generic package to be required and warn people that
removing it
will remove it's dependencies also. As soon as the header package was
installed dkms immediately started building and the desktop started.

==============================
apt show linux-generic
Package: linux-generic
Version: 5.15.0.97.92
Priority: optional
Section: kernel
Source: linux-meta
Origin: Ubuntu
Maintainer: Ubuntu Kernel Team <email address hidden>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 21.5 kB
Provides: kernel-testing--linux--full--generic,
kernel-testing--linux--full--preferred
Depends: linux-image-generic (= 5.15.0.97.92), linux-headers-generic (=
5.15.0.97.92)
Download-Size: 1,696 B
APT-Manual-Installed: yes
APT-Sources: http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64
Packages
Description: Complete Generic Linux kernel and headers
 This package will always depend on the latest complete generic Linux kernel
 and headers.

--------------------------------------------------------------
 Roger Federer Fanatic Extraordinaire :-)

On Wed, 28 Feb 2024 at 03:35, Juerg Haefliger <email address hidden>
wrote:

> > does not pull in the correct linux-header package
>
> What is installed that you think is wrong? Can you post the relevant apt
> logs (/var/log/apt/{history,term}.log*)?
>
>
> ** Changed in: linux (Ubuntu)
> Status: New => Incomplete
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/2055162
>
> Title:
> linux-headers package not being pulled in with linux-image-generic
>
> Status in linux package in Ubuntu:
> Incomplete
>
> Bug description:
> linux-image-5.15.0-97-generic definitely exists in Ubuntu and it does
> not pull in the correct linux-header package which is required to
> rebuilt nvidia kernel modules.
>
> ProblemType: Bug
> DistroRelease: Ubuntu 22.04
> Package: ubiquity (not installed)
> ProcVersionSignature: Ubuntu 5.15.0-97.107-generic 5.15.136
> Uname: Linux 5.15.0-97-generic x86_64
> NonfreeKernelModules: nvidia_modeset nvidia zfs zunicode zavl icp
> zcommon znvpair
> ApportVersion: 2.20.11-0ubuntu82.5
> Architecture: amd64
> CasperMD5CheckResult: pass
> CurrentDesktop: GNOME
> Date: Tue Feb 27 08:29:48 2024
> InstallCmdLine: BOOT_IMAGE=/casper/vmlinuz
> file=/cdrom/preseed/ubuntu.seed maybe-ubiquity quiet splash ---
> InstallationDate: Installed on 2023-06-16 (256 days ago)
> InstallationMedia: Ubuntu 22.04.2 LTS "Jammy Jellyfish" - Release amd64
> (20230223)
> ProcEnviron:
> LANGUAGE=en_CA:en
> PATH=(custom, no user)
> XDG_RUNTIME_DIR=<set>
> LANG=en_US.UTF-8
> SHELL=/bin/bash
> SourcePackage: ubiquity
> Symptom: installatio...

Read more...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.