[Others] v20.9 2023-06-19发布的更新 一直更新失败(安装失败)
Tofloor
poster avatar
HuaGCS
deepin
2023-06-28 18:59
Author

截图_dde-control-center_20230628105458.png

Reply Favorite View the author
All Replies
阿尼樱奈奈
Moderator
2023-06-28 19:09
#1

用终端 sudo apt update && sudo apt upgrade 试试。

Reply View the author
catubibu
deepin
2023-06-28 19:14
#2

刚更新,没问题

Reply View the author
xuqi
deepin testing team
2023-06-28 19:16
#3
  • 可以看看终端更新有什么报错~
Reply View the author
babyfengfjx
Super Moderator
CQA
2023-06-28 19:18
#4

通过一楼提供的命令,在终端中执行,看看具体报什么错误,检查是否有添加第三方源导致这个源无法访问,如果有就手动屏蔽一下再更新就行。

Reply View the author
Lyn_x
deepin
2023-06-28 19:51
#5

我的也是如此,查看了论坛很多人都是这样,个人猜测都是装了edge的用户吧?还没有确认楼上的方法是否合适,因为不着急,本来我自己这个系统就是一个看视频的。能更新最好,更新不了就算了。

如果预计升级会有冲突,我觉得在发布前就应该做好“错误管理”,尽可能不把升级不了的解决办法推给用户。

尊重用户,这样才能发展地更好。

Reply View the author
阿尼樱奈奈
Moderator
2023-06-28 20:42
#6
Lyn_x

我的也是如此,查看了论坛很多人都是这样,个人猜测都是装了edge的用户吧?还没有确认楼上的方法是否合适,因为不着急,本来我自己这个系统就是一个看视频的。能更新最好,更新不了就算了。

如果预计升级会有冲突,我觉得在发布前就应该做好“错误管理”,尽可能不把升级不了的解决办法推给用户。

尊重用户,这样才能发展地更好。

我也装了edge,然而我的更新系统一切正常

Reply View the author
HuaGCS
deepin
2023-06-28 21:29
#7
babyfengfjx

通过一楼提供的命令,在终端中执行,看看具体报什么错误,检查是否有添加第三方源导致这个源无法访问,如果有就手动屏蔽一下再更新就行。

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)
Reply View the author
HuaGCS
deepin
2023-06-28 21:46
#8
Lyn_x

我的也是如此,查看了论坛很多人都是这样,个人猜测都是装了edge的用户吧?还没有确认楼上的方法是否合适,因为不着急,本来我自己这个系统就是一个看视频的。能更新最好,更新不了就算了。

如果预计升级会有冲突,我觉得在发布前就应该做好“错误管理”,尽可能不把升级不了的解决办法推给用户。

尊重用户,这样才能发展地更好。

我这倒是没装edge 不过装了Chrome 但这个应该不会影响到系统更新才对

Reply View the author
HuaGCS
deepin
2023-06-28 23:02
#9
xuqi
  • 可以看看终端更新有什么报错~
root@Hua-PC:/home/Hua# sudo apt update && sudo apt upgrade

命中:2 https://pro-driver-packages.uniontech.com eagle InRelease
命中:1 https://home-store-img.uniontech.com/230628100451119/appstore deepin InRelease
命中:3 https://dl.google.com/linux/chrome/deb stable InRelease
命中:4 https://community-packages.deepin.com/deepin apricot InRelease
命中:5 https://community-packages.deepin.com/driver driver InRelease
命中:6 https://community-packages.deepin.com/printer eagle InRelease
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
有 2 个软件包可以升级。请执行 ‘apt list --upgradable’ 来查看它们。
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
正在计算更新... 完成
下列软件包是自动安装的并且现在不需要了:
freeglut3
使用'sudo apt autoremove'来卸载它(它们)。
下列软件包将被升级:
linux-headers-5.18.17-amd64-desktop-community-hwe linux-image-5.18.17-amd64-desktop-community-hwe
升级了 2 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。
有 3 个软件包没有被完全安装或卸载。
需要下载 0 B/83.0 MB 的归档。
解压缩后将会空出 252 kB 的空间。
您希望继续执行吗? [Y/n] y
(正在读取数据库 ... 系统当前共安装有 302004 个文件和目录。)
准备解压 .../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/dkms' 失败: 目录非空
- 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: nvidia-current 510.85.02 (5.18.17-amd64-desktop-community-hwe) (x86_64)

-------- Uninstall Beginning --------
Module:  nvidia-current
Version: 510.85.02
Kernel:  5.18.17-amd64-desktop-community-hwe (x86_64)
-----------------------------------------------------

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

nvidia-current.ko:

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

nvidia-current-modeset.ko:

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

nvidia-current-drm.ko:

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

nvidia-current-peermem.ko:

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

nvidia-current-uvm.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...

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
babyfengfjx
Super Moderator
CQA
2023-06-29 00:03
#10

从日志内容上看,你当前这个系统安装的5.18版本内核包名与最新仓库中提供的包名存在冲突;

可能原因是:

  • 手动安装过 linux-headers-5.18.17-amd64-desktop-hwe 内核;
  • 安装的系统镜像可能是V20.9之前的版本,然后选择了5.18版本内核;

因后期针对此内核做了包名的变更,从而部分设备会出现类似情况,接下来研发会提供兼容方案更新,来兼容此类场景,当然也可以手动卸载掉5.18内核,然后重新手动安装即可。

Reply View the author
阿尼樱奈奈
Moderator
2023-06-29 00:20
#11
HuaGCS
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)

5.15内核也有一样的情况,后面我是重装系统解决的

Reply View the author
HuaGCS
deepin
2023-06-29 05:02
#12
阿尼樱奈奈

5.15内核也有一样的情况,后面我是重装系统解决的

我等一波兼容更新 现在deepin已经是我生产力电脑的系统了

Reply View the author
ThinKinG
deepin testing team
2023-06-30 00:04
#13
It has been deleted!
ThinKinG
deepin testing team
2023-06-30 00:05
#14

今天我们修复了,升级失败的情况,原因是内核包名依赖冲突了

之前用户一旦更新过,且失败了,下次更新的时候需要用户手动输入进行升级,且操作过程中不要重启电脑系统:

sudo dpkg --remove 当前内核 ,

然后输入:sudo apt install -f 后,

输入: sudo apt update

输入:sudo apt dist-upgrade

进行升级

Reply View the author
HuaGCS
deepin
2023-06-30 19:20
#15
ThinKinG

今天我们修复了,升级失败的情况,原因是内核包名依赖冲突了

之前用户一旦更新过,且失败了,下次更新的时候需要用户手动输入进行升级,且操作过程中不要重启电脑系统:

sudo dpkg --remove 当前内核 ,

然后输入:sudo apt install -f 后,

输入: sudo apt update

输入:sudo apt dist-upgrade

进行升级

感谢 已经可以正常使用了

Reply View the author