在我的Dell Inspiron 15 Gaming 7577机器(第 7 代 Intel,如果相关)上,运行 Linux Mint 21.1 Cinnamon.. 大约一个月后,我在更新脚本输出中看到了这个:
Command: apt-get -o APT::Get::Always-Include-Phased-Updates=true dist-upgrade
--------------------------------------
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
shim-signed
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
考虑到我强制更新分阶段包,以下应该没有帮助/问题:
$ apt-cache policy shim-signed
shim-signed:
Installed: 1.51+15.4-0ubuntu9
Candidate: 1.51.3+15.7-0ubuntu1
Version table:
1.51.3+15.7-0ubuntu1 500 (phased 71%)
500 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
*** 1.51+15.4-0ubuntu9 500
500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages
100 /var/lib/dpkg/status
是否apt
开始忽略该APT::Get::Always-Include-Phased-Updates=true
选项?我不知道。
任何见解都将受到重视,谢谢。
# apt-get --simulate install shim-signed
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
base-files : Conflicts: base-files:i386
base-files:i386 : Conflicts: base-files
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
以上我只是跑来模拟更新,希望对大家有所帮助。
$ apt-cache policy base-files{,:i386}
base-files:
Installed: 21.1.0
Candidate: 21.1.0
Version table:
*** 21.1.0 700
700 http://packages.linuxmint.com vera/upstream amd64 Packages
100 /var/lib/dpkg/status
12ubuntu4.3 500
500 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
12ubuntu4 500
500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages
base-files:i386:
Installed: (none)
Candidate: 12ubuntu4.3
Version table:
12ubuntu4.3 500
500 http://archive.ubuntu.com/ubuntu jammy-updates/main i386 Packages
12ubuntu4 500
500 http://archive.ubuntu.com/ubuntu jammy/main i386 Packages
@Stephen 的评论^^^