[problem help] 更新时始终报错 Resolved
Tofloor
poster avatar
West Chen
deepin
2023-12-19 07:32
Author

如下,之前每次更新时都是报错的,哪个大神帮助看下呢?

xxxx@cw:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
fcitx5 fcitx5-chinese-addons-bin fcitx5-data fcitx5-frontend-qt5 fcitx5-frontend-qt6 fcitx5-module-chttrans fcitx5-module-cloudpinyin fcitx5-module-fullwidth
fcitx5-module-pinyinhelper fcitx5-module-punctuation fcitx5-modules fcitx5-pinyin fcitx5-table libfcitx5-qt-data libfcitx5-qt1 libfcitx5-qt6-1 libfcitx5config6 1 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.4.7-amd64-desktop-hwe (6.4.7-1) ...
dkms: running auto installation service for kernel 6.4.7-amd64-desktop-hwe:Sign command: /lib/modules/6.4.7-amd64-desktop-hwe/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area...
make -j16 KERNELRELEASE=6.4.7-amd64-desktop-hwe -C /lib/modules/6.4.7-amd64-desktop-hwe/build M=/var/lib/dkms/huawei-wmi/3.4/build...(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.4.7-amd64-desktop-hwe (x86_64)
Consult /var/lib/dkms/huawei-wmi/3.4/build/make.log for more information.
Sign command: /lib/modules/6.4.7-amd64-desktop-hwe/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area...
make -j16 KERNELRELEASE=6.4.7-amd64-desktop-hwe -C /lib/modules/6.4.7-amd64-desktop-hwe/build KBUILD_EXTMOD=/var/lib/dkms/rtw89/1.0.3/build modules...(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.4.7-amd64-desktop-hwe (x86_64)
Consult /var/lib/dkms/rtw89/1.0.3/build/make.log for more information.
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
failed!
run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
update-initramfs: Generating /boot/initrd.img-6.4.7-amd64-desktop-hwe
I: The initramfs will attempt to resume from /dev/nvme0n1p9
I: (UUID=acfe9c8d-3ed1-473a-84cb-f89b3a14f49f)
I: Set the RESUME variable to override this.
live-boot: core filesystems devices utils udev blockdev dns.
fix systemd/logind config
get rootb uuid error: failed to get "rootb" uuid
Generating grub configuration file ...
Found theme: /boot/grub/themes/deepin-fallback/theme.txt
Found background image: /boot/grub/themes/deepin-fallback/background.jpg
Found linux image: /boot/vmlinuz-6.4.7-amd64-desktop-hwe
Found initrd image: /boot/initrd.img-6.4.7-amd64-desktop-hwe
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Found Windows Boot Manager on /dev/nvme0n1p1@/EFI/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for UEFI Firmware Settings ...
done
dpkg: error processing package linux-image-6.4.7-amd64-desktop-hwe (--configure):
installed linux-image-6.4.7-amd64-desktop-hwe package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
linux-image-6.4.7-amd64-desktop-hwe
E: Sub-process /usr/bin/dpkg returned an error code (1)

附:make.log make.txt

Reply Favorite View the author
All Replies
deepin-superuser
deepin
2023-12-19 17:23
#1

第一 这个更新得 sudo apt dist-upgrade

第二 报错信息是这个

make -j16 KERNELRELEASE=6.4.7-amd64-desktop-hwe -C /lib/modules/6.4.7-amd64-desktop-hwe/build M=/var/lib/dkms/huawei-wmi/3.4/build...(bad exit status: 2)

Reply View the author
爱开发
deepin
2023-12-19 17:27
#2

我之前也是遇到没法更,后来删除

fcitx5,再重装就行了。

Reply View the author