Centos 5.6
-
- Forum Regular
- Posts: 257
- Joined: Wed Aug 04, 2010 2:52 pm
Centos 5.6
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?
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?
-
- Atomicorp Staff - Site Admin
- Posts: 8355
- Joined: Wed Dec 31, 1969 8:00 pm
- Location: earth
- Contact:
Re: Centos 5.6
take a look through /var/log/yum.log, that should have a timestamped list of everything that was applied during the update
-
- Forum Regular
- Posts: 257
- Joined: Wed Aug 04, 2010 2:52 pm
Re: Centos 5.6
That list is definitely incomplete.
- mikeshinn
- Atomicorp Staff - Site Admin
- Posts: 4155
- Joined: Thu Feb 07, 2008 7:49 pm
- Location: Chantilly, VA
Re: Centos 5.6
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.
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.
Michael Shinn
Atomicorp - Security For Everyone
Atomicorp - Security For Everyone
-
- Forum Regular
- Posts: 257
- Joined: Wed Aug 04, 2010 2:52 pm
Re: Centos 5.6
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?
-
- Atomicorp Staff - Site Admin
- Posts: 8355
- Joined: Wed Dec 31, 1969 8:00 pm
- Location: earth
- Contact:
Re: Centos 5.6
yeah run: yum-complete-transaction
-
- Forum Regular
- Posts: 257
- Joined: Wed Aug 04, 2010 2:52 pm
Re: Centos 5.6
Thank you. installed yum-utils to get the command, then it finished out a "screen" and "tzdata" install.
-
- Long Time Forum Regular
- Posts: 2813
- Joined: Sat Aug 20, 2005 9:30 am
- Location: The Netherlands
Re: Centos 5.6
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.premierhosting wrote:Did something dumb today. yum update.
Lemonbit Internet Dedicated Server Management
-
- Forum Regular
- Posts: 257
- Joined: Wed Aug 04, 2010 2:52 pm
Re: Centos 5.6
Yeah, I was being sarcastic breun. Just figured I'd post it up in case anyone else had problems going to 5.6.
-
- Long Time Forum Regular
- Posts: 2813
- Joined: Sat Aug 20, 2005 9:30 am
- Location: The Netherlands
Re: Centos 5.6
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.
P.S. All of our CentOS 5 servers updated to 5.6 without any problems whatsoever.
Lemonbit Internet Dedicated Server Management
-
- Atomicorp Staff - Site Admin
- Posts: 8355
- Joined: Wed Dec 31, 1969 8:00 pm
- Location: earth
- Contact:
Re: Centos 5.6
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