понедельник

[Bug 2067009] Re: installed linux-image-6.5.0-21-generic package post-installation script subprocess returned error exit status 1

We need logs to debug this:

$ apport-collect 2067009


** Package changed: linux-signed-hwe-6.5 (Ubuntu) => linux (Ubuntu)

** Changed in: linux (Ubuntu)
Status: New => Incomplete

--
You received this bug notification because you are subscribed to linux
in Ubuntu.
Matching subscriptions: Bgg, Bmail, Nb
https://bugs.launchpad.net/bugs/2067009

Title:
installed linux-image-6.5.0-21-generic package post-installation
script subprocess returned error exit status 1

Status in linux package in Ubuntu:
Incomplete

Bug description:
Version : Ubuntu 6.5.0-17.17-generic 6.5.8

>> sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
4 not fully installed or removed.
Need to get 0 B/14.0 MB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
Setting up linux-image-6.5.0-21-generic (6.5.0-21.21) ...
Setting up linux-image-6.5.0-35-generic (6.5.0-35.35) ...
Setting up linux-image-6.5.0-26-generic (6.5.0-26.26) ...
Processing triggers for linux-image-6.5.0-21-generic (6.5.0-21.21) ...
/etc/kernel/postinst.d/dkms:
* dkms: autoinstall for kernel 6.5.0-21-generic was skipped since the kernel he
aders for this kernel do not seem to be installed
/etc/kernel/postinst.d/dracut:
dracut: Generating /boot/initrd.img-6.5.0-21-generic
/etc/kernel/postinst.d/zz-update-grub:
Sourcing file `/etc/default/grub'
/usr/sbin/grub-mkconfig: 33: /etc/default/grub: want: not found
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 127
dpkg: error processing package linux-image-6.5.0-21-generic (--configure):
installed linux-image-6.5.0-21-generic package post-installation script subproc
ess returned error exit status 1
Processing triggers for linux-image-6.5.0-35-generic (6.5.0-35.35) ...
/etc/kernel/postinst.d/dkms:
* dkms: running auto installation service for kernel 6.5.0-35-generic
Sign command: /usr/bin/kmodsign
Signing key: /var/lib/shim-signed/mok/MOK.priv
Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der
cp: error copying '/var/lib/dkms/nvidia/545.23.08/source/nvidia/nv-kernel.o_bina
ry' to '/var/lib/dkms/nvidia/545.23.08/build/nvidia/nv-kernel.o_binary': Input/o
utput error
applying patch disable_fstack-clash-protection_fcf-protection.patch...patching f
ile Kbuild
Hunk #1 succeeded at 134 (offset 63 lines).


Building module:
Cleaning build area...
unset ARCH; [ ! -h /usr/bin/cc ] && export CC=/usr/bin/gcc; env NV_VERBOSE=1 'ma
ke' -j16 NV_EXCLUDE_BUILD_MODULES='' KERNEL_UNAME=6.5.0-35-generic IGNORE_XEN_PR
ESENCE=1 IGNORE_CC_MISMATCH=1 SYSSRC=/lib/modules/6.5.0-35-generic/build LD=/usr
/bin/ld.bfd modules..........(bad exit status: 2)
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/nvidia-dkms-545
.0.crash'
Error! Bad return status for module build on kernel: 6.5.0-35-generic (x86_64)
Consult /var/lib/dkms/nvidia/545.23.08/build/make.log for more information.
dkms autoinstall on 6.5.0-35-generic/x86_64 failed for nvidia(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
* dkms: autoinstall for kernel 6.5.0-35-generic
...fail!
run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
dpkg: error processing package linux-image-6.5.0-35-generic (--configure):
installed linux-image-6.5.0-35-generic package post-installation script subproc
ess returned error exit status 1
Processing triggers for linux-image-6.5.0-26-generic (6.5.0-26.26) ...
/etc/kernel/postinst.d/dkms:
* dkms: autoinstall for kernel 6.5.0-26-generic was skipped since the kernel he
aders for this kernel do not seem to be installed
/etc/kernel/postinst.d/dracut:
dracut: Generating /boot/initrd.img-6.5.0-26-generic
/etc/kernel/postinst.d/zz-update-grub:
Sourcing file `/etc/default/grub'
/usr/sbin/grub-mkconfig: 33: /etc/default/grub: want: not found
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 127
dpkg: error processing package linux-image-6.5.0-26-generic (--configure):
installed linux-image-6.5.0-26-generic package post-installation script subproc
ess returned error exit status 1
Errors were encountered while processing:
linux-image-6.5.0-21-generic
linux-image-6.5.0-35-generic
linux-image-6.5.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/2067009/+subscriptions

Комментариев нет:

Отправить комментарий