But that's not all you have to do.

I was looking around for instructions on how to easily upgrade my CentOS 6.0 installation to CentOS 6.2, and found (on a website I'm not going to cite) that I could just do

# yum --releasever=6.1 update

(and then -- since I never, ever try to jump two minor versions in one try -- reboot and do it again with releasever set to 6.2). Cool. Did that. Rebooted again of course.

Then ran "yum update" to make sure I'd caught all the recent post-release updates, and got tons and tons and tons of 404 errors that seemed to be related to the fact that yum was still looking for 6.0 repositories.

I don't do this enough to really know what's up with that, but I am smart enough to know to check /etc/yum.conf and the repository files found in /etc/yum.repos.d to make sure they're singing in tune (which they were) and to check /etc/redhat-release and /etc/centos-release, and all that shite, so when that didn't shed any light I did some more Googling and found out that I should also have done

# yum clean all

before rebooting, and that would have CLEANED OUT THE FUCKING REPO LIST and solved the problem.

And the guy whose page I found the original update command on styles himself a pro. Yeesh.

Archives

OpenID accepted here Learn more about OpenID
Powered by Movable Type 5.2.9