I happens that I wish to upgrade apache, and I know there is an update available.So, I follow the advice given:
# yum update httpdSetting up Update ProcessCould not find update match for httpdNo Packages marked for Update
Ok, that’s not working. Let’s try this:
# yum clean allCleaning up Everything# yum update httpdfedora 100% |=========================| 2.1 kB 00:00 primary.sqlite.bz2 100% |=========================| 5.8 MB 00:02 updates 100% |=========================| 2.6 kB 00:00 primary.sqlite.bz2 100% |=========================| 2.2 kB 00:00 Setting up Update ProcessCould not find update match for httpdNo Packages marked for Update
No dice.
I browsed the repo, and sure enough the update is there. Why won’t yum find it?
Eventually after a bunch of googling, I found this answer.
# yum upgradeSetting up Upgrade ProcessResolving Dependencies--> Running transaction check---> Package fedora-release.noarch 0:8-6.transition set to be updated--> Finished Dependency ResolutionDependencies Resolved============================================================================= Package Arch Version Repository Size =============================================================================Updating: fedora-release noarch 8-6.transition updates 31 kTransaction Summary=============================================================================Install 0 Package(s) Update 1 Package(s) Remove 0 Package(s) Total download size: 31 kIs this ok [y/N]: yDownloading Packages:(1/1): fedora-release-8-6 100% |=========================| 31 kB 00:00 Running rpm_check_debugRunning Transaction TestFinished Transaction TestTransaction Test SucceededRunning Transaction Updating : fedora-release ######################### [1/2] Cleanup : fedora-release ######################### [2/2] Updated: fedora-release.noarch 0:8-6.transitionComplete![root@c100586 yum.repos.d]# yum update httpdupdates-newkey 100% |=========================| 2.3 kB 00:00 primary.sqlite.bz2 100% |=========================| 4.6 MB 00:01 Setting up Update ProcessResolving Dependencies--> Running transaction check---> Package httpd.x86_64 0:2.2.9-1.fc8 set to be updated--> Processing Dependency: httpd-tools = 2.2.9-1.fc8 for package: httpd--> Processing Dependency: httpd = 2.2.6-3 for package: httpd-manual--> Processing Dependency: httpd = 2.2.6-3 for package: mod_ssl--> Running transaction check---> Package httpd-tools.x86_64 0:2.2.9-1.fc8 set to be updated---> Package mod_ssl.x86_64 1:2.2.9-1.fc8 set to be updated---> Package httpd-manual.x86_64 0:2.2.9-1.fc8 set to be updated--> Finished Dependency ResolutionDependencies Resolved============================================================================= Package Arch Version Repository Size =============================================================================Updating: httpd x86_64 2.2.9-1.fc8 updates-newkey 983 kUpdating for dependencies: httpd-manual x86_64 2.2.9-1.fc8 updates-newkey 832 k httpd-tools x86_64 2.2.9-1.fc8 updates-newkey 68 k mod_ssl x86_64 1:2.2.9-1.fc8 updates-newkey 86 kTransaction Summary=============================================================================Install 0 Package(s) Update 4 Package(s) Remove 0 Package(s) Total download size: 1.9 MIs this ok [y/N]:
That’s better.
Really, it was totally unclear from any documentation that I could find that I would need to run yum upgrade.
Advertisements
Thanks for the post, a life saver. Spent hours looking for upgrading httdp to the latest version 2.2.9 and my yum wouldn’t show it!You were spot on, a "yum update fedora-release" and it sorted the whole thing out.Thanks a million!Brian