You have an unsupported DKMS module (system76_acpi) installed that fails to compile for kernel 6.2 which results in the upgrade failure. Please remove that DKMS and retry the upgrade again.
$ dkms remove system76_acpi/1.0.2~1659568831~22.10~a88dcce~dev --all ** Changed in: linux (Ubuntu) Status: Confirmed => Invalid -- 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/2020247 Title: package linux-headers-6.2.0-20-generic 6.2.0-20.20 failed to install/upgrade: installed linux-headers-6.2.0-20-generic package post-installation script subprocess returned error exit status 1 Status in linux package in Ubuntu: Invalid Bug description: Setting up libebackend-1.2-11:amd64 (3.48.1-0ubuntu1) ... Setting up libedata-cal-2.0-2:amd64 (3.48.1-0ubuntu1) ... Setting up libedata-book-1.2-27:amd64 (3.48.1-0ubuntu1) ... Setting up libebook-1.2-21:amd64 (3.48.1-0ubuntu1) ... Setting up evolution-data-server (3.48.1-0ubuntu1) ... Processing triggers for ca-certificates-java (20230103ubuntu1) ... done. Setting up openjdk-11-jre:amd64 (11.0.19+7~us1-0ubuntu1~23.04) ... Setting up openjdk-11-jdk-headless:amd64 (11.0.19+7~us1-0ubuntu1~23.04) ... Setting up openjdk-17-jdk-headless:amd64 (17.0.7+7~us1-0ubuntu1~23.04) ... Setting up openjdk-11-jdk:amd64 (11.0.19+7~us1-0ubuntu1~23.04) ... Setting up openjdk-17-jre:amd64 (17.0.7+7~us1-0ubuntu1~23.04) ... Setting up openjdk-17-jdk:amd64 (17.0.7+7~us1-0ubuntu1~23.04) ... Processing triggers for linux-image-6.2.0-20-generic (6.2.0-20.20) ... /etc/kernel/postinst.d/dkms: * dkms: running auto installation service for kernel 6.2.0-20-generic Sign command: /usr/bin/kmodsign Signing key: /var/lib/shim-signed/mok/MOK.priv Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der Building module: Cleaning build area... make -j16 KERNELRELEASE=6.2.0-20-generic -C /lib/modules/6.2.0-20-generic/build M=/var/lib/dkms/system76_acpi/1.0.2~1659568831~22.10~a88dcce~dev/build...(bad exit status: 2) ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/system76-acpi-dkms.0.crash' Error! Bad return status for module build on kernel: 6.2.0-20-generic (x86_64) Consult /var/lib/dkms/system76_acpi/1.0.2~1659568831~22.10~a88dcce~dev/build/make.log for more information. Error! One or more modules failed to install during autoinstall. Refer to previous errors for more information. ...fail! run-parts: /etc/kernel/postinst.d/dkms exited with return code 11 dpkg: error processing package linux-image-6.2.0-20-generic (--configure): installed linux-image-6.2.0-20-generic package post-installation script subprocess returned error exit status 1 No apport report written because MaxReports is reached already Processing triggers for libc-bin (2.37-0ubuntu2) ... Errors were encountered while processing: linux-headers-6.2.0-20-generic linux-headers-generic linux-headers-generic-hwe-22.04 linux-generic-hwe-22.04 linux-generic linux-image-6.2.0-20-generic E: Sub-process /usr/bin/dpkg returned an error code (1) ProblemType: Package DistroRelease: Ubuntu 23.04 Package: linux-headers-6.2.0-20-generic 6.2.0-20.20 ProcVersionSignature: Ubuntu 5.19.0-41.42-generic 5.19.17 Uname: Linux 5.19.0-41-generic x86_64 NonfreeKernelModules: nvidia_modeset nvidia ApportVersion: 2.26.1-0ubuntu2 Architecture: amd64 AudioDevicesInUse: USER PID ACCESS COMMAND /dev/snd/controlC0: gopalkunda 2713 F.... wireplumber /dev/snd/controlC1: gopalkunda 2713 F.... wireplumber /dev/snd/seq: gopalkunda 2709 F.... pipewire CRDA: N/A CasperMD5CheckResult: pass Date: Sun May 21 00:55:14 2023 ErrorMessage: installed linux-headers-6.2.0-20-generic package post-installation script subprocess returned error exit status 1 InstallationDate: Installed on 2022-12-11 (160 days ago) InstallationMedia: Ubuntu 22.10 "Kinetic Kudu" - Release amd64 (20221020) Lsusb: Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 003: ID 04f2:b685 Chicony Electronics Co., Ltd Chicony USB2.0 Camera Bus 001 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver Bus 001 Device 004: ID 8087:0026 Intel Corp. AX201 Bluetooth Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub MachineType: System76 Gazelle ProcFB: 0 i915drmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.19.0-41-generic root=UUID=4c4a0532-bff0-470a-a96b-7250de189f97 ro nouveau.modeset=0 quiet splash i8042.nomux Python3Details: /usr/bin/python3.11, Python 3.11.2, python3-minimal, 3.11.2-1 PythonDetails: N/A RebootRequiredPkgs: Error: path contained symlinks. RelatedPackageVersions: grub-pc 2.06-2ubuntu16 SourcePackage: linux Title: package linux-headers-6.2.0-20-generic 6.2.0-20.20 failed to install/upgrade: installed linux-headers-6.2.0-20-generic package post-installation script subprocess returned error exit status 1 UpgradeStatus: Upgraded to lunar on 2023-05-08 (12 days ago) dmi.bios.date: 12/02/2020 dmi.bios.release: 7.11 dmi.bios.vendor: INSYDE Corp. dmi.bios.version: 1.07.11a dmi.board.asset.tag: Tag 12345 dmi.board.name: Gazelle dmi.board.vendor: System76 dmi.board.version: gaze15 dmi.chassis.asset.tag: No Asset Tag dmi.chassis.type: 10 dmi.chassis.vendor: System76 dmi.chassis.version: gaze15 dmi.ec.firmware.release: 7.3 dmi.modalias: dmi:bvnINSYDECorp.:bvr1.07.11a:bd12/02/2020:br7.11:efr7.3:svnSystem76:pnGazelle:pvrgaze15:rvnSystem76:rnGazelle:rvrgaze15:cvnSystem76:ct10:cvrgaze15:skuNotApplicable: dmi.product.family: Not Applicable dmi.product.name: Gazelle dmi.product.sku: Not Applicable dmi.product.version: gaze15 dmi.sys.vendor: System76 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2020247/+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