[Seek Help] dpkg: 处理软件包 出错:
Tofloor
poster avatar
ta******fg@qq.com
deepin
2022-03-01 22:33
Author

安装任何应用时,都会报下面的这段错误。

网上没有找到答案,请问下该如何解决。

谢谢!

dpkg: 处理软件包 linux-image-5.10.60-amd64-desktop (--configure)时出错:
已安装 linux-image-5.10.60-amd64-desktop 软件包 post-installation 脚本 子进程返回错误状态 1
dpkg: 依赖关系问题使得 linux-image-deepin-stable-amd64 的配置工作不能继续:
linux-image-deepin-stable-amd64 依赖于 linux-image-5.15.6-amd64-desktop;然而:
软件包 linux-image-5.15.6-amd64-desktop 尚未配置。dpkg: 处理软件包 linux-image-deepin-stable-amd64 (--configure)时出错:
依赖关系问题 - 仍未被配置
在处理时有错误发生:
linux-image-5.15.6-amd64-desktop
linux-image-5.10.60-amd64-desktop
linux-image-deepin-stable-amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)
Reply Favorite View the author
All Replies
andktan
deepin
2022-03-01 22:37
#1

版本冲突了么?

Reply View the author
zijinyise
deepin
2022-03-01 22:40
#2

看看这个 https://blog.csdn.net/Chenxf1018/article/details/89313167

Reply View the author
vivian_me
deepin testing team
2022-03-01 22:49
#3

先把数据做个备份

然后试试看把两个内核都移除,不要关机,接着把5.10.60安装回来,update-grub后再重启看看会不会恢复

Reply View the author
忘记、过去
deepin
2022-03-01 22:52
#4

sudo dpkg -r --force-remove-reinstreq linux-image-5.10.60-amd64-desktop linux-headers-5.10.60-amd64-desktop

sudo dpkg --configure -a

Reply View the author
liwl
deepin
2022-03-01 23:02
#5

前几天遇到过,楼上很多正解操作

Reply View the author
187******79
deepin
2022-09-10 08:14
#6
忘记、过去

sudo dpkg -r --force-remove-reinstreq linux-image-5.10.60-amd64-desktop linux-headers-5.10.60-amd64-desktop

sudo dpkg --configure -a

这个真的有用

Reply View the author