[Kernel/Drive] 更新出错
Tofloor
poster avatar
Breeze
deepin
2023-06-24 18:22
Author

近期的内核更新报错,更新方式: sudo apt full-upgrade

准备解压 .../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:
 - Uninstallation
   - Deleting from: /lib/modules/5.18.17-amd64-desktop-community-hwe/updates/dkms/
rmdir: 删除目录 'updates' 失败: 目录非空
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

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:
 - Uninstallation
   - Deleting from: /lib/modules/5.18.17-amd64-desktop-community-hwe/updates//
rmdir: 删除 'updates/' 失败: 目录非空
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

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:
 - Uninstallation
   - Deleting from: /lib/modules/5.18.17-amd64-desktop-community-hwe/updates//
rmdir: 删除 'updates/' 失败: 目录非空
 - Original module
   - Archived original module found in the DKMS tree
   - Moving it to: /lib/modules/5.18.17-amd64-desktop-community-hwe/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:
 - Uninstallation
   - Deleting from: /lib/modules/5.18.17-amd64-desktop-community-hwe/updates//
rmdir: 删除 'updates/' 失败: 目录非空
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


rtw89core.ko:
 - Uninstallation
   - Deleting from: /lib/modules/5.18.17-amd64-desktop-community-hwe/updates//
rmdir: 删除 'updates/' 失败: 目录非空
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


rtw_8852a.ko:
 - Uninstallation
   - Deleting from: /lib/modules/5.18.17-amd64-desktop-community-hwe/updates//
rmdir: 删除 'updates/' 失败: 目录非空
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


rtw_8852ae.ko:
 - Uninstallation
   - Deleting from: /lib/modules/5.18.17-amd64-desktop-community-hwe/updates//
rmdir: 删除 'updates/' 失败: 目录非空
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

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)

Reply Favorite View the author
All Replies
青稚
Moderator
2023-06-24 19:06
#1

卸载重装一下内核就好了。

Reply View the author