python error with yum on F11

Mark Perew mperew at gmail.com
Wed Oct 21 02:30:09 UTC 2009


On Tue, Oct 20, 2009 at 9:18 AM, steve <steve at lonetwin.net> wrote:

> Hmm, yeah, that indeed is weird. Note that since the file size is way too
> small (smaller than the /optimized/ .pyo), i doubt it is even a recompiled
> file. You may want to either run a rpm -Va or check the filesystem for all
> files modified on that date (ref, find -mtime), if you really are curious.
>
> If you care only about making yum work, you can of course delete the .pyc,
> which would cause yum (or any other python script that uses subprocess.py)
> to recreate it the next time subprocess is imported ...tho' you probably
> knew that already.


I do use python, but I'm new to it.  Your comment about the .pyc being
recompiled was a great reminder.  Thank you.

rpm -Va python only flaged that one file.

I did mv it, and then ran yum successfully.

This was all an excellent reminder of how to properly troubleshoot these
kinds of problems.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20091020/4237ed01/attachment-0001.htm>


More information about the fedora-list mailing list