store | blogs | forums | twitter | facebook | wiki | mailing lists | downloads | support portal
Atomic Secure Linux
It is currently Sun May 26, 2013 2:41 am

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic Share/Bookmark  [ 11 posts ] 
Author Message
 Post subject: Centos 5.6
Unread postPosted: Tue Apr 12, 2011 8:53 pm 
Offline
Forum Regular
Forum Regular

Joined: Wed Aug 04, 2010 2:52 pm
Posts: 256
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?


Top
 Profile  
 
 Post subject: Re: Centos 5.6
Unread postPosted: Wed Apr 13, 2011 8:40 am 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7429
Location: earth
take a look through /var/log/yum.log, that should have a timestamped list of everything that was applied during the update


Top
 Profile  
 
 Post subject: Re: Centos 5.6
Unread postPosted: Wed Apr 13, 2011 2:39 pm 
Offline
Forum Regular
Forum Regular

Joined: Wed Aug 04, 2010 2:52 pm
Posts: 256
That list is definitely incomplete.


Top
 Profile  
 
 Post subject: Re: Centos 5.6
Unread postPosted: Wed Apr 13, 2011 5:43 pm 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
User avatar

Joined: Thu Feb 07, 2008 7:49 pm
Posts: 3249
Location: Chantilly, VA
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.

_________________
Michael Shinn
Atomicorp - Security For Everyone

Co-Author of Troubleshooting Linux Firewalls.


Top
 Profile  
 
 Post subject: Re: Centos 5.6
Unread postPosted: Wed Apr 13, 2011 5:49 pm 
Offline
Forum Regular
Forum Regular

Joined: Wed Aug 04, 2010 2:52 pm
Posts: 256
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?


Top
 Profile  
 
 Post subject: Re: Centos 5.6
Unread postPosted: Thu Apr 14, 2011 8:22 am 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7429
Location: earth
yeah run: yum-complete-transaction


Top
 Profile  
 
 Post subject: Re: Centos 5.6
Unread postPosted: Thu Apr 14, 2011 6:24 pm 
Offline
Forum Regular
Forum Regular

Joined: Wed Aug 04, 2010 2:52 pm
Posts: 256
Thank you. installed yum-utils to get the command, then it finished out a "screen" and "tzdata" install.


Top
 Profile  
 
 Post subject: Re: Centos 5.6
Unread postPosted: Thu Apr 14, 2011 6:42 pm 
Offline
Long Time Forum Regular
Long Time Forum Regular

Joined: Sat Aug 20, 2005 9:30 am
Posts: 2812
Location: The Netherlands
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


Top
 Profile  
 
 Post subject: Re: Centos 5.6
Unread postPosted: Thu Apr 14, 2011 6:47 pm 
Offline
Forum Regular
Forum Regular

Joined: Wed Aug 04, 2010 2:52 pm
Posts: 256
Yeah, I was being sarcastic breun. Just figured I'd post it up in case anyone else had problems going to 5.6.


Top
 Profile  
 
 Post subject: Re: Centos 5.6
Unread postPosted: Thu Apr 14, 2011 6:55 pm 
Offline
Long Time Forum Regular
Long Time Forum Regular

Joined: Sat Aug 20, 2005 9:30 am
Posts: 2812
Location: The Netherlands
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


Top
 Profile  
 
 Post subject: Re: Centos 5.6
Unread postPosted: Thu Apr 14, 2011 10:33 pm 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7429
Location: earth
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic Share/Bookmark  [ 11 posts ] 

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group