Hide Forgot
Description of problem: sosreport requires rpm-python but that is not a dependency of the sos rpm Version-Release number of selected component (if applicable): sos-2.2-2.el6.noarch How reproducible: every time Steps to Reproduce: 1. remove rpm-python (if installed) 2. install sos 3. attempt to run sos Actual results: Traceback (most recent call last): File "/usr/sbin/sosreport", line 18, in <module> from sos.sosreport import sosreport, doExitCode File "/usr/lib/python2.6/site-packages/sos/sosreport.py", line 40, in <module> import sos.policyredhat File "/usr/lib/python2.6/site-packages/sos/policyredhat.py", line 31, in <module> import rpm ImportError: No module named rpm Expected results: sos should run
Since RHEL 6.1 External Beta has begun, and this bug remains unresolved, it has been rejected as it is not proposed as exception or blocker. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux.
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Previously, when sos was run without the rpm-python package installed, the sosreport program terminated with a traceback. With this update, the rpm-python package has been added into the sos spec file as a required package and this bug no longer occurs.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2011-0773.html