[OT] Yum and other internet cr@p

Bill Fink yellowdog-general@lists.terrasoftsolutions.com
Thu Jun 17 23:17:01 2004


Hi Norberto,

On Thu Jun 17 2004, Norberto Quintanar wrote:

> Then I repaired the rpm database using:
> 
> rpm -vv --rebuilddb
> 
> -vv gives you a visaul to the rebuild
> 
> after all that I removed yum again rebuilt it 
> 
> and voila:
> 
> 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
> 
> No dice.

Does your /var/run/yum.pid happen to contain any weird characters?
Try removing it.  And make sure /proc is still mounted.  Also tail
/var/log/messages to make sure you aren't having any hardware problems.

						-Bill