Centos 5.6

General Discussion of atomic repo and development projects.

Ask for help here with anything else not covered by other forums.
premierhosting
Forum Regular
Forum Regular
Posts: 257
Joined: Wed Aug 04, 2010 2:52 pm

Centos 5.6

Unread post 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?
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: Centos 5.6

Unread post by scott »

take a look through /var/log/yum.log, that should have a timestamped list of everything that was applied during the update
premierhosting
Forum Regular
Forum Regular
Posts: 257
Joined: Wed Aug 04, 2010 2:52 pm

Re: Centos 5.6

Unread post by premierhosting »

That list is definitely incomplete.
User avatar
mikeshinn
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 4155
Joined: Thu Feb 07, 2008 7:49 pm
Location: Chantilly, VA

Re: Centos 5.6

Unread post 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.
premierhosting
Forum Regular
Forum Regular
Posts: 257
Joined: Wed Aug 04, 2010 2:52 pm

Re: Centos 5.6

Unread post 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?
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: Centos 5.6

Unread post by scott »

yeah run: yum-complete-transaction
premierhosting
Forum Regular
Forum Regular
Posts: 257
Joined: Wed Aug 04, 2010 2:52 pm

Re: Centos 5.6

Unread post by premierhosting »

Thank you. installed yum-utils to get the command, then it finished out a "screen" and "tzdata" install.
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Re: Centos 5.6

Unread post 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.
Lemonbit Internet Dedicated Server Management
premierhosting
Forum Regular
Forum Regular
Posts: 257
Joined: Wed Aug 04, 2010 2:52 pm

Re: Centos 5.6

Unread post 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.
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Re: Centos 5.6

Unread post 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.
Lemonbit Internet Dedicated Server Management
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: Centos 5.6

Unread post 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
Post Reply