首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >她的签名永远不会更新

她的签名永远不会更新
EN

Unix & Linux用户
提问于 2023-03-06 06:22:12
回答 1查看 596关注 0票数 1

在我的戴尔Inspiron 15游戏7577机器(第7代英特尔如果相关的话),运行Linux 21.1肉桂。在大约一个月的时间里,我在更新脚本输出中看到了这一点:

代码语言:javascript
复制
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.

考虑到我强制进行分阶段更新的软件包,以下内容应该没有帮助/问题:

代码语言:javascript
复制
$ 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选项?我不知道。

任何洞察力都是有价值的,谢谢。

代码语言:javascript
复制
# 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.

以上我只是运行模拟更新,我希望它有助于您帮助我。

代码语言:javascript
复制
$ 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的评论^

EN

回答 1

Unix & Linux用户

回答已采纳

发布于 2023-03-06 11:24:15

shim-signed最近发生的变化之一是这种依赖关系:

代码语言:javascript
复制
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)。

票数 2
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/738796

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档