Thank you for quick resolution. I have applied the instructions and it completed alright. I am a long time proud user of Ubuntu, you made me prouder. Have a good day and nice weekend!!
Regards, Prabhakara On Thu, 3 Sep 2026, 8:55 pm Viktor Pashaiev, <[email protected]> wrote: > The kernel headers are innocent here - your DpkgTerminalLog shows it's > an old DKMS module causing the drama :-) > > During the header installation, /etc/kernel/header_postinst.d/dkms tries > to autoinstall all registered modules. It choked on “nvidia-535” because > the patch “nv-vtophys-explicit-void-cast.patch” failed to apply against > 6.8.0-138, which exited with status 11 and locked up apt. > > Looking at your Lspci.txt, your Lenovo IdeaPad Flex 5 is running on > Intel Iris Xe graphics with no discrete Nvidia GPU anyway. > > To unstick apt and finish setting up the kernel headers: > > 1- Purge the leftover Nvidia DKMS module: > sudo apt purge nvidia-dkms-535 > > 2- Finish configuring the pending packages: > sudo dpkg --configure -a > > 3- Run upgrade cleanly: > sudo apt update && sudo apt upgrade > > Your 6.8.0-138 headers will configure with zero issues! yohoo ;-) > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/2166169 > > Title: > package linux-headers-6.8.0-138-generic 6.8.0-138.138 failed to > install/upgrade: installed linux-headers-6.8.0-138-generic package > post-installation script subprocess returned error exit status 11 > > Status in linux package in Ubuntu: > New > > Bug description: > I am not sure about what the error is. It just pooped up in my system. > > ProblemType: Package > DistroRelease: Ubuntu 24.04 > Package: linux-headers-6.8.0-138-generic 6.8.0-138.138 > ProcVersionSignature: Ubuntu 6.8.0-137.137-generic 6.8.12 > Uname: Linux 6.8.0-137-generic x86_64 > ApportVersion: 2.28.2-0ubuntu0.1 > Architecture: amd64 > AudioDevicesInUse: > USER PID ACCESS COMMAND > /dev/snd/controlC0: hrp 2218 F.... pipewire > hrp 2222 F.... wireplumber > /dev/snd/seq: hrp 2218 F.... pipewire > CRDA: N/A > CasperMD5CheckResult: pass > Date: Wed Aug 26 12:45:44 2026 > ErrorMessage: installed linux-headers-6.8.0-138-generic package > post-installation script subprocess returned error exit status 11 > InstallationDate: Installed on 2023-06-17 (1173 days ago) > InstallationMedia: Ubuntu 22.04.2 LTS "Jammy Jellyfish" - Release amd64 > (20230223) > MachineType: LENOVO 82R7 > ProcFB: 0 i915drmfb > ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.8.0-137-generic > root=UUID=ba92750a-af87-4cd1-a40c-16de7376c926 ro quiet splash > acpi_backlight=native acpi_osi=linux vt.handoff=7 > Python3Details: /usr/bin/python3.12, Python 3.12.3, python3-minimal, > 3.12.3-0ubuntu2.1 > PythonDetails: N/A > RelatedPackageVersions: grub-pc 2.12-1ubuntu7.3 > SourcePackage: linux > Title: package linux-headers-6.8.0-138-generic 6.8.0-138.138 failed to > install/upgrade: installed linux-headers-6.8.0-138-generic package > post-installation script subprocess returned error exit status 11 > UpgradeStatus: Upgraded to noble on 2026-02-19 (195 days ago) > dmi.bios.date: 07/23/2025 > dmi.bios.release: 1.56 > dmi.bios.vendor: LENOVO > dmi.bios.version: J7CN56WW > dmi.board.asset.tag: No Asset Tag > dmi.board.name: LNVNB161216 > dmi.board.vendor: LENOVO > dmi.board.version: SDK0T76486 WIN > dmi.chassis.asset.tag: No Asset Tag > dmi.chassis.type: 31 > dmi.chassis.vendor: LENOVO > dmi.chassis.version: IdeaPad Flex 5 14IAU7 > dmi.ec.firmware.release: 1.31 > dmi.modalias: > dmi:bvnLENOVO:bvrJ7CN56WW:bd07/23/2025:br1.56:efr1.31:svnLENOVO:pn82R7:pvrIdeaPadFlex514IAU7:rvnLENOVO:rnLNVNB161216:rvrSDK0T76486WIN:cvnLENOVO:ct31:cvrIdeaPadFlex514IAU7:skuLENOVO_MT_82R7_BU_idea_FM_IdeaPadFlex514IAU7: > dmi.product.family: IdeaPad Flex 5 14IAU7 > dmi.product.name: 82R7 > dmi.product.sku: LENOVO_MT_82R7_BU_idea_FM_IdeaPad Flex 5 14IAU7 > dmi.product.version: IdeaPad Flex 5 14IAU7 > dmi.sys.vendor: LENOVO > > To manage notifications about this bug go to: > https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2166169/+subscriptions > > -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2166169 Title: package linux-headers-6.8.0-138-generic 6.8.0-138.138 failed to install/upgrade: installed linux-headers-6.8.0-138-generic package post-installation script subprocess returned error exit status 11 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2166169/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
