Page 1 of 1
Centos 5.6
Posted: Tue Apr 12, 2011 8:53 pm
by premierhosting
Did something dumb today. yum update.
Yeah. That was stressful. Had to console in, remove krb5 files and force a reinstall of the package, and reinstall coreutils. Of course I didn't know that when the problems started.
Any suggestions on how to determine if any *additional* packages are incompletely installed? Also, noticed that I have multiple versions of some packages (like coreutils and krb5-libs). Any quick ideas on how to find multiple versions?
Re: Centos 5.6
Posted: Wed Apr 13, 2011 8:40 am
by scott
take a look through /var/log/yum.log, that should have a timestamped list of everything that was applied during the update
Re: Centos 5.6
Posted: Wed Apr 13, 2011 2:39 pm
by premierhosting
That list is definitely incomplete.
Re: Centos 5.6
Posted: Wed Apr 13, 2011 5:43 pm
by mikeshinn
yum will log anything it changes, but only what you change thru yum. If you changed anything through another tool you may not have a record. Did you upgrade your OS just using yum?
If you believe there is an error in what yum is logging I recommend you try to recreate the upgrade, save the contents of the upgrade messages and open a bug report with Redhat and/or Centos that yum isnt logging things correctly. That would be a pretty serious bug.
Re: Centos 5.6
Posted: Wed Apr 13, 2011 5:49 pm
by premierhosting
Good point. When the thing locked up and I got back into it, nothing would work so I reinstalled the RPMs from the yum cache using rpm. That explains it. Any other ideas on how to find dupes?
Re: Centos 5.6
Posted: Thu Apr 14, 2011 8:22 am
by scott
yeah run: yum-complete-transaction
Re: Centos 5.6
Posted: Thu Apr 14, 2011 6:24 pm
by premierhosting
Thank you. installed yum-utils to get the command, then it finished out a "screen" and "tzdata" install.
Re: Centos 5.6
Posted: Thu Apr 14, 2011 6:42 pm
by breun
premierhosting wrote:Did something dumb today. yum update.
Actually that's usually a pretty smart thing to do. Sorry to hear that you had a bad experience, but saying running yum update is a dumb thing to do is just generally bad advice.
Re: Centos 5.6
Posted: Thu Apr 14, 2011 6:47 pm
by premierhosting
Yeah, I was being sarcastic breun. Just figured I'd post it up in case anyone else had problems going to 5.6.
Re: Centos 5.6
Posted: Thu Apr 14, 2011 6:55 pm
by breun
I guess I knew you were, but not everyone might get that. People read things like that on the internet and decide that updating their servers is just a way to mess up something that's working fine. I thought I'd clear that up for those people.
P.S. All of our CentOS 5 servers updated to 5.6 without any problems whatsoever.
Re: Centos 5.6
Posted: Thu Apr 14, 2011 10:33 pm
by scott
Its tools like yum-complete-transaction that take the danger out of it. As far as I know, no other distro has anything like it