The module failed to install. I had to kill -9 dkms to bypass the issue. After that, I can use apt again and the kernel loads correctly. I'm not so sure about the module.
** Changed in: linux (Ubuntu) Status: Incomplete => Confirmed -- 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/1783134 Title: package linux-image-4.15.0-29-generic 4.15.0-29.31 failed to install/upgrade: installed linux-image-4.15.0-29-generic package post- installation script subprocess returned error exit status 1 Status in linux package in Ubuntu: Confirmed Bug description: dkms hangs forever. I have a evdi module installed which is causing the problem. This happened with multiple upgrades of the kernel. ProblemType: Package DistroRelease: Ubuntu 18.04 Package: linux-image-4.15.0-29-generic 4.15.0-29.31 ProcVersionSignature: Ubuntu 4.15.0-23.25-generic 4.15.18 Uname: Linux 4.15.0-23-generic x86_64 ApportVersion: 2.20.9-0ubuntu7.2 AptOrdering: NULL: ConfigurePending Architecture: amd64 AudioDevicesInUse: USER PID ACCESS COMMAND /dev/snd/pcmC0D0p: omer 10948 F...m pulseaudio /dev/snd/controlC0: gdm 5804 F.... pulseaudio omer 10948 F.... pulseaudio Date: Mon Jul 23 15:42:40 2018 DpkgTerminalLog: Setting up linux-image-4.15.0-29-generic (4.15.0-29.31) ... depmod: FATAL: renameat(/lib/modules/4.15.0-29-generic, modules.dep.tmp, /lib/modules/4.15.0-29-generic, modules.dep): No such file or directory [1mdpkg:[0m error processing package linux-image-4.15.0-29-generic (--configure): installed linux-image-4.15.0-29-generic package post-installation script subprocess returned error exit status 1 ErrorMessage: installed linux-image-4.15.0-29-generic package post-installation script subprocess returned error exit status 1 InstallationDate: Installed on 2017-07-05 (382 days ago) InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412) Lsusb: Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 002: ID 04f2:b57e Chicony Electronics Co., Ltd Bus 001 Device 003: ID 8087:0a2b Intel Corp. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub MachineType: LENOVO 80WK ProcFB: 0 inteldrmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-23-generic root=UUID=86c90392-13c2-4da2-bd0d-525cf9ae2f00 ro cgroup_enable=memory swapaccount=1 quiet splash nouveau.modeset=0 vt.handoff=1 PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon. Python3Details: /usr/bin/python3.6, Python 3.6.5, python3-minimal, 3.6.5-3ubuntu1 PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1 RelatedPackageVersions: grub-pc N/A SourcePackage: linux Title: package linux-image-4.15.0-29-generic 4.15.0-29.31 failed to install/upgrade: installed linux-image-4.15.0-29-generic package post-installation script subprocess returned error exit status 1 UpgradeStatus: Upgraded to bionic on 2018-05-07 (76 days ago) dmi.bios.date: 10/17/2017 dmi.bios.vendor: LENOVO dmi.bios.version: 4KCN40WW dmi.board.asset.tag: NO Asset Tag dmi.board.name: Provence-5R1 dmi.board.vendor: LENOVO dmi.board.version: SDK0J40709 WIN dmi.chassis.asset.tag: NO Asset Tag dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: Lenovo Y520-15IKBN dmi.modalias: dmi:bvnLENOVO:bvr4KCN40WW:bd10/17/2017:svnLENOVO:pn80WK:pvrLenovoY520-15IKBN:rvnLENOVO:rnProvence-5R1:rvrSDK0J40709WIN:cvnLENOVO:ct10:cvrLenovoY520-15IKBN: dmi.product.family: IDEAPAD dmi.product.name: 80WK dmi.product.version: Lenovo Y520-15IKBN dmi.sys.vendor: LENOVO To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1783134/+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