为什么我的软件包无法使用 yum 升级?
我正在尝试在 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我知道这看起来很愚蠢,但是您尝试删除它并重新安装吗?
那么
您也可以尝试更新所有内容:
...如果存储库中没有标记更新,您可以尝试:
i know this seems silly but did you try removing it and reinstalling?
then
alternatively you could try updating everything:
...if their is no update marked in the repository you might try:
如果您查看存储库包目录的列表
链接到 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.
好吧,我明白了。 我需要升级
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.