[Seek Help] 20.9社区版系统总是更新失败
Tofloor
poster avatar
#
deepin
2023-08-29 01:09
Author

请问这是怎么回事,一直是这样,无法更新

截图_选择区域_20230828170829.png

Reply Favorite View the author
All Replies
babyfengfjx
Super Moderator
CQA
2023-08-29 01:17
#1
sudo apt update && sudo apt dist-upgrade 

终端执行上述命令,看具体报错信息,先确认一下是否手动添加过第三方源,如果有可以先屏蔽掉。

提供终端输出完整信息,贴出来,大家会告诉你如何处理。

Reply View the author
#
deepin
2023-08-29 17:59
#2
babyfengfjx
sudo apt update && sudo apt dist-upgrade 

终端执行上述命令,看具体报错信息,先确认一下是否手动添加过第三方源,如果有可以先屏蔽掉。

提供终端输出完整信息,贴出来,大家会告诉你如何处理。

嗯,我确实添加了第三方的清华源,换成官方源后解决了升级失败的问题,谢谢

Reply View the author
dinggenfeng
deepin
2024-01-03 18:06
#3
babyfengfjx
sudo apt update && sudo apt dist-upgrade 

终端执行上述命令,看具体报错信息,先确认一下是否手动添加过第三方源,如果有可以先屏蔽掉。

提供终端输出完整信息,贴出来,大家会告诉你如何处理。

你好,我这也是更新失败,能帮忙看下吗

sudo apt dist-upgrade 
正在读取软件包列表... 完成
正在分析软件包的依赖关系树       
正在读取状态信息... 完成       
正在计算更新... 完成
下列软件包的版本将保持不变:
  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 个软件包,有 2 个软件包未被升级。
需要下载 0 B/83.0 MB 的归档。
解压缩后将会空出 252 kB 的空间。
您希望继续执行吗? [Y/n] Y
(正在读取数据库 ... 系统当前共安装有 377605 个文件和目录。)
准备解压 .../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//
 - 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: rtl8814au 5.8.5.1 (5.18.17-amd64-desktop-community-hwe) (x86_64)

-------- Uninstall Beginning --------
Module:  rtl8814au
Version: 5.8.5.1
Kernel:  5.18.17-amd64-desktop-community-hwe (x86_64)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

8814au.ko:
 - Uninstallation
   - Deleting from: /lib/modules/5.18.17-amd64-desktop-community-hwe/kernel/drivers/net/wireless/
rmdir: 删除 'kernel/drivers/net/wireless' 失败: 目录非空
 - 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: rtl8852be 1.15.10.0.2 (5.18.17-amd64-desktop-community-hwe) (x86_64)

-------- Uninstall Beginning --------
Module:  rtl8852be
Version: 1.15.10.0.2
Kernel:  5.18.17-amd64-desktop-community-hwe (x86_64)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

8852be.ko:
 - Uninstallation
   - Deleting from: /lib/modules/5.18.17-amd64-desktop-community-hwe/kernel/drivers/net/wireless/
rmdir: 删除 'kernel/drivers/net/wireless' 失败: 目录非空
 - 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 View the author
zeno
deepin developers team
2024-01-05 09:42
#4

强制卸载掉内核重新安装,或者卸载掉去装其他版本内核

Reply View the author