Public bug reported: did the release upgrade from 22.04 to 23.04 and got the following error and upgrade is failed and not able to proceed sudo apt-get dist-upgrade Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating upgrade... Done The following packages were automatically installed and are no longer required: endeavour endeavour-common g++-11 g++-11-multilib gnome-todo ieee-data krosspython lib32stdc++-11-dev libabsl20210324 libappimage0 libavcodec58 libavformat58 libavutil56 libcfitsio9 libdav1d5 libecal-2.0-1 libedataserverui-1.2-3 libgnome-todo libhcrypto4-heimdal:i386 libilmbase25 libjs-mootools libkdecorations2private9 libkf5alarmcalendar-data libkf5alarmcalendar5abi2 libkf5kipi-data libkf5kipi32.0.0 libkf5waylandserver5 libkwaylandserver5 libkwinxrenderutils13 libldap-2.5-0 libmpdec3 libopenexr25 libpoppler118 libprocps8 libpython3.10 libpython3.10-dev libpython3.10-minimal libpython3.10-stdlib libqgpgme7 libqpdf28 libre2-9 libroken18-heimdal:i386 libsnapd-glib1 libsnapd-qt1 libsrt1.4-gnutls libstdc++-11-dev libswresample3 libwxbase3.0-0v5 libwxgtk3.0-gtk3-0v5 libx264-163 libx32stdc++-11-dev libzxingcore1 pulseaudio-module-gsettings python3-typed-ast python3.10 python3.10-dev python3.10-minimal xfce4-notes xfce4-notes-plugin xubuntu-core Use 'sudo apt autoremove' to remove them. The following packages have been kept back: libpcsclite1 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 4 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] y Setting up linux-image-6.2.0-26-generic (6.2.0-26.26) ... Setting up linux-headers-6.2.0-26-generic (6.2.0-26.26) ... /etc/kernel/header_postinst.d/dkms: * dkms: running auto installation service for kernel 6.2.0-26-generic Sign command: /usr/bin/kmodsign Binary update-secureboot-policy not found, modules won't be signed
Running the pre_build script: Real System.map was found in '/boot/System.map-6.2.0-26-generic' Generate "/var/lib/dkms/veeamsnap/6.0.3.1221/build/config.h" for kernel "6.2.0-26-generic". System map "/boot/System.map-6.2.0-26-generic". Exported function "blk_mq_make_request" not found Exported function "blk_alloc_queue_rh" not found Exported function "submit_bio_noacct" was found Address of the function "__request_module" was defined Address of the function "blk_mq_submit_bio" was defined Building module: Cleaning build area... make -j8 KERNELRELEASE=6.2.0-26-generic -C /lib/modules/6.2.0-26-generic/build M=/var/lib/dkms/veeamsnap/6.0.3.1221/build modules....(bad exit status: 2) Error! Bad return status for module build on kernel: 6.2.0-26-generic (x86_64) Consult /var/lib/dkms/veeamsnap/6.0.3.1221/build/make.log for more information. dkms autoinstall on 6.2.0-26-generic/x86_64 succeeded for broadcom-sta broadcom-sta dkms autoinstall on 6.2.0-26-generic/x86_64 failed for veeamsnap(10) Error! One or more modules failed to install during autoinstall. Refer to previous errors for more information. ...fail! run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11 dpkg: error processing package linux-headers-6.2.0-26-generic (--configure): installed linux-headers-6.2.0-26-generic package post-installation script subprocess returned error exit status 1 dpkg: dependency problems prevent configuration of linux-headers-generic: linux-headers-generic depends on linux-headers-6.2.0-26-generic; however: Package linux-headers-6.2.0-26-generic is not configured yet. dpkg: error processing package linux-headers-generic (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of linux-generic: linux-generic depends on linux-headers-generic (= 6.2.0.26.26); however: Package linux-headers-generic is not configured yet. dpkg: error processing package linux-generic (--configure): dependency problems - leaving unconfigured No apport report written because the error message indicates its a followup error from a previous failure. No apport report written because the error message indicates its a followup error from a previous failure. Processing triggers for linux-image-6.2.0-26-generic (6.2.0-26.26) ... /etc/kernel/postinst.d/dkms: * dkms: running auto installation service for kernel 6.2.0-26-generic Sign command: /usr/bin/kmodsign Binary update-secureboot-policy not found, modules won't be signed Running the pre_build script: Real System.map was found in '/boot/System.map-6.2.0-26-generic' Generate "/var/lib/dkms/veeamsnap/6.0.3.1221/build/config.h" for kernel "6.2.0-26-generic". System map "/boot/System.map-6.2.0-26-generic". Exported function "blk_mq_make_request" not found Exported function "blk_alloc_queue_rh" not found Exported function "submit_bio_noacct" was found Address of the function "__request_module" was defined Address of the function "blk_mq_submit_bio" was defined Building module: Cleaning build area... make -j8 KERNELRELEASE=6.2.0-26-generic -C /lib/modules/6.2.0-26-generic/build M=/var/lib/dkms/veeamsnap/6.0.3.1221/build modules....(bad exit status: 2) ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/veeamsnap.0.crash' Error! Bad return status for module build on kernel: 6.2.0-26-generic (x86_64) Consult /var/lib/dkms/veeamsnap/6.0.3.1221/build/make.log for more information. dkms autoinstall on 6.2.0-26-generic/x86_64 succeeded for broadcom-sta broadcom-sta dkms autoinstall on 6.2.0-26-generic/x86_64 failed for veeamsnap(10) 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-26-generic (--configure): installed linux-image-6.2.0-26-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-headers-6.2.0-26-generic linux-headers-generic linux-generic linux-image-6.2.0-26-generic E: Sub-process /usr/bin/dpkg returned an error code (1) ** Affects: linux (Ubuntu) Importance: Undecided Status: New -- 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/2028953 Title: upgrading from 22.04 to 23.04 failed Status in linux package in Ubuntu: New Bug description: did the release upgrade from 22.04 to 23.04 and got the following error and upgrade is failed and not able to proceed sudo apt-get dist-upgrade Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating upgrade... Done The following packages were automatically installed and are no longer required: endeavour endeavour-common g++-11 g++-11-multilib gnome-todo ieee-data krosspython lib32stdc++-11-dev libabsl20210324 libappimage0 libavcodec58 libavformat58 libavutil56 libcfitsio9 libdav1d5 libecal-2.0-1 libedataserverui-1.2-3 libgnome-todo libhcrypto4-heimdal:i386 libilmbase25 libjs-mootools libkdecorations2private9 libkf5alarmcalendar-data libkf5alarmcalendar5abi2 libkf5kipi-data libkf5kipi32.0.0 libkf5waylandserver5 libkwaylandserver5 libkwinxrenderutils13 libldap-2.5-0 libmpdec3 libopenexr25 libpoppler118 libprocps8 libpython3.10 libpython3.10-dev libpython3.10-minimal libpython3.10-stdlib libqgpgme7 libqpdf28 libre2-9 libroken18-heimdal:i386 libsnapd-glib1 libsnapd-qt1 libsrt1.4-gnutls libstdc++-11-dev libswresample3 libwxbase3.0-0v5 libwxgtk3.0-gtk3-0v5 libx264-163 libx32stdc++-11-dev libzxingcore1 pulseaudio-module-gsettings python3-typed-ast python3.10 python3.10-dev python3.10-minimal xfce4-notes xfce4-notes-plugin xubuntu-core Use 'sudo apt autoremove' to remove them. The following packages have been kept back: libpcsclite1 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 4 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] y Setting up linux-image-6.2.0-26-generic (6.2.0-26.26) ... Setting up linux-headers-6.2.0-26-generic (6.2.0-26.26) ... /etc/kernel/header_postinst.d/dkms: * dkms: running auto installation service for kernel 6.2.0-26-generic Sign command: /usr/bin/kmodsign Binary update-secureboot-policy not found, modules won't be signed Running the pre_build script: Real System.map was found in '/boot/System.map-6.2.0-26-generic' Generate "/var/lib/dkms/veeamsnap/6.0.3.1221/build/config.h" for kernel "6.2.0-26-generic". System map "/boot/System.map-6.2.0-26-generic". Exported function "blk_mq_make_request" not found Exported function "blk_alloc_queue_rh" not found Exported function "submit_bio_noacct" was found Address of the function "__request_module" was defined Address of the function "blk_mq_submit_bio" was defined Building module: Cleaning build area... make -j8 KERNELRELEASE=6.2.0-26-generic -C /lib/modules/6.2.0-26-generic/build M=/var/lib/dkms/veeamsnap/6.0.3.1221/build modules....(bad exit status: 2) Error! Bad return status for module build on kernel: 6.2.0-26-generic (x86_64) Consult /var/lib/dkms/veeamsnap/6.0.3.1221/build/make.log for more information. dkms autoinstall on 6.2.0-26-generic/x86_64 succeeded for broadcom-sta broadcom-sta dkms autoinstall on 6.2.0-26-generic/x86_64 failed for veeamsnap(10) Error! One or more modules failed to install during autoinstall. Refer to previous errors for more information. ...fail! run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11 dpkg: error processing package linux-headers-6.2.0-26-generic (--configure): installed linux-headers-6.2.0-26-generic package post-installation script subprocess returned error exit status 1 dpkg: dependency problems prevent configuration of linux-headers-generic: linux-headers-generic depends on linux-headers-6.2.0-26-generic; however: Package linux-headers-6.2.0-26-generic is not configured yet. dpkg: error processing package linux-headers-generic (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of linux-generic: linux-generic depends on linux-headers-generic (= 6.2.0.26.26); however: Package linux-headers-generic is not configured yet. dpkg: error processing package linux-generic (--configure): dependency problems - leaving unconfigured No apport report written because the error message indicates its a followup error from a previous failure. No apport report written because the error message indicates its a followup error from a previous failure. Processing triggers for linux-image-6.2.0-26-generic (6.2.0-26.26) ... /etc/kernel/postinst.d/dkms: * dkms: running auto installation service for kernel 6.2.0-26-generic Sign command: /usr/bin/kmodsign Binary update-secureboot-policy not found, modules won't be signed Running the pre_build script: Real System.map was found in '/boot/System.map-6.2.0-26-generic' Generate "/var/lib/dkms/veeamsnap/6.0.3.1221/build/config.h" for kernel "6.2.0-26-generic". System map "/boot/System.map-6.2.0-26-generic". Exported function "blk_mq_make_request" not found Exported function "blk_alloc_queue_rh" not found Exported function "submit_bio_noacct" was found Address of the function "__request_module" was defined Address of the function "blk_mq_submit_bio" was defined Building module: Cleaning build area... make -j8 KERNELRELEASE=6.2.0-26-generic -C /lib/modules/6.2.0-26-generic/build M=/var/lib/dkms/veeamsnap/6.0.3.1221/build modules....(bad exit status: 2) ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/veeamsnap.0.crash' Error! Bad return status for module build on kernel: 6.2.0-26-generic (x86_64) Consult /var/lib/dkms/veeamsnap/6.0.3.1221/build/make.log for more information. dkms autoinstall on 6.2.0-26-generic/x86_64 succeeded for broadcom-sta broadcom-sta dkms autoinstall on 6.2.0-26-generic/x86_64 failed for veeamsnap(10) 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-26-generic (--configure): installed linux-image-6.2.0-26-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-headers-6.2.0-26-generic linux-headers-generic linux-generic linux-image-6.2.0-26-generic E: Sub-process /usr/bin/dpkg returned an error code (1) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2028953/+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