为什么我的软件包无法使用 yum 升级?

发布于 2024-07-05 06:27:45 字数 978 浏览 9 评论 0原文

我正在尝试在 Fedora 8 上使用 yum 升级软件包。该软件包是 elfutils。 这是我在本地安装的:

$ yum info elfutils
Installed Packages
Name   : elfutils
Arch   : x86_64
Version: 0.130
Release: 3.fc8
Size   : 436 k
Repo   : installed
Summary: A collection of utilities and DSOs to handle compiled objects

这个版本有一个错误,根据 错误报告,较新的版本已推送到 Fedora 8 稳定存储库。 但是,如果我尝试更新:

$ yum update elfutils
Setting up Update Process
Could not find update match for elfutils
No Packages marked for Update

这是我的存储库:

$ yum repolist enabled
repo id              repo name                                 status
InstallMedia         Fedora 8                                  enabled
fedora               Fedora 8 - x86_64                         enabled
updates              Fedora 8 - x86_64 - Updates               enabled

我缺少什么?

I'm trying to upgrade a package using yum on Fedora 8. The package is elfutils. Here's what I have installed locally:

$ yum info elfutils
Installed Packages
Name   : elfutils
Arch   : x86_64
Version: 0.130
Release: 3.fc8
Size   : 436 k
Repo   : installed
Summary: A collection of utilities and DSOs to handle compiled objects

There's a bug in this version, and according to the bug report, a newer version has been pushed to the Fedora 8 stable repository. But, if I try to update:

$ yum update elfutils
Setting up Update Process
Could not find update match for elfutils
No Packages marked for Update

Here are my repositories:

$ yum repolist enabled
repo id              repo name                                 status
InstallMedia         Fedora 8                                  enabled
fedora               Fedora 8 - x86_64                         enabled
updates              Fedora 8 - x86_64 - Updates               enabled

What am I missing?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

≈。彩虹 2024-07-12 06:27:46

我知道这看起来很愚蠢,但是您尝试删除它并重新安装吗?

yum remove elfutils

那么

yum install elfutils

您也可以尝试更新所有内容:

yum update

...如果存储库中没有标记更新,您可以尝试:

yum upgrade

i know this seems silly but did you try removing it and reinstalling?

yum remove elfutils

then

yum install elfutils

alternatively you could try updating everything:

yum update

...if their is no update marked in the repository you might try:

yum upgrade
墨洒年华 2024-07-12 06:27:46

如果您查看存储库包目录的列表

链接到 Fedora 存储库

您将看到该目录中有最新版本,这就是 yum 不升级您的软件包的原因。 这在 i386 和 x86_64 包目录中是相同的。 因此,您没有看到更新的原因是存储库中还没有更新的版本。 错误报告中关于存储库中有新版本的通知不正确。

If you look at the listing of the repository packages directory at

Link to Fedora Repository

You will see that you have the latest version in that directory, which is why yum is not upgrading your package. This is the same in both the i386 and x86_64 package directories. So the reason that you are not seeing an update is that there is not a more current version in the repository yet. The notification in the bug report that a new version is in the repository is incorrect.

长途伴 2024-07-12 06:27:45

好吧,我明白了。 我需要升级 fedora-release 包。 这让我可以看到所有更新的软件包。 感谢 ethyreal 向我指出 Yum 升级常见问题解答。

OK, I figured it out. I needed to upgrade the fedora-release package. That allowed me to see all of the updated packages. Thanks to ethyreal for pointing me to the Yum upgrade FAQ.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文