Bug 416731
| Summary: | Pirut Crashes During Opening | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Dave <dcatkin> | ||||
| Component: | yum-utils | Assignee: | Seth Vidal <skvidal> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | urgent | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | 8 | CC: | lmacken, pmatilai, rsandu2004, tim.lauridsen | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | i386 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | 1.1.10-1.fc7 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2008-01-15 22:53:44 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Dave
2007-12-08 19:10:56 UTC
Created attachment 282081 [details]
Pirut bug report
Thanks for the bug report, Dave. Could you please try downloading this file and copying it to /usr/lib/yum-plugins, and see if that fixes it. http://lmacken.fedorapeople.org/tmp/fastestmirror.py My computer also had the problem with pirut that is described above, with the same line numbers in the python code. I followed the instructions in Comment #2 after renaming my 'fastestmirror.py' and 'fastestmirror.pyc' files. I was then able to start 'pirut' via the Applications|Add/Remove Software menu item without any errors. My setup is different from the above in that I have a different set of repositories and I am running Fedora 8 on the x86_64 platform. $ rpm -q pirut pirut-1.3.28-1.fc8.noarch $ rpm -q yum-fastestmirror yum-fastestmirror-1.1.9-1.fc8.noarch $ rpm -q yum yum-3.2.8-2.fc8.noarch $ rpm -q rpm rpm-4.4.2.2-7.fc8.x86_64 That seems to answer the question. *** Bug 426923 has been marked as a duplicate of this bug. *** This problem has returned with the recent update to the 'yum-fastestmirror' RPM package. At the start of pirut, a python stack traceback is generated with nearly the same line numbers as the originally attached log. I downloaded the suggested fix at http://lmacken.fedorapeople.org/tmp/fastestmirror.py again, and again copied it over the file in /usr/lib/yum-plugins. This again resolved the problem, i.e., pirut starts without error. Here are some relevant details: $ rpm -qf /usr/lib/yum-plugins/fastestmirror.py yum-fastestmirror-1.1.9-2.fc8.noarch $ diff /usr/lib/yum-plugins/fastestmirror.py /tmp/fastestmirror.py 97c97,98 < conduit.info(2, " * %s: %s" % (str(repo), host(repo.urls[0]))) --- > if len(repo.urls): > conduit.info(2, " * %s: %s" % (str(repo), host(repo.urls[0]))) I have just build a yum-utils-1.1.10 there contains an updated fastestmirror.py fixing this issue, it should be hitting updates-testing at next push. yum-utils-1.1.10-1.fc8 has been pushed to the Fedora 8 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update yum-utils' yum-utils-1.1.10-1.fc7 has been pushed to the Fedora 7 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update yum-utils' yum-utils-1.1.10-1.fc7 has been pushed to the Fedora 7 stable repository. If problems still persist, please make note of it in this bug report. yum-utils-1.1.10-1.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report. |