yum errors

Bill Fink yellowdog-general@lists.terrasoftsolutions.com
Wed Jun 16 19:59:01 2004


Hi Norberto,

It sounds like you got something corrupted in yum.  Try the following:

	mv /etc/yum.conf /etc/yum.conf-
	mv /var/cache/yum /var/cache/yum-

Then uninstall and re-install yum.  You may also need to rebuild the
RPM database with "rpm --rebuilddb".

						-Bill



On Wed Jun 16 2004, Norberto Quintanar wrote:

> I've tried that already, no dice.  yum in combination with any known
> command produces the same error.  I've even tried:
> 
> yum sucks yum
> 
> Nope, same error.
> 
> --- Andrew  wrote:
> > On Wed, 2004-06-16 at 18:58, Norberto Quintanar wrote:
> > 
> > I ran once into such a problem. It was not the very same error
> > tho...
> > AFAIR, 'yum install yum' resolved it.
> > 
> > > ---problem---
> > > [root@localhost nquintanar]# yum "anything" "anything 
> > > I get the following error
> > > Traceback (most recent call last):
> > > 
> > >   File "/usr/bin/yum", line 36, in ?
> > >     if not os.path.exists('/proc/' + oldpid):
> > >   File "/usr/lib/python2.2/posixpath.py", line 171, in exists
> > >     st = os.stat(path)
> > > TypeError: stat() argument 1 must be (encoded string without NULL
> > > bytes), not str
> > > ---problem---=
> > > 
> > > I've tried to clean out headers, yum info, etc... I think you get
> > the
> > > picture.