Hi Juerg, good day,

The problem was caused via the following package. The package was not 
regenerating the kernel module with the upgrade. So, my remediation was 
to remove it from my installation:

intel-i915-dkms

I had had recently the same error with this particular package. After I 
removed it, the upgrade went just fine.

Thanks for your support.


Kind regards,

Nelson Fonseca


On 11/22/23 02:40, Juerg Haefliger wrote:
> You have a broken DKMS installation that prevents kernel header package
> installation.
>
> ** Changed in: linux-hwe-6.2 (Ubuntu)
>         Status: New => Invalid
>

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-hwe-6.2 in Ubuntu.
https://bugs.launchpad.net/bugs/2044153

Title:
  package linux-headers-6.2.0-37-generic 6.2.0-37.38~22.04.1 failed to
  install/upgrade: installed linux-headers-6.2.0-37-generic package
  post-installation script subprocess returned error exit status 1

Status in linux-hwe-6.2 package in Ubuntu:
  Invalid

Bug description:
  Setting up linux-headers-6.2.0-37-generic (6.2.0-37.38~22.04.1) ...
  /etc/kernel/header_postinst.d/dkms:
   * dkms: running auto installation service for kernel 6.2.0-37-generic
  Error! Could not locate dkms.conf file.
  File: /var/lib/dkms/intel-i915-dkms.bak/1.23.7.17.230608.24/source/dkms.conf 
does not exist.
     ...fail!
  run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 4
  dpkg: error processing package linux-headers-6.2.0-37-generic (--configure):
   installed linux-headers-6.2.0-37-generic package post-installation script 
subprocess returned error exit status 1
  dpkg: dependency problems prevent configuration of 
linux-headers-generic-hwe-22.04:
   linux-headers-generic-hwe-22.04 depends on linux-headers-6.2.0-37-generic; 
however:
    Package linux-headers-6.2.0-37-generic is not configured yet.

  dpkg: error processing package linux-headers-generic-hwe-22.04 (--configure):
   dependency problems - leaving unconfigured
  Setting up linux-image-generic-hwe-22.04 (6.2.0.37.38~22.04.15) ...
  No apport report written because the error message indicates its a followup 
error from a previous failure.
                                                                                
                            dpkg: dependency problems prevent configuration of 
linux-generic-hwe-22.04:
   linux-generic-hwe-22.04 depends on linux-headers-generic-hwe-22.04 (= 
6.2.0.37.38~22.04.15); however:
    Package linux-headers-generic-hwe-22.04 is not configured yet.

  dpkg: error processing package linux-generic-hwe-22.04 (--configure):
   dependency problems - leaving unconfigured
  Processing triggers for hicolor-icon-theme (0.17-2) ...
  No apport report written because the error message indicates its a followup 
error from a previous failure.
                                                                                
                            Processing triggers for gnome-menus 
(3.36.0-1ubuntu3) ...
  Processing triggers for libc-bin (2.35-0ubuntu3.4) ...
  Processing triggers for man-db (2.10.2-1) ...
  Processing triggers for dbus (1.12.20-2ubuntu4.1) ...
  Processing triggers for mailcap (3.70+nmu1ubuntu1) ...
  Processing triggers for desktop-file-utils (0.26-1ubuntu3) ...
  Processing triggers for linux-image-6.2.0-37-generic (6.2.0-37.38~22.04.1) ...
  /etc/kernel/postinst.d/dkms:
   * dkms: running auto installation service for kernel 6.2.0-37-generic
  Error! Could not locate dkms.conf file.
  File: /var/lib/dkms/intel-i915-dkms.bak/1.23.7.17.230608.24/source/dkms.conf 
does not exist.
     ...fail!
  run-parts: /etc/kernel/postinst.d/dkms exited with return code 4
  dpkg: error processing package linux-image-6.2.0-37-generic (--configure):
   installed linux-image-6.2.0-37-generic package post-installation script 
subprocess returned error exit status 1
  No apport report written because MaxReports is reached already
                                                                Errors were 
encountered while processing:
   linux-headers-6.2.0-37-generic
   linux-headers-generic-hwe-22.04
   linux-generic-hwe-22.04
   linux-image-6.2.0-37-generic
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  ProblemType: Package
  DistroRelease: Ubuntu 22.04
  Package: linux-headers-6.2.0-37-generic 6.2.0-37.38~22.04.1
  ProcVersionSignature: Ubuntu 6.2.0-36.37~22.04.1-generic 6.2.16
  Uname: Linux 6.2.0-36-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.11-0ubuntu82.5
  Architecture: amd64
  CasperMD5CheckResult: pass
  Date: Tue Nov 21 11:04:17 2023
  ErrorMessage: installed linux-headers-6.2.0-37-generic package 
post-installation script subprocess returned error exit status 1
  InstallationDate: Installed on 2023-10-28 (23 days ago)
  InstallationMedia: Ubuntu 22.04.3 LTS "Jammy Jellyfish" - Release amd64 
(20230807.2)
  Python3Details: /usr/bin/python3.10, Python 3.10.12, python3-minimal, 
3.10.6-1~22.04
  PythonDetails: N/A
  RelatedPackageVersions:
   dpkg 1.21.1ubuntu2.2
   apt  2.4.11
  SourcePackage: linux-hwe-6.2
  Title: package linux-headers-6.2.0-37-generic 6.2.0-37.38~22.04.1 failed to 
install/upgrade: installed linux-headers-6.2.0-37-generic package 
post-installation script subprocess returned error exit status 1
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-hwe-6.2/+bug/2044153/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to