Bug 457803
| Summary: | preupgrade RPM missing dependency on gtk (or missing documentation on console usage) | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Daniel Wang <daniel2196> |
| Component: | preupgrade | Assignee: | Seth Vidal <skvidal> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | low | Docs Contact: | |
| Priority: | medium | ||
| Version: | 9 | CC: | eparis, wwoods |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2008-11-26 06:13:12 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: | |||
*** Bug 457968 has been marked as a duplicate of this bug. *** Also like to point out from the other bug that just got dupped in.
Traceback (most recent call last):
File "/usr/share/preupgrade/preupgrade-cli.py", line 26, in <module>
import preupgrade
File "/usr/lib/python2.5/site-packages/preupgrade/__init__.py", line 27, in
<module>
import xf86config
ImportError: No module named xf86config
Install pyxf86config.x86_64
These are both fixed in bzr. A new preupgrade release will appear soonish. Before F10, anyway. preupgrade-0.9.8-2.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 preupgrade'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F8/FEDORA-2008-8545 preupgrade-0.9.8-2.fc9 has been pushed to the Fedora 9 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 preupgrade'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2008-8576 preupgrade-0.9.9-1.fc9 has been pushed to the Fedora 9 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 preupgrade'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2008-8576 preupgrade-0.9.9-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 preupgrade'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F8/FEDORA-2008-8545 preupgrade-1.0.0-1.fc10 has been submitted as an update for Fedora 10. http://admin.fedoraproject.org/updates/preupgrade-1.0.0-1.fc10 preupgrade-1.0.0-1.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report. preupgrade-1.0.0-1.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report. preupgrade-1.0.0-1.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: The RPMs for preupgrade on Fedora 9 and Rawhide (as of 8/4/08) lack an explicit dependency on GTK. This is a pretty trivial bug, which only means that yum will let you install preupgrade without making you install its dependencies. Version-Release number of selected component (if applicable): 0.9.3-3.fc9 0.9.3-3.fc10 How reproducible: Every time. Steps to Reproduce: 1. On a system without GTK installed, "yum install preupgrade". yum happily installs preupgrade without pulling in any additional dependencies. 2. Try "preupgrade" or "preupgrade --help" Actual results: Traceback (most recent call last): File "/usr/share/preupgrade/preupgrade-gtk.py", line 19, in <module> import gtk File "/usr/lib/python2.5/site-packages/gtk-2.0/gtk/__init__.py", line 79, in <module> _init() File "/usr/lib/python2.5/site-packages/gtk-2.0/gtk/__init__.py", line 67, in _init _gtk.init_check() RuntimeError: could not open display Expected results: Maybe there's an option to run preupgrade w/o GTK, but I couldn't figure it out using "preupgrade --help" or by checking in /usr/share/doc/preupgrade-0.9.3 or http://fedoraproject.org/wiki/Features/PreUpgrade . If I'm not mistaken, this means that I should get warned about needing GTK when installing preupgrade, or that preupgrade should have a non-gtk-requiring mode whose usage I can grok w/o peeping at its source-code. Additional info: This seems pretty trivial to fix (by adding a dep to the .spec), but not too important overall. Impact is low, but I thought someone should know.