阿尼樱奈奈
2023-07-24 22:00 Moderator
终端先后执行:sudo apt autopurge linux-image-5.18.17-amd64-desktop-hwe linux-headers-5.18.17-amd64-desktop-hwe
sudo apt install -f
sudo apt update && sudo apt dist-upgrade
Reply Like 0 View the author
终端先后执行:sudo apt autopurge linux-image-5.18.17-amd64-desktop-hwe linux-headers-5.18.17-amd64-desktop-hwe
sudo apt install -f
sudo apt update && sudo apt dist-upgrade
Popular Ranking
ChangePopular Events
More
执行sudo apt upgrade,升级失败,命令行提示如下
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
正在计算更新... 完成
下列软件包的版本将保持不变:
com.qq.weixin.deepin:i386 linux-headers-deepin-hwe-amd64
linux-image-deepin-hwe-amd64下列软件包将被升级:
linux-headers-5.18.17-amd64-desktop-community-hwe
linux-image-5.18.17-amd64-desktop-community-hwe
升级了 2 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 3 个软件包未被升级。
需要下载 0 B/83.0 MB 的归档。
解压缩后将会空出 252 kB 的空间。
您希望继续执行吗? [Y/n]
(正在读取数据库 ... 系统当前共安装有 288572 个文件和目录。)
准备解压 .../linux-headers-5.18.17-amd64-desktop-community-hwe_5.18.17-amd64-desktop-community-hwe-20.01.00.10_amd64.deb ...
正在解压 linux-headers-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-headers-5.18.17-amd64-desktop-community-hwe_5.18.17-amd64-desktop-community-hwe-20.01.00.10_amd64.deb (--unpack)时出错:
正试图覆盖 /usr/share/doc/linux-headers-5.18.17-amd64-desktop-hwe/changelog.Debian.gz,它同时被包含于软件包 linux-headers-5.18.17-amd64-desktop-hwe 5.18.17-amd64-desktop-hwe-20.01.00.01
dpkg-deb: 错误: 粘贴 子进程被信号(断开的管道) 终止了
准备解压 .../linux-image-5.18.17-amd64-desktop-community-hwe_5.18.17-amd64-desktop-community-hwe-20.01.00.10_amd64.deb ...
dkms: removing: broadcom-sta 6.30.223.271 (5.18.17-amd64-desktop-community-hwe) (x86_64)
-------- Uninstall Beginning --------
Module: broadcom-sta
Version: 6.30.223.271
Kernel: 5.18.17-amd64-desktop-community-hwe (x86_64)
Status: Before uninstall, this module version was ACTIVE on this kernel.
wl.ko:
rmdir: 删除目录 'updates' 失败: 目录非空
depmod...
update-initramfs...
DKMS: uninstall completed.
dkms: removing: deepin-anything 0.0 (5.18.17-amd64-desktop-community-hwe) (x86_64)
-------- Uninstall Beginning --------
Module: deepin-anything
Version: 0.0
Kernel: 5.18.17-amd64-desktop-community-hwe (x86_64)
Status: Before uninstall, this module version was ACTIVE on this kernel.
vfs_monitor.ko:
rmdir: 删除 'updates/' 失败: 目录非空
depmod...
DKMS: uninstall completed.
dkms: removing: huawei-wmi 3.2 (5.18.17-amd64-desktop-community-hwe) (x86_64)
-------- Uninstall Beginning --------
Module: huawei-wmi
Version: 3.2
Kernel: 5.18.17-amd64-desktop-community-hwe (x86_64)
Status: Before uninstall, this module version was ACTIVE on this kernel.
huawei-wmi.ko:
rmdir: 删除 'updates/' 失败: 目录非空
depmod...
Removing original_module from DKMS tree for kernel 5.18.17-amd64-desktop-community-hwe (x86_64)
DKMS: uninstall completed.
dkms: removing: rtw89 1.0.3 (5.18.17-amd64-desktop-community-hwe) (x86_64)
-------- Uninstall Beginning --------
Module: rtw89
Version: 1.0.3
Kernel: 5.18.17-amd64-desktop-community-hwe (x86_64)
Status: Before uninstall, this module version was ACTIVE on this kernel.
rtw89pci.ko:
rmdir: 删除 'updates/' 失败: 目录非空
rtw89core.ko:
rmdir: 删除 'updates/' 失败: 目录非空
rtw_8852a.ko:
rmdir: 删除 'updates/' 失败: 目录非空
rtw_8852ae.ko:
rmdir: 删除 'updates/' 失败: 目录非空
depmod...
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: 错误: 粘贴 子进程被信号(断开的管道) 终止了
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)