求助,系统更新失败
Tofloor
poster avatar
ghi666
deepin
2020-10-16 20:52
Author
本帖最后由 ghi666 于 2020-10-18 17:24 编辑

如题,系统更新失败,具体如图,怀疑是不是以前处理WiFi问题时自己安装的iwlwifi包造成了冲突。
有没有大佬能解答一下,后续该怎么处理,
上传不了图片  信息如下



ghi@ghi-PC:~$ sudo apt-get upgrade
正在读取软件包列表... 完成
正在分析软件包的依赖关系树      
正在读取状态信息... 完成      
正在计算更新... 完成
下列软件包是自动安装的并且现在不需要了:
  libgee-0.8-2
使用'sudo apt autoremove'来卸载它(它们)。
下列软件包将被升级:
  linux-firmware
升级了 1 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。
需要下载 0 B/98.9 MB 的归档。
解压缩后会消耗 538 kB 的额外空间。
您希望继续执行吗? [Y/n] y
(正在读取数据库 ... 系统当前共安装有 236314 个文件和目录。)
准备解压 .../linux-firmware_1.187.3_all.deb  ...
正在解压 linux-firmware (1.187.3) 并覆盖 (1.187) ...
dpkg: 处理归档 /var/cache/apt/archives/linux-firmware_1.187.3_all.deb (--unpack)时出错:
正试图覆盖 /lib/firmware/intel/ibt-11-5.ddc,它同时被包含于软件包 firmware-iwlwifi 20200817-1
dpkg-deb: 错误: 粘贴 子进程被信号(断开的管道) 终止了
update-initramfs: Generating /boot/initrd.img-5.7.7-amd64-desktop
cryptsetup: WARNING: The initramfs image may not contain cryptsetup binaries
    nor crypto modules. If that's on purpose, you may want to uninstall the
    'cryptsetup-initramfs' package in order to disable the cryptsetup initramfs
    integration and avoid this warning.
W: plymouth: The plugin label.so is missing, the selected theme might not work as expected.
W: plymouth: You might want to install the plymouth-themes package to fix this.
I: The initramfs will attempt to resume from /dev/nvme0n1p3
I: (UUID=bc90c61a-141f-410b-9246-8e22ff85147a)
I: Set the RESUME variable to override this.
在处理时有错误发生:
/var/cache/apt/archives/linux-firmware_1.187.3_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)10.18
问题貌似解决了
问题原因好像就是因为当时 为了解决 wifi问题,强制重写 了 一些包把
帖子链接
wifi断连问题
当时根据论坛一位大佬解决的,没想到还会遇到问题
解决方法,
upgrade 下载完成之后 ,
直接利用 dpkg --force overwrite  安装包



Reply Favorite View the author
All Replies
ghi666
deepin
2020-10-16 20:54
#1
这样 好像后续更新 都收不到了 ,一直卡在这了?
Reply View the author
jingle
deepin
2020-10-16 21:10
#2
删除下 后试试
/var/cache/apt/archives/linux-firmware_1.187.3_all.deb
Reply View the author
ghi666
deepin
2020-10-16 21:26
#3
https://bbs.deepin.org/post/203921
删除下 后试试
/var/cache/apt/archives/linux-firmware_1.187.3_all.deb

试过了,不行
Reply View the author
jingle
deepin
2020-10-18 17:35
#4

那wiki.deepin.org 搜索下 error code
Reply View the author
mickeybull
deepin
2020-10-18 18:57
#5
重新来一次吧,记得把硬盘的预留空间调大一点。
Reply View the author
Ziggy
deepin
2020-10-18 20:00
#6
sudo dpkg --configure -a
Reply View the author