Dear Marc and Aron,

On Wed, Sep 02, 2009 at 12:50:18AM +0200, Marc Fournier wrote:
> I had the same error message when using "mach" and "yum" today, and found
> out that a guy also reported this problem in #538178.
> 
> In my case, this was easily solved by removing the files in
> /usr/lib/python2.5/site-packages/rpm/ (which didn't belong to any installed
> package):
> 
> lrwxrwxrwx  1 root root   36 2008-05-22 13:54 _rpmmodule.a -> 
> /usr/share/pyshared/rpm/_rpmmodule.a
> lrwxrwxrwx  1 root root   37 2008-05-22 13:54 _rpmmodule.la -> 
> /usr/share/pyshared/rpm/_rpmmodule.la
> lrwxrwxrwx  1 root root   35 2008-05-22 13:54 __init__.py -> 
> /usr/share/pyshared/rpm/__init__.py
> 
> Maybe it would be an idea to investigate why different people have their
> rpm-related python package get broken because of some (apparently)
> generated files ?
> 
> Let me know if can be of any help !

I have reason to believe that this is just a side effect of the
following bug in RPM:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=545720

Since that bug in RPM has been fixed, upgrading RPM should remove that
cruft, and, therefore, this bug shouldn't occur again. As a test case,
you can install the Lenny version of rpm and upgrade to the current
squeeze/sid version, and things should work fine.

Please let me know if this works for you.

Thanks!

Kumar
-- 
Your idol is shattered in the dust to prove that God's dust is greater than 
your idol.
- Rabindranath Tagore (Stray Birds, 1916)

Attachment: signature.asc
Description: Digital signature

Reply via email to