[Seek Help] 理软件包 linux-image-5.15.77-amd64-desktop (--configure)时出错
Tofloor
poster avatar
whoami
deepin
2023-06-30 17:40
Author

RTRT

正在设置 linux-image-5.15.77-amd64-desktop (5.15.77-amd64-desktop-2) ...
Error!  The dkms.conf for this module includes a BUILD_EXCLUSIVE directive which
does not match this kernel/arch.  This indicates that it should not be built.
update-initramfs: Generating /boot/initrd.img-5.15.77-amd64-desktop
cryptsetup: WARNING: The initramfs image may not contain cryptsetup binaries 
    nor crypto modules. If that's on purpose, you may want to uninstall the 
    'cryptsetup-initramfs' package in order to disable the cryptsetup initramfs 
    integration and avoid this warning.
setupcon is missing. Please install the 'console-setup' package.
I: The initramfs will attempt to resume from /dev/nvme0n1p6
I: (UUID=b7c076d0-8e7a-49a4-942e-015feefac057)
I: Set the RESUME variable to override this.
live-boot: core filesystems devices utils udev blockdev dnsE: /usr/share/initramfs-tools/hooks/live failed with return 1.
update-initramfs: failed for /boot/initrd.img-5.15.77-amd64-desktop with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
fix systemd/logind config
get rootb uuid error: failed to get "rootb" uuid
正在生成 grub 配置文件 ...
找到主题:/boot/grub/themes/deepin-fallback/theme.txt
Found background image: /boot/grub/themes/deepin-fallback/background.jpg
找到 Linux 镜像:/boot/vmlinuz-5.15.77-amd64-desktop
找到 initrd 镜像:/boot/initrd.img-5.15.77-amd64-desktop
找到 Linux 镜像:/boot/vmlinuz-5.15.45-amd64-desktop
找到 initrd 镜像:/boot/initrd.img-5.15.45-amd64-desktop
找到 Linux 镜像:/boot/vmlinuz-5.3.0-42-generic
找到 initrd 镜像:/boot/initrd.img-5.3.0-42-generic
Adding boot menu entry for EFI firmware configuration
完成
dpkg: 处理软件包 linux-image-5.15.77-amd64-desktop (--configure)时出错:
 已安装 linux-image-5.15.77-amd64-desktop 软件包 post-installation 脚本 子进程返回错误状态 1
在处理时有错误发生:
 linux-image-5.15.77-amd64-desktop
E: Sub-process /usr/bin/dpkg returned an error code (1)
Reply Favorite View the author
All Replies
1 / 2
To page
whoami
deepin
2023-06-30 17:40
#1

系统升级这个包配置失败, 麻烦各位帮忙看看

linux-image-5.15.77-amd64-desktop

Reply View the author
阿尼樱奈奈
Moderator
2023-06-30 17:42
#2

之前有安装过其他内核吗?

我遇到过一样的错误,后面重装系统解决的

Reply View the author
whoami
deepin
2023-06-30 17:43
#3
阿尼樱奈奈

之前有安装过其他内核吗?

我遇到过一样的错误,后面重装系统解决的

这么严重

Reply View the author
阿尼樱奈奈
Moderator
2023-06-30 17:44
#4
whoami

这么严重

这个错误发生后,我的系统里官方其他版本的内核和自编译的内核都装不了了

Reply View the author
whoami
deepin
2023-06-30 17:45
#5
阿尼樱奈奈

之前有安装过其他内核吗?

我遇到过一样的错误,后面重装系统解决的

一直用的默认推荐配置, 内核在不支持5.15的时候用的5.10, 支持后就升级到5.15了,但也是很久之前的事了, 最近才出的这个问题

image.png

Reply View the author
ThinKinG
deepin testing team
2023-06-30 17:52
#6
whoami

系统升级这个包配置失败, 麻烦各位帮忙看看

linux-image-5.15.77-amd64-desktop

亲!

把你从输入命令 直到打印结束的内容都发下,只看后面的不确定情况,只是估计是dkms有问题,但是具体的需要你提供整个完整的内容

Reply View the author
whoami
deepin
2023-06-30 17:59
#7
ThinKinG

亲!

把你从输入命令 直到打印结束的内容都发下,只看后面的不确定情况,只是估计是dkms有问题,但是具体的需要你提供整个完整的内容

安装任意软件最后会报这个错误, 但是应该只是跟这个image看图软件有关, 下边是降级deepin browser时的全部日志

sudo apt install org.deepin.browser=6.0.24
请输入密码:
验证成功
正在读取软件包列表... 完成
正在分析软件包的依赖关系树   
正在读取状态信息... 完成   
推荐安装:
  notification-daemon deepin-event-log
下列软件包将被【降级】:
  org.deepin.browser
升级了 0 个软件包,新安装了 0 个软件包,降级了 1 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。
有 1 个软件包没有被完全安装或卸载。
需要下载 94.1 MB 的归档。
解压缩后将会空出 9,554 kB 的空间。
您希望继续执行吗? [Y/n] y
获取:1 https://community-packages.deepin.com/deepin apricot/non-free amd64 org.deepin.browser amd64 6.0.24 [94.1 MB]
已下载 94.1 MB,耗时 1分 29秒 (1,054 kB/s)                                                                                                                                                
dpkg: 警告: 即将把 org.deepin.browser 从 6.2.1-1 降级到 6.0.24
(正在读取数据库 ... 系统当前共安装有 405592 个文件和目录。)
准备解压 .../org.deepin.browser_6.0.24_amd64.deb  ...
正在解压 org.deepin.browser (6.0.24) 并覆盖 (6.2.1-1) ...
正在设置 linux-image-5.15.77-amd64-desktop (5.15.77-amd64-desktop-2) ...
Error!  The dkms.conf for this module includes a BUILD_EXCLUSIVE directive which
does not match this kernel/arch.  This indicates that it should not be built.
update-initramfs: Generating /boot/initrd.img-5.15.77-amd64-desktop
cryptsetup: WARNING: The initramfs image may not contain cryptsetup binaries 
    nor crypto modules. If that's on purpose, you may want to uninstall the 
    'cryptsetup-initramfs' package in order to disable the cryptsetup initramfs 
    integration and avoid this warning.
setupcon is missing. Please install the 'console-setup' package.
I: The initramfs will attempt to resume from /dev/nvme0n1p6
I: (UUID=b7c076d0-8e7a-49a4-942e-015feefac057)
I: Set the RESUME variable to override this.
live-boot: core filesystems devices utils udev blockdev dnsE: /usr/share/initramfs-tools/hooks/live failed with return 1.
update-initramfs: failed for /boot/initrd.img-5.15.77-amd64-desktop with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
fix systemd/logind config
get rootb uuid error: failed to get "rootb" uuid
正在生成 grub 配置文件 ...
找到主题:/boot/grub/themes/deepin-fallback/theme.txt
Found background image: /boot/grub/themes/deepin-fallback/background.jpg
找到 Linux 镜像:/boot/vmlinuz-5.15.77-amd64-desktop
找到 initrd 镜像:/boot/initrd.img-5.15.77-amd64-desktop
找到 Linux 镜像:/boot/vmlinuz-5.15.45-amd64-desktop
找到 initrd 镜像:/boot/initrd.img-5.15.45-amd64-desktop
找到 Linux 镜像:/boot/vmlinuz-5.3.0-42-generic
找到 initrd 镜像:/boot/initrd.img-5.3.0-42-generic
Adding boot menu entry for EFI firmware configuration
完成
dpkg: 处理软件包 linux-image-5.15.77-amd64-desktop (--configure)时出错:
 已安装 linux-image-5.15.77-amd64-desktop 软件包 post-installation 脚本 子进程返回错误状态 1
正在设置 org.deepin.browser (6.0.24) ...
正在处理用于 desktop-file-utils (0.23-4) 的触发器 ...
正在处理用于 mime-support (3.62) 的触发器 ...
正在处理用于 hicolor-icon-theme (0.17-2) 的触发器 ...
正在处理用于 bamfdaemon (0.5.4.1-1+eagle) 的触发器 ...
Rebuilding /usr/share/applications/bamf-2.index...
在处理时有错误发生:
 linux-image-5.15.77-amd64-desktop
E: Sub-process /usr/bin/dpkg returned an error code (1)
Reply View the author
阿尼樱奈奈
Moderator
2023-06-30 18:07
#8
whoami

安装任意软件最后会报这个错误, 但是应该只是跟这个image看图软件有关, 下边是降级deepin browser时的全部日志

sudo apt install org.deepin.browser=6.0.24
请输入密码:
验证成功
正在读取软件包列表... 完成
正在分析软件包的依赖关系树   
正在读取状态信息... 完成   
推荐安装:
  notification-daemon deepin-event-log
下列软件包将被【降级】:
  org.deepin.browser
升级了 0 个软件包,新安装了 0 个软件包,降级了 1 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。
有 1 个软件包没有被完全安装或卸载。
需要下载 94.1 MB 的归档。
解压缩后将会空出 9,554 kB 的空间。
您希望继续执行吗? [Y/n] y
获取:1 https://community-packages.deepin.com/deepin apricot/non-free amd64 org.deepin.browser amd64 6.0.24 [94.1 MB]
已下载 94.1 MB,耗时 1分 29秒 (1,054 kB/s)                                                                                                                                                
dpkg: 警告: 即将把 org.deepin.browser 从 6.2.1-1 降级到 6.0.24
(正在读取数据库 ... 系统当前共安装有 405592 个文件和目录。)
准备解压 .../org.deepin.browser_6.0.24_amd64.deb  ...
正在解压 org.deepin.browser (6.0.24) 并覆盖 (6.2.1-1) ...
正在设置 linux-image-5.15.77-amd64-desktop (5.15.77-amd64-desktop-2) ...
Error!  The dkms.conf for this module includes a BUILD_EXCLUSIVE directive which
does not match this kernel/arch.  This indicates that it should not be built.
update-initramfs: Generating /boot/initrd.img-5.15.77-amd64-desktop
cryptsetup: WARNING: The initramfs image may not contain cryptsetup binaries 
    nor crypto modules. If that's on purpose, you may want to uninstall the 
    'cryptsetup-initramfs' package in order to disable the cryptsetup initramfs 
    integration and avoid this warning.
setupcon is missing. Please install the 'console-setup' package.
I: The initramfs will attempt to resume from /dev/nvme0n1p6
I: (UUID=b7c076d0-8e7a-49a4-942e-015feefac057)
I: Set the RESUME variable to override this.
live-boot: core filesystems devices utils udev blockdev dnsE: /usr/share/initramfs-tools/hooks/live failed with return 1.
update-initramfs: failed for /boot/initrd.img-5.15.77-amd64-desktop with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
fix systemd/logind config
get rootb uuid error: failed to get "rootb" uuid
正在生成 grub 配置文件 ...
找到主题:/boot/grub/themes/deepin-fallback/theme.txt
Found background image: /boot/grub/themes/deepin-fallback/background.jpg
找到 Linux 镜像:/boot/vmlinuz-5.15.77-amd64-desktop
找到 initrd 镜像:/boot/initrd.img-5.15.77-amd64-desktop
找到 Linux 镜像:/boot/vmlinuz-5.15.45-amd64-desktop
找到 initrd 镜像:/boot/initrd.img-5.15.45-amd64-desktop
找到 Linux 镜像:/boot/vmlinuz-5.3.0-42-generic
找到 initrd 镜像:/boot/initrd.img-5.3.0-42-generic
Adding boot menu entry for EFI firmware configuration
完成
dpkg: 处理软件包 linux-image-5.15.77-amd64-desktop (--configure)时出错:
 已安装 linux-image-5.15.77-amd64-desktop 软件包 post-installation 脚本 子进程返回错误状态 1
正在设置 org.deepin.browser (6.0.24) ...
正在处理用于 desktop-file-utils (0.23-4) 的触发器 ...
正在处理用于 mime-support (3.62) 的触发器 ...
正在处理用于 hicolor-icon-theme (0.17-2) 的触发器 ...
正在处理用于 bamfdaemon (0.5.4.1-1+eagle) 的触发器 ...
Rebuilding /usr/share/applications/bamf-2.index...
在处理时有错误发生:
 linux-image-5.15.77-amd64-desktop
E: Sub-process /usr/bin/dpkg returned an error code (1)

一样,只要是执行与sudo apt有关的命令都会报这个内核错误

还有这个image在这里是“镜像”的意思,不是“看图软件”。

Reply View the author
ThinKinG
deepin testing team
2023-06-30 18:09
#9

内核编译 dkms时报错了,亲!你换个 5.18.17内核试下吧,15的内核很久没动了,可能是新的包编译环境和15不兼容

Reply View the author
whoami
deepin
2023-06-30 18:11
#10
ThinKinG

内核编译 dkms时报错了,亲!你换个 5.18.17内核试下吧,15的内核很久没动了,可能是新的包编译环境和15不兼容

麻烦详细说下怎么弄, 小白一个,感谢感谢

Reply View the author
神末shenmo
deepin
Spark-App
2023-06-30 18:11
#11

这东西我也遇到了

用了一个

open-infrastructure-system-boot

Reply View the author
whoami
deepin
2023-06-30 18:11
#12
阿尼樱奈奈

一样,只要是执行与sudo apt有关的命令都会报这个内核错误

还有这个image在这里是“镜像”的意思,不是“看图软件”。

我差点 apt purge了它, 但估计也不会成功。。。

Reply View the author
whoami
deepin
2023-06-30 18:12
#13
神末shenmo

这东西我也遇到了

用了一个

open-infrastructure-system-boot

shenmo大佬咋解决的

Reply View the author
翻过山峰看见云
deepin
2023-06-30 18:12
#14

我也是同样的问题,我是把5.15.77卸载了,装了5.15.34就好了

Reply View the author
whoami
deepin
2023-06-30 18:16
#15
翻过山峰看见云

我也是同样的问题,我是把5.15.77卸载了,装了5.15.34就好了

直接sudo apt install linux-image-5.15.34-amd64-desktop吗?

Reply View the author
gfdgd_xi
deepin
Ecological co-builder
2023-06-30 18:25
#16

joy 我是直接在 /var/lib/dpkg/info/linux-image-5.15.77-amd64-desktop.postinst 加一行 exit 强制跳过 postinst 的

Reply View the author
神末shenmo
deepin
Spark-App
2023-06-30 18:25
#17
whoami

shenmo大佬咋解决的

open-infrastructure-system-boot

用这个替换

live-boot-initramfs-tools

Reply View the author
神末shenmo
deepin
Spark-App
2023-06-30 18:25
#18
gfdgd_xi

joy 我是直接在 /var/lib/dpkg/info/linux-image-5.15.77-amd64-desktop.postinst 加一行 exit 强制跳过 postinst 的

看来好多人都遇到了啊

Reply View the author
神末shenmo
deepin
Spark-App
2023-06-30 18:26
#19
ThinKinG

亲!

把你从输入命令 直到打印结束的内容都发下,只看后面的不确定情况,只是估计是dkms有问题,但是具体的需要你提供整个完整的内容

有不少人遇到了好像

应该和live-boot有关

Reply View the author
whoami
deepin
2023-06-30 18:55
#20

我重启充高级选项进入了低版本5.15.45内核, 为什么执行sudo apt update && sudo apt dist-upgrade -y的时候还是会

linux-image-5.15.77-amd64-desktop这个77版本的设置? 心塞啊

image.png

Reply View the author
1 / 2
To page