[Seek Help] 系统更新安装一直失败
Tofloor
poster avatar
yangmengke
deepin
2021-07-06 19:27
Author

应用也更新不了,系统更新安装一直安装失败

Reply Favorite View the author
All Replies
avatar
Ziggy
deepin
2021-07-06 20:35
#1

sudo apt update && sudo apt upgrade看报错

Reply View the author
avatar
sun
deepin
2021-07-06 23:48
#2
It has been deleted!
avatar
sun
deepin
2021-07-06 23:48
#3
Ziggy

sudo apt update && sudo apt upgrade看报错

sun@sun-PC:~$ sudo apt update && sudo apt upgrade
请输入密码:
验证成功
命中:1 http://packages.microsoft.com/repos/code stable InRelease
命中:2 https://community-packages.deepin.com/deepin apricot InRelease                                                                                                                                          
命中:4 https://community-packages.deepin.com/printer eagle InRelease                                                                                
获取:3 https://home-store-img.uniontech.com/appstore eagle InRelease [5,292 B]                                                                                        
命中:5 https://repo.steampowered.com/steam stable InRelease                                                                                  
命中:6 https://linux.teamviewer.com/deb stable InRelease
已下载 5,292 B,耗时 1秒 (6,061 B/s)
sh: 1: /usr/bin/deepin-app-store-pkgcache: not found
正在读取软件包列表... 完成
正在分析软件包的依赖关系树       
正在读取状态信息... 完成       
有 14 个软件包可以升级。请执行 ‘apt list --upgradable’ 来查看它们。
E: dpkg 被中断,您必须手工运行 ‘sudo dpkg --configure -a’ 解决此问题。
sun@sun-PC:~$ sudo dpkg --configure -a
dpkg: 错误: 正在解析文件 '/var/lib/dpkg/updates/0002' 第 0 行附近:
 在字段名 #padding 中有换行符
Reply View the author
avatar
sun
deepin
2021-07-06 23:55
#4

删掉0002文件后执行

正在设置 linux-image-5.12.14-amd64-desktop (5.12.14-amd64-desktop-1) ...
Error!  The dkms.conf for this module includes a BUILD_EXCLUSIVE directive which
does not match this kernel/arch.  This indicates that it should not be built.
update-initramfs: Generating /boot/initrd.img-5.12.14-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.
setupcon is missing. Please install the 'console-setup' package.
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/sda4
I: (UUID=da5cf319-8b68-4010-8813-fd843d4a7642)
I: Set the RESUME variable to override this.
live-boot: core filesystems devices utils udev blockdev dns.
fix systemd/logind config
Reply View the author