You have an unsupported DKMS module installed which breaks the kernel header package installation. Please remove it:
$ dkms remove 8192cu/1.11 ** Changed in: linux (Ubuntu) Status: New => 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/2062452 Title: package linux-headers-6.5.0-28-generic 6.5.0-28.29 failed to install/upgrade: installed linux-headers-6.5.0-28-generic package post-installation script subprocess returned error exit status 1 Status in linux package in Ubuntu: Invalid Bug description: linux-headers-6.5.0-27-generic linux-headers-6.5.0-28-generic linux-headers-generic-hwe-22.04 linux-generic-hwe-22.04 linux-headers-generic linux-image-6.5.0-27-generic linux-image-6.5.0-28-generic E: Sub-process /usr/bin/dpkg returned an error code (1) ProblemType: Package DistroRelease: Ubuntu 23.10 Package: linux-headers-6.5.0-28-generic 6.5.0-28.29 ProcVersionSignature: Ubuntu 6.5.0-26.26-generic 6.5.13 Uname: Linux 6.5.0-26-generic x86_64 ApportVersion: 2.27.0-0ubuntu5 Architecture: amd64 AudioDevicesInUse: USER PID ACCESS COMMAND /dev/snd/controlC0: talha-g 1584 F.... wireplumber /dev/snd/seq: talha-g 1580 F.... pipewire CasperMD5CheckResult: pass Date: Fri Apr 19 07:46:04 2024 ErrorMessage: installed linux-headers-6.5.0-28-generic package post-installation script subprocess returned error exit status 1 InstallationDate: Installed on 2024-03-19 (31 days ago) InstallationMedia: Ubuntu 23.10.1 "Mantic Minotaur" - Release amd64 (20231016.1) MachineType: {report['dmi.sys.vendor']} {report['dmi.product.name']} ProcFB: 0 i915drmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.5.0-26-generic root=UUID=a09c8968-b5f7-4fe1-a194-4150a0ca843e ro quiet splash vt.handoff=7 Python3Details: /usr/bin/python3.11, Python 3.11.6, python3-minimal, 3.11.4-5 PythonDetails: N/A RebootRequiredPkgs: Error: path contained symlinks. RelatedPackageVersions: grub-pc N/A SourcePackage: linux Title: package linux-headers-6.5.0-28-generic 6.5.0-28.29 failed to install/upgrade: installed linux-headers-6.5.0-28-generic package post-installation script subprocess returned error exit status 1 UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 03/29/2021 dmi.bios.release: 1.25 dmi.bios.vendor: LENOVO dmi.bios.version: DJCN25WW dmi.board.name: LNVNB161216 dmi.board.vendor: LENOVO dmi.board.version: NO DPK dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: Lenovo ThinkBook 15-IIL dmi.ec.firmware.release: 1.20 dmi.modalias: dmi:bvnLENOVO:bvrDJCN25WW:bd03/29/2021:br1.25:efr1.20:svnLENOVO:pn20SM:pvrLenovoThinkBook15-IIL:rvnLENOVO:rnLNVNB161216:rvrNODPK:cvnLENOVO:ct10:cvrLenovoThinkBook15-IIL:skuLENOVO_MT_20SM_BU_idea_FM_Thinkbook15-IIL: dmi.product.family: Thinkbook 15-IIL dmi.product.name: 20SM dmi.product.sku: LENOVO_MT_20SM_BU_idea_FM_Thinkbook 15-IIL dmi.product.version: Lenovo ThinkBook 15-IIL dmi.sys.vendor: LENOVO To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2062452/+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