Re: [CentOS] Yum update corrupted something badly - can only get access through SSH terminal or Webmin

2009-04-23 Thread Ralph Angenendt
Lanny Marcus wrote: On 4/22/09, Les Mikesell lesmikes...@gmail.com wrote: Michael Holmes wrote: snip I have always wondered about the sanity of using python for system administration tools, but this should be a yum file in /usr/share/yum-cli/. I found i18n on my CentOS 5.3 Desktop. It's

Re: [CentOS] Yum update corrupted something badly - can only get access through SSH terminal or Webmin

2009-04-23 Thread Ralph Angenendt
Rob Kampen wrote: there was an issue with the update to 5.3 in that the glibc libraries needed to be updated prior to the remainder otherwise rpm had issues - this is probably what yum is choking on No. Completely different beast. Ralph pgpaWPCBnHWcP.pgp Description: PGP signature

Re: [CentOS] Yum update corrupted something badly - can only get access through SSH terminal or Webmin

2009-04-23 Thread Toby Bluhm
Dan Roberts wrote: Ok - something truly bad appears to have happened.Yes, I will concede that cycling the system was a bad thing - but after two hours it should have returned from the update, still I was bad. There are indeed updates that it wants - and I went back to the site to

Re: [CentOS] Yum update corrupted something badly - can only get access through SSH terminal or Webmin

2009-04-23 Thread Lanny Marcus
On Wed, Apr 22, 2009 at 1:46 PM, Dan Roberts d...@jlazyh.com wrote: I will start reading again and striving to improve things.  I have previously taken steps to secure the server, and was under the impression that it was so. Dan: After you get the server running properly again, you might go to

Re: [CentOS] Yum update corrupted something badly - can only get access through SSH terminal or Webmin

2009-04-22 Thread Dan Roberts
thanks for the details - As the server lives in a closet without a monitor on it or even easy access I opted for Webmin so as to have the ability to get in and work with it. I will resubscribe and get back into a better habit - I had been checking every day a year ago, and then life got

Re: [CentOS] Yum update corrupted something badly - can only get access through SSH terminal or Webmin

2009-04-22 Thread Rob Kampen
Dan Roberts wrote: thanks for the details - As the server lives in a closet without a monitor on it or even easy access I opted for Webmin so as to have the ability to get in and work with it. I will resubscribe and get back into a better habit - I had been checking every day a year

Re: [CentOS] Yum update corrupted something badly - can only get access through SSH terminal or Webmin

2009-04-22 Thread Dan Roberts
Hmmm - # rpm -uv glibc* -uv: unknown option Ok - so I go with -Uv instead # rpm -Uv glibc* error: File not found by glob: glibc* But this is strange because I know that glib-2.0 is there - fairly easy to confirm - is something missing? # locate glibc /usr/lib/glib-2.0/include/glibconfig.h

Re: [CentOS] Yum update corrupted something badly - can only get access through SSH terminal or Webmin

2009-04-22 Thread Les Mikesell
Jim Perrin wrote: So you probably missed the notes and announcements about the 5.3 release, as well as the release notes about upgrade hiccups. You guys just have to screw up more often to keep everyone on their toes. -- Les Mikesell lesmikes...@gmail.com

Re: [CentOS] Yum update corrupted something badly - can only get access through SSH terminal or Webmin

2009-04-22 Thread Richard Foltyn
Dan Roberts wrote: thanks for the details - As the server lives in a closet without a monitor on it or even easy access I opted for Webmin so as to have the ability to get in and work with it. I think most people on this list would recommend using ssh + screen for remote administration, not

Re: [CentOS] Yum update corrupted something badly - can only get access through SSH terminal or Webmin

2009-04-22 Thread Craig White
On Wed, 2009-04-22 at 13:28 -0500, Les Mikesell wrote: Jim Perrin wrote: So you probably missed the notes and announcements about the 5.3 release, as well as the release notes about upgrade hiccups. You guys just have to screw up more often to keep everyone on their toes. that

Re: [CentOS] Yum update corrupted something badly - can only get access through SSH terminal or Webmin

2009-04-22 Thread Michael Holmes
2009/4/22 Dan Roberts d...@jlazyh.com: thanks for the details - As the server lives in a closet without a monitor on it or even easy access I opted for Webmin so as to have the ability to get in and work with it. I will resubscribe and get back into a better habit - I had been checking every

Re: [CentOS] Yum update corrupted something badly - can only get access through SSH terminal or Webmin

2009-04-22 Thread Dan Roberts
Given the mess that I have already got, would you care to provide a clear list of the steps to do that - I certainly don't want to blow a hole in something else by mistake. On Apr 22, 2009, at 12:37 PM, Michael Holmes wrote: 2009/4/22 Dan Roberts d...@jlazyh.com: thanks for the details -

Re: [CentOS] Yum update corrupted something badly - can only get access through SSH terminal or Webmin

2009-04-22 Thread Lanny Marcus
On Wed, Apr 22, 2009 at 12:48 PM, Dan Roberts d...@jlazyh.com wrote: thanks for the details - As the server lives in a closet without a monitor on it or even easy access I opted for Webmin so as to have the ability to get in and work with it. There are other ways you can get into a headless

Re: [CentOS] Yum update corrupted something badly - can only get access through SSH terminal or Webmin

2009-04-22 Thread Les Mikesell
Craig White wrote: On Wed, 2009-04-22 at 13:28 -0500, Les Mikesell wrote: Jim Perrin wrote: So you probably missed the notes and announcements about the 5.3 release, as well as the release notes about upgrade hiccups. You guys just have to screw up more often to keep everyone on their toes.

Re: [CentOS] Yum update corrupted something badly - can only get access through SSH terminal or Webmin

2009-04-22 Thread Dan Roberts
Thanks - I will start reading again and striving to improve things. I have previously taken steps to secure the server, and was under the impression that it was so. that aside - I can't run the command you suggest because any yum operation results in the same error message. # yum clean

Re: [CentOS] Yum update corrupted something badly - can only get access through SSH terminal or Webmin

2009-04-22 Thread Michael Holmes
2009/4/22 Dan Roberts d...@jlazyh.com: Given the mess that I have already got, would you care to provide a clear list of the steps to do that - I certainly don't want to blow a hole in something else by mistake. Can you tell me what version Python is? A simple python -v (without quotes of

Re: [CentOS] Yum update corrupted something badly - can only get access through SSH terminal or Webmin

2009-04-22 Thread Lanny Marcus
On Wed, Apr 22, 2009 at 1:46 PM, Dan Roberts d...@jlazyh.com wrote: I will start reading again and striving to improve things.  I have previously taken steps to secure the server, and was under the impression that it was so. I hope so. If not, you have a tiger by the tail. that aside - I

Re: [CentOS] Yum update corrupted something badly - can only get access through SSH terminal or Webmin

2009-04-22 Thread Michael Holmes
2009/4/22 Lanny Marcus lmmailingli...@gmail.com: On Wed, Apr 22, 2009 at 1:46 PM, Dan Roberts d...@jlazyh.com wrote: I will start reading again and striving to improve things.  I have previously taken steps to secure the server, and was under the impression that it was so. I hope so. If not,

Re: [CentOS] Yum update corrupted something badly - can only get access through SSH terminal or Webmin

2009-04-22 Thread Lanny Marcus
On 4/22/09, Michael Holmes holmesm...@googlemail.com wrote: 2009/4/22 Lanny Marcus lmmailingli...@gmail.com: On Wed, Apr 22, 2009 at 1:46 PM, Dan Roberts d...@jlazyh.com wrote: I will start reading again and striving to improve things. I have previously taken steps to secure the server, and

Re: [CentOS] Yum update corrupted something badly - can only get access through SSH terminal or Webmin

2009-04-22 Thread Les Mikesell
Dan Roberts wrote: that aside - I can't run the command you suggest because any yum operation results in the same error message. # yum clean all yum update glibc\* yum update Traceback (most recent call last): File /usr/bin/yum, line 28, in ? import yummain File

Re: [CentOS] Yum update corrupted something badly - can only get access through SSH terminal or Webmin

2009-04-22 Thread Lanny Marcus
On 4/22/09, Dan Roberts d...@jlazyh.com wrote: I will start reading again and striving to improve things. I have previously taken steps to secure the server, and was under the impression that it was so. If you were only updating every month or so, impossible for the server to have been secure

Re: [CentOS] Yum update corrupted something badly - can only get access through SSH terminal or Webmin

2009-04-22 Thread Les Mikesell
Michael Holmes wrote: On Wed, Apr 22, 2009 at 1:46 PM, Dan Roberts d...@jlazyh.com wrote: I will start reading again and striving to improve things. I have previously taken steps to secure the server, and was under the impression that it was so. I hope so. If not, you have a tiger by the

Re: [CentOS] Yum update corrupted something badly - can only get access through SSH terminal or Webmin

2009-04-22 Thread Dan Roberts
My current version of python appears to be python 2.4.3 python - v (without quotes returned a slue of lines, but near the bottom it said Python 2.4.3 (#1, Jan 21 2009, 01:10:13) [GCC 4.1.2 20071124 (Red Hat 4.1.2-42)] on linux2 As to the question below - I have that directory, but not that

Re: [CentOS] Yum update corrupted something badly - can only get access through SSH terminal or Webmin

2009-04-22 Thread Lanny Marcus
On 4/22/09, Les Mikesell lesmikes...@gmail.com wrote: On Wed, Apr 22, 2009 at 1:46 PM, Dan Roberts d...@jlazyh.com wrote: snip that aside - I can't run the command you suggest because any yum operation results in the same error message. # yum clean all yum update glibc\* yum update

Re: [CentOS] Yum update corrupted something badly - can only get access through SSH terminal or Webmin

2009-04-22 Thread Lanny Marcus
On 4/22/09, Les Mikesell lesmikes...@gmail.com wrote: Michael Holmes wrote: snip I have always wondered about the sanity of using python for system administration tools, but this should be a yum file in /usr/share/yum-cli/. I found i18n on my CentOS 5.3 Desktop. It's in /etc/sysconfig/

Re: [CentOS] Yum update corrupted something badly - can only get access through SSH terminal or Webmin

2009-04-22 Thread Toby Bluhm
Les Mikesell wrote: Dan Roberts wrote: that aside - I can't run the command you suggest because any yum operation results in the same error message. # yum clean all yum update glibc\* yum update Traceback (most recent call last): File /usr/bin/yum, line 28, in ? import

Re: [CentOS] Yum update corrupted something badly - can only get access through SSH terminal or Webmin

2009-04-22 Thread Les Mikesell
Dan Roberts wrote: My current version of python appears to be python 2.4.3 python - v (without quotes returned a slue of lines, but near the bottom it said Python 2.4.3 (#1, Jan 21 2009, 01:10:13) [GCC 4.1.2 20071124 (Red Hat 4.1.2-42)] on linux2 As to the question below - I have that

Re: [CentOS] Yum update corrupted something badly - can only get access through SSH terminal or Webmin

2009-04-22 Thread Dan Roberts
Yes - I have it in that location too - but clearly it is not getting found by yum On Apr 22, 2009, at 1:23 PM, Lanny Marcus wrote: On 4/22/09, Les Mikesell lesmikes...@gmail.com wrote: Michael Holmes wrote: snip I have always wondered about the sanity of using python for system

Re: [CentOS] Yum update corrupted something badly - can only get access through SSH terminal or Webmin

2009-04-22 Thread Kwan Lowe
On Wed, Apr 22, 2009 at 12:47 PM, Dan Roberts d...@jlazyh.com wrote: Hey there - This morning I ran the yum updater through Webmin as I do every month or so - after about two hours I realized that I still had the same updating screen going - and no response.   Seemed strange. Simple

Re: [CentOS] Yum update corrupted something badly - can only get access through SSH terminal or Webmin

2009-04-22 Thread Filipe Brandenburger
Hi, On Wed, Apr 22, 2009 at 15:17, Dan Roberts d...@jlazyh.com wrote: As to the question below - I have that directory, but not that file. yum-3.2.8-9.el5.centos.2.1 (from CentOS 5.2) has /usr/share/yum-cli/i18n.py yum-3.2.19-18.el5.centos (from CentOS 5.3) no longer has that file. Probably

Re: [CentOS] Yum update corrupted something badly - can only get access through SSH terminal or Webmin

2009-04-22 Thread Filipe Brandenburger
On Wed, Apr 22, 2009 at 15:23, Lanny Marcus lmmailingli...@gmail.com wrote: I have always wondered about the sanity of using python for system administration tools, but this should be a yum file in /usr/share/yum-cli/. I found i18n on my CentOS 5.3 Desktop. It's in /etc/sysconfig/ The

Re: [CentOS] Yum update corrupted something badly - can only get access through SSH terminal or Webmin

2009-04-22 Thread Dan Roberts
Hi Filipe - Clearly I have indeed got things broken - # rpm -q yum package yum is not installed So I downloaded the rpm for a reinstall as you suggested - but clearly I have more to get and install - I downloaded to my home directory and ran the rpm -Uvh from there # rpm -Uvh --force

Re: [CentOS] Yum update corrupted something badly - can only get access through SSH terminal or Webmin

2009-04-22 Thread Filipe Brandenburger
Hi, On Wed, Apr 22, 2009 at 15:40, Dan Roberts d...@jlazyh.com wrote: # rpm -Uvh --force yum-3.2.19-18.el5.centos.noarch.rpm error: Failed dependencies:        rpm = 0:4.4.2 is needed by yum-3.2.19-18.el5.centos.noarch        rpm-python is needed by yum-3.2.19-18.el5.centos.noarch        

Re: [CentOS] Yum update corrupted something badly - can only get access through SSH terminal or Webmin

2009-04-22 Thread Craig White
On Wed, 2009-04-22 at 13:40 -0600, Dan Roberts wrote: Hi Filipe - Clearly I have indeed got things broken - # rpm -q yum package yum is not installed So I downloaded the rpm for a reinstall as you suggested - but clearly I have more to get and install - I downloaded to my home

Re: [CentOS] Yum update corrupted something badly - can only get access through SSH terminal or Webmin

2009-04-22 Thread Les Mikesell
Filipe Brandenburger wrote: Hi, On Wed, Apr 22, 2009 at 15:40, Dan Roberts d...@jlazyh.com wrote: # rpm -Uvh --force yum-3.2.19-18.el5.centos.noarch.rpm error: Failed dependencies: rpm = 0:4.4.2 is needed by yum-3.2.19-18.el5.centos.noarch rpm-python is needed by

Re: [CentOS] Yum update corrupted something badly - can only get access through SSH terminal or Webmin

2009-04-22 Thread Filipe Brandenburger
Hi, On Wed, Apr 22, 2009 at 16:00, Craig White craigwh...@azapple.com wrote: I wouldn't recommend that you use '--force' for any rpm commands unless you know what you're doing. I suggested the --force just in case the RPM database already had the yum package registered, but the package was

Re: [CentOS] Yum update corrupted something badly - can only get access through SSH terminal or Webmin

2009-04-22 Thread Dan Roberts
Ok - something truly bad appears to have happened.Yes, I will concede that cycling the system was a bad thing - but after two hours it should have returned from the update, still I was bad. There are indeed updates that it wants - and I went back to the site to get them, but then things

Re: [CentOS] Yum update corrupted something badly - can only get access through SSH terminal or Webmin

2009-04-22 Thread Craig White
On Wed, 2009-04-22 at 16:06 -0400, Filipe Brandenburger wrote: Hi, On Wed, Apr 22, 2009 at 16:00, Craig White craigwh...@azapple.com wrote: I wouldn't recommend that you use '--force' for any rpm commands unless you know what you're doing. I suggested the --force just in case the RPM

Re: [CentOS] Yum update corrupted something badly - can only get access through SSH terminal or Webmin

2009-04-22 Thread Craig White
On Wed, 2009-04-22 at 15:05 -0500, Les Mikesell wrote: Once yum is basically working you might be able to yum install yum-utils and yum-complete-transaction to pick up where you left off. I had to do this on one box where the update process kicked me off and died with a bunch of duplicate

Re: [CentOS] Yum update corrupted something badly - can only get access through SSH terminal or Webmin

2009-04-22 Thread William L. Maltby
On Wed, 2009-04-22 at 14:06 -0600, Dan Roberts wrote: snip I know very little about this, but maybe Felipe et al can fill in the holes. I recall times that folks on the list indicated an rpm rebuild db be done. Is that possibly needed here? Did the glibc get updated? If so/not what should be

Re: [CentOS] Yum update corrupted something badly - can only get access through SSH terminal or Webmin

2009-04-22 Thread Filipe Brandenburger
Hi, On Wed, Apr 22, 2009 at 16:06, Dan Roberts d...@jlazyh.com wrote: There are indeed updates that it wants - and I went back to the site to get them, but then things continue to show up as missing. # rpm -Uvh --force rpm-4.4.2-48.el5.i386.rpm error: Failed dependencies:        

Re: [CentOS] Yum update corrupted something badly - can only get access through SSH terminal or Webmin

2009-04-22 Thread Les Mikesell
Craig White wrote: On Wed, 2009-04-22 at 15:05 -0500, Les Mikesell wrote: Once yum is basically working you might be able to yum install yum-utils and yum-complete-transaction to pick up where you left off. I had to do this on one box where the update process kicked me off and died with

Re: [CentOS] Yum update corrupted something badly - can only get access through SSH terminal or Webmin

2009-04-22 Thread Craig White
On Wed, 2009-04-22 at 15:37 -0500, Les Mikesell wrote: Craig White wrote: On Wed, 2009-04-22 at 15:05 -0500, Les Mikesell wrote: Once yum is basically working you might be able to yum install yum-utils and yum-complete-transaction to pick up where you left off. I had to do this on

Re: [CentOS] Yum update corrupted something badly - can only get access through SSH terminal or Webmin

2009-04-22 Thread Scott Silva
on 4-22-2009 11:18 AM Dan Roberts spake the following: Hmmm - # rpm -uv glibc* -uv: unknown option Ok - so I go with -Uv instead # rpm -Uv glibc* error: File not found by glob: glibc* But this is strange because I know that glib-2.0 is there - fairly easy to confirm - is something