在我的戴尔Inspiron 15游戏7577机器(第7代英特尔如果相关的话),运行Linux 21.1肉桂。在大约一个月的时间里,我在更新脚本输出中看到了这一点:
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/statusapt是否开始忽略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的评论^
发布于 2023-03-06 11:24:15
shim-signed最近发生的变化之一是这种依赖关系:
grub-efi-amd64-signed (>= 1.191~) | grub-efi-arm64-signed (>= 1.191~) | base-files (<< 12.3)分离的最后一部分是引起问题的部分:由于Linux发布了21.1.0版本的base-files,因此无法满足要求。apt认为base-files:i386可能满足这个约束:因为Mint没有发布该包的i386版本,所以候选版本是Ubuntu版本;但是系统的其他部分需要base-files:amd64,因此无法解决由此产生的冲突,这导致了涉及i386的某种令人吃惊的错误。
如果您真的想升级shim-signed,可以尝试安装grub-efi-amd64-signed,但我不知道这对您启动系统的能力有什么影响。就我个人而言,我会忽略升级(我知道,这对我来说很容易,我没有运行Mint)。
https://unix.stackexchange.com/questions/738796
复制相似问题