Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages were automatically installed and are no longer required: linux-image-4.15.0-91-generic linux-modules-4.15.0-91-generic linux-modules-extra-4.15.0-91-generic Use 'sudo apt autoremove' to remove them. The following packages will be upgraded: copyq 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 8 not fully installed or removed. Need to get 1.705 kB of archives. After this operation, 2.048 B of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://ppa.launchpad.net/hluk/copyq/ubuntu bionic/main amd64 copyq amd64 3.12.0~bionic [1.705 kB] Fetched 1.705 kB in 2s (843 kB/s) (Reading database ... 205854 files and directories currently installed.) Preparing to unpack .../copyq_3.12.0~bionic_amd64.deb ... Unpacking copyq (3.12.0~bionic) over (3.11.1~bionic) ... Setting up initramfs-tools (0.130ubuntu3.9) ... update-initramfs: deferring update (trigger activated) Setting up copyq (3.12.0~bionic) ... Setting up linux-image-4.15.0-109-generic (4.15.0-109.110) ... Setting up linux-image-4.15.0-108-generic (4.15.0-108.109) ... Setting up linux-image-4.15.0-91-generic (4.15.0-91.92) ... depmod: ERROR: could not open directory /lib/modules/4.15.0-91-generic: No such file or directory depmod: FATAL: could not search modules: No such file or directory dpkg: error processing package linux-image-4.15.0-91-generic (--configure): installed linux-image-4.15.0-91-generic package post-installation script subprocess returned error exit status 1 Setting up linux-firmware (1.173.19) ... update-initramfs: Generating /boot/initrd.img-4.15.0-109-generic Fatal: open /boot/vmlinuz-4.15.0-76-generic: No such file or directory run-parts: /etc/initramfs/post-update.d//runlilo exited with return code 1 dpkg: error processing package linux-firmware (--configure): installed linux-firmware package post-installation script subprocess returned error exit status 1 dpkg: dependency problems prevent configuration of linux-image-generic: linux-image-generic depends on linux-firmware; however: Package linux-firmware is not configured yet. dpkg: error processing package linux-image-generic (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of linux-generic: linux-generic depends on linux-image-generic (= 4.15.0.109.97); however: Package linux-image-generic is not configured yet. dpkg: error processing package linux-generic (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of linux-signed-generic: linux-signed-generic depends on linux-generic; however: Package linux-generic is not configured yet. dpkg: error processing package linux-signed-generic (--configure): dependency prNo apport report written because the error message indicates its a followup error from a previous failure. No apport report written because MaxReports is reached already No apport report written because MaxReports is reached already oblems - leaving unconfigured Processing triggers for man-db (2.8.3-2ubuntu0.1) ... Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ... Processing triggers for hicolor-icon-theme (0.17-2) ... Processing triggers for mime-support (3.60ubuntu1) ... Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ... Processing triggers for initramfs-tools (0.130ubuntu3.9) ... update-initramfs: Generating /boot/initrd.img-4.15.0-109-generic Fatal: open /boot/vmlinuz-4.15.0-76-generic: No such file or directory run-parts: /etc/initramfs/post-update.d//runlilo exited with return code 1 dpkg: error processing package initramfs-tools (--configure): installed initramfs-tools package post-installation script subprocess returned error exit status 1 No apport report written because MaxReports is reached already Processing triggers for linux-image-4.15.0-109-generic (4.15.0-109.110) ... /etc/kernel/postinst.d/dkms: * dkms: running auto installation service for kernel 4.15.0-109-generic Kernel preparation unnecessary for this kernel. Skipping... applying patch Fix-build-for-4.4.patch...patching file hal/hal_btcoex.c patching file hal/hal_com.c patching file hal/hal_com_phycfg.c patching file include/hal_com.h patching file include/rtw_debug.h patching file Makefile patching file os_dep/linux/usb_intf.c Building module: cleaning build area... 'make' KVER=4.15.0-109-generic...(bad exit status: 2) ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/rtl8192eu-dkms.0.crash' Error! Bad return status for module build on kernel: 4.15.0-109-generic (x86_64) Consult /var/lib/dkms/rtl8192eu/4.4/build/make.log for more information. ...done. /etc/kernel/postinst.d/initramfs-tools: update-initramfs: Generating /boot/initrd.img-4.15.0-109-generic /etc/kernel/postinst.d/zz-runlilo: Fatal: open /boot/vmlinuz-4.15.0-76-generic: No such file or directory run-parts: /etc/kernel/postinst.d/zz-runlilo exited with return code 1 dpkg: error processing package linux-image-4.15.0-109-generic (--configure): installed linux-image-4.15.0-109-generic package post-installation script subprocess returned error exit status 1 Processing triggers for linux-image-4.15.0-108-generic (4.15.0-108.109) ... No apport report written because MaxReports is reached already /etc/kernel/postinst.d/dkms: * dkms: running auto installation service for kernel 4.15.0-108-generic Kernel preparation unnecessary for this kernel. Skipping... applying patch Fix-build-for-4.4.patch...patching file hal/hal_btcoex.c patching file hal/hal_com.c patching file hal/hal_com_phycfg.c patching file include/hal_com.h patching file include/rtw_debug.h patching file Makefile patching file os_dep/linux/usb_intf.c Building module: cleaning build area... 'make' KVER=4.15.0-108-generic...(bad exit status: 2) ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/rtl8192eu-dkms.0.crash' Error! Bad return status for module build on kernel: 4.15.0-108-generic (x86_64) Consult /var/lib/dkms/rtl8192eu/4.4/build/make.log for more information. ...done. /etc/kernel/postinst.d/initramfs-tools: update-initramfs: Generating /boot/initrd.img-4.15.0-108-generic /etc/kernel/postinst.d/zz-runlilo: Fatal: open /boot/vmlinuz-4.15.0-76-generic: No such file or directory run-parts: /etc/kernel/postinst.d/zz-runlilo exited with return code 1 dpkg: error processing package linux-image-4.15.0-108-generic (--configure): installed linux-image-4.15.0-108-generic package post-installation script subprocess returned error exit status 1 No apport report written because MaxReports is reached already Errors were encountered while processing: linux-image-4.15.0-91-generic linux-firmware linux-image-generic linux-generic linux-signed-generic initramfs-tools linux-image-4.15.0-109-generic linux-image-4.15.0-108-generic E: Sub-process /usr/bin/dpkg returned an error code (1)