[System Installation] 系统一直更新失败
Tofloor
poster avatar
想飞
deepin
2023-08-24 21:52
Author

系统更新,桌面版本 20.9,

一直处于更新失败。

下载完成后,

安装过程到 44%,然后提示安装失败

Reply Favorite View the author
All Replies
阿尼樱奈奈
Moderator
2023-08-24 22:05
#1

终端执行:sudo apt update && sudo apt upgrade

Reply View the author
想飞
deepin
2023-08-24 22:09
#2

谢谢。

我为登录的这个普通用户赋予过管理员权限。之前跟新都成功的

Reply View the author
想飞
deepin
2023-08-24 22:15
#3

更新 报错

DKMS: uninstall completed.
已删除'/boot/initrd.img-5.18.17-amd64-desktop-community-hwe.old-dkms'
正在解压 linux-image-5.18.17-amd64-desktop-community-hwe (5.18.17-amd64-desktop-community-hwe-20.01.00.10) 并覆盖 (5.18.17-amd64-desktop-community-hwe-20.01.00.08) ...
dpkg: 处理归档 /var/cache/apt/archives/linux-image-5.18.17-amd64-desktop-community-hwe_5.18.17-amd64-desktop-community-hwe-20.01.00.10_amd64.deb (--unpack)时出错:
正试图覆盖 /boot/System.map-5.18.17-amd64-desktop-hwe,它同时被包含于软件包 linux-image-5.18.17-amd64-desktop-hwe 5.18.17-amd64-desktop-hwe-20.01.00.01
dpkg-deb: 错误: 粘贴 子进程被信号(断开的管道) 终止了
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.
fix systemd/logind config
在处理时有错误发生:
/var/cache/apt/archives/linux-headers-5.18.17-amd64-desktop-community-hwe_5.18.17-amd64-desktop-community-hwe-20.01.00.10_amd64.deb
/var/cache/apt/archives/linux-image-5.18.17-amd64-desktop-community-hwe_5.18.17-amd64-desktop-community-hwe-20.01.00.10_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Reply View the author
忘记、过去
deepin
2023-08-24 22:28
#4
想飞

更新 报错

DKMS: uninstall completed.
已删除'/boot/initrd.img-5.18.17-amd64-desktop-community-hwe.old-dkms'
正在解压 linux-image-5.18.17-amd64-desktop-community-hwe (5.18.17-amd64-desktop-community-hwe-20.01.00.10) 并覆盖 (5.18.17-amd64-desktop-community-hwe-20.01.00.08) ...
dpkg: 处理归档 /var/cache/apt/archives/linux-image-5.18.17-amd64-desktop-community-hwe_5.18.17-amd64-desktop-community-hwe-20.01.00.10_amd64.deb (--unpack)时出错:
正试图覆盖 /boot/System.map-5.18.17-amd64-desktop-hwe,它同时被包含于软件包 linux-image-5.18.17-amd64-desktop-hwe 5.18.17-amd64-desktop-hwe-20.01.00.01
dpkg-deb: 错误: 粘贴 子进程被信号(断开的管道) 终止了
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.
fix systemd/logind config
在处理时有错误发生:
/var/cache/apt/archives/linux-headers-5.18.17-amd64-desktop-community-hwe_5.18.17-amd64-desktop-community-hwe-20.01.00.10_amd64.deb
/var/cache/apt/archives/linux-image-5.18.17-amd64-desktop-community-hwe_5.18.17-amd64-desktop-community-hwe-20.01.00.10_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

sudo apt autopurge linux-image-5.18.17-amd64-desktop-hwe linux-headers-5.18.17-amd64-desktop-hwe

sudo apt install -f

然后重新更新下试试

Reply View the author
想飞
deepin
2023-08-24 22:32
#5

谢谢大家,已解决,参考 https://bbs.deepin.org/zh/post/259524

Reply View the author
兆兆嘟嘟嘟
deepin
2023-08-24 23:15
#6
想飞

更新 报错

DKMS: uninstall completed.
已删除'/boot/initrd.img-5.18.17-amd64-desktop-community-hwe.old-dkms'
正在解压 linux-image-5.18.17-amd64-desktop-community-hwe (5.18.17-amd64-desktop-community-hwe-20.01.00.10) 并覆盖 (5.18.17-amd64-desktop-community-hwe-20.01.00.08) ...
dpkg: 处理归档 /var/cache/apt/archives/linux-image-5.18.17-amd64-desktop-community-hwe_5.18.17-amd64-desktop-community-hwe-20.01.00.10_amd64.deb (--unpack)时出错:
正试图覆盖 /boot/System.map-5.18.17-amd64-desktop-hwe,它同时被包含于软件包 linux-image-5.18.17-amd64-desktop-hwe 5.18.17-amd64-desktop-hwe-20.01.00.01
dpkg-deb: 错误: 粘贴 子进程被信号(断开的管道) 终止了
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.
fix systemd/logind config
在处理时有错误发生:
/var/cache/apt/archives/linux-headers-5.18.17-amd64-desktop-community-hwe_5.18.17-amd64-desktop-community-hwe-20.01.00.10_amd64.deb
/var/cache/apt/archives/linux-image-5.18.17-amd64-desktop-community-hwe_5.18.17-amd64-desktop-community-hwe-20.01.00.10_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

这应该是内核问题,我也遇到过类似问题,现在还没解决。

Reply View the author
想飞
deepin
2023-08-25 01:54
#7
兆兆嘟嘟嘟

这应该是内核问题,我也遇到过类似问题,现在还没解决。

我的解决了。参考发的那个链接

Reply View the author