upgrading from 22.04 to 23.04 failed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
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 libedataserveru
libkf5alarmca
libopenexr25 libpoppler118 libprocps8 libpython3.10 libpython3.10-dev libpython3.
libsnapd-glib1 libsnapd-qt1 libsrt1.4-gnutls libstdc++-11-dev libswresample3 libwxbase3.0-0v5 libwxgtk3.
pulseaudio-
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-
Setting up linux-headers-
/etc/kernel/
* dkms: running auto installation service for kernel 6.2.0-26-generic
Sign command: /usr/bin/kmodsign
Binary update-
Running the pre_build script:
Real System.map was found in '/boot/
Generate "/var/lib/
System map "/boot/
Exported function "blk_mq_
Exported function "blk_alloc_
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=
Error! Bad return status for module build on kernel: 6.2.0-26-generic (x86_64)
Consult /var/lib/
dkms autoinstall on 6.2.0-26-
dkms autoinstall on 6.2.0-26-
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
...fail!
run-parts: /etc/kernel/
dpkg: error processing package linux-headers-
installed linux-headers-
dpkg: dependency problems prevent configuration of linux-headers-
linux-
Package linux-headers-
dpkg: error processing package linux-headers-
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic:
linux-generic depends on linux-headers-
Package linux-headers-
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.
/etc/kernel/
* dkms: running auto installation service for kernel 6.2.0-26-generic
Sign command: /usr/bin/kmodsign
Binary update-
Running the pre_build script:
Real System.map was found in '/boot/
Generate "/var/lib/
System map "/boot/
Exported function "blk_mq_
Exported function "blk_alloc_
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=
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/
Error! Bad return status for module build on kernel: 6.2.0-26-generic (x86_64)
Consult /var/lib/
dkms autoinstall on 6.2.0-26-
dkms autoinstall on 6.2.0-26-
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
...fail!
run-parts: /etc/kernel/
dpkg: error processing package linux-image-
installed linux-image-
No apport report written because MaxReports is reached already
linux-
linux-
linux-generic
linux-
E: Sub-process /usr/bin/dpkg returned an error code (1)
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 2028953
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.