Re: python error with yum on F11

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Oct 20, 2009 at 9:18 AM, steve <steve@xxxxxxxxxxxx> 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.
-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux