After pointing /boot/{initrd.img,vmlinuz} back to 6.2.0-27 and rebooting the 
software-updater wanted to remove the 6.2.0-31 kernel (done) and I catched the 
above log.
Indeed the /lib/modules/6.2.0-32-generic/build symlink and hence the 
~/scripts/sign-file is missing.
And indeed the linux-headers-6.2.0-32-generic package is missing.  
As recommended I installed that package, which resolved the problem.
:D
-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/2034256

Title:
  package linux-image-6.2.0-32-generic 6.2.0-32.32 failed to
  install/upgrade: run-parts: /etc/kernel/postinst.d/dkms exited with
  return code 11

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  See also #2033371
  =================
  Kernel 6.2.0-27 running -- kernel 6.2.0-31 installed but inoperable
  Upgrading to kernel 6.2.0-32.32 fails:
  (Reading database ... 209096 files and directories currently installed.)
  Purging configuration files for linux-modules-6.2.0-31-generic (6.2.0-31.31) 
...
  Purging configuration files for linux-modules-nvidia-535-6.2.0-31-generic 
(6.2.0-31.31) ...
  Purging configuration files for linux-image-6.2.0-31-generic (6.2.0-31.31) ...
  Purging configuration files for linux-objects-nvidia-535-6.2.0-31-generic 
(6.2.0-31.31) ...
  Purging configuration files for linux-modules-extra-6.2.0-31-generic 
(6.2.0-31.31) ...
  Processing triggers for linux-image-6.2.0-32-generic (6.2.0-32.32) ...
  /etc/kernel/postinst.d/dkms:
   * dkms: running auto installation service for kernel 6.2.0-32-generic
  Sign command: /lib/modules/6.2.0-32-generic/build/scripts/sign-file
  Binary /lib/modules/6.2.0-32-generic/build/scripts/sign-file not found, 
modules won't be signed
  Error! Your kernel headers for kernel 6.2.0-32-generic cannot be found at 
/lib/modules/6.2.0-32-generic/build or /lib/modules/6.2.0-32-generic/source.
  Please install the linux-headers-6.2.0-32-generic package or use the 
--kernelsourcedir option to tell DKMS where it's located.
  dkms autoinstall on 6.2.0-32-generic/x86_64 failed for zfs(1)
  Error! One or more modules failed to install during autoinstall.
  Refer to previous errors for more information.
   * dkms: autoinstall for kernel 6.2.0-32-generic
     ...fail!
  run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
  dpkg: error processing package linux-image-6.2.0-32-generic (--configure):
   installed linux-image-6.2.0-32-generic package post-installation script 
subprocess returned error exit status 1
  Errors were encountered while processing:
   linux-image-6.2.0-32-generic
  E: Sub-process /usr/bin/dpkg returned an error code (1)
  A package failed to install.  Trying to recover:
  Setting up linux-image-6.2.0-32-generic (6.2.0-32.32) ...
  I: /boot/initrd.img.old is now a symlink to initrd.img-6.2.0-32-generic
  Processing triggers for linux-image-6.2.0-32-generic (6.2.0-32.32) ...
  /etc/kernel/postinst.d/dkms:
   * dkms: running auto installation service for kernel 6.2.0-32-generic
  Sign command: /lib/modules/6.2.0-32-generic/build/scripts/sign-file
  Binary /lib/modules/6.2.0-32-generic/build/scripts/sign-file not found, 
modules won't be signed
  Error! Your kernel headers for kernel 6.2.0-32-generic cannot be found at 
/lib/modules/6.2.0-32-generic/build or /lib/modules/6.2.0-32-generic/source.
  Please install the linux-headers-6.2.0-32-generic package or use the 
--kernelsourcedir option to tell DKMS where it's located.
  dkms autoinstall on 6.2.0-32-generic/x86_64 failed for zfs(1)
  Error! One or more modules failed to install during autoinstall.
  Refer to previous errors for more information.
   * dkms: autoinstall for kernel 6.2.0-32-generic
     ...fail!
  run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
  dpkg: error processing package linux-image-6.2.0-32-generic (--configure):
   installed linux-image-6.2.0-32-generic package post-installation script 
subprocess returned error exit status 1
  Errors were encountered while processing:
   linux-image-6.2.0-32-generic

  ProblemType: Bug
  DistroRelease: Ubuntu 23.04
  Package: linux-image-6.2.0-32-generic 6.2.0-32.32
  ProcVersionSignature: Ubuntu 6.2.0-32.32-generic 6.2.16
  Uname: Linux 6.2.0-32-generic x86_64
  ApportVersion: 2.26.1-0ubuntu2
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC1:  burdi01    5159 F.... wireplumber
   /dev/snd/controlC0:  burdi01    5159 F.... wireplumber
   /dev/snd/seq:        burdi01    5157 F.... pipewire
  CasperMD5CheckResult: unknown
  CurrentDesktop: XFCE
  Date: Tue Sep  5 16:23:11 2023
  HibernationDevice: RESUME=none
  IwConfig:
   lo        no wireless extensions.
   
   enp39s0   no wireless extensions.
  MachineType: Micro-Star International Co., Ltd. MS-7C35
  ProcFB: 0 amdgpudrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz root=/dev/nvme0n1p10 ro pci=noaer
  PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No 
PulseAudio daemon running, or not running as session daemon.
  RelatedPackageVersions:
   linux-restricted-modules-6.2.0-32-generic N/A
   linux-backports-modules-6.2.0-32-generic  N/A
   linux-firmware                            20230323.gitbcdcfbcf-0ubuntu1.6
  RfKill:
   0: hci0: Bluetooth
        Soft blocked: yes
        Hard blocked: no
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 01/16/2020
  dmi.bios.release: 5.14
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: A.30
  dmi.board.asset.tag: To be filled by O.E.M.
  dmi.board.name: MEG X570 UNIFY (MS-7C35)
  dmi.board.vendor: Micro-Star International Co., Ltd.
  dmi.board.version: 2.0
  dmi.chassis.asset.tag: To be filled by O.E.M.
  dmi.chassis.type: 3
  dmi.chassis.vendor: Micro-Star International Co., Ltd.
  dmi.chassis.version: 2.0
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvrA.30:bd01/16/2020:br5.14:svnMicro-StarInternationalCo.,Ltd.:pnMS-7C35:pvr2.0:rvnMicro-StarInternationalCo.,Ltd.:rnMEGX570UNIFY(MS-7C35):rvr2.0:cvnMicro-StarInternationalCo.,Ltd.:ct3:cvr2.0:skuTobefilledbyO.E.M.:
  dmi.product.family: To be filled by O.E.M.
  dmi.product.name: MS-7C35
  dmi.product.sku: To be filled by O.E.M.
  dmi.product.version: 2.0
  dmi.sys.vendor: Micro-Star International Co., Ltd.

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


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to