Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 400949 - app-admin/bcfg2 1.2.0_rc2 - importerror no module named rpmtools (missing dependency on sys-apps/yum)
Summary: app-admin/bcfg2 1.2.0_rc2 - importerror no module named rpmtools (missing dep...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michael Weber (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
: 400953 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-01-26 19:12 UTC by andrew
Modified: 2012-06-05 21:36 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description andrew 2012-01-26 19:12:25 UTC
This is not a very technical report because its an "importerror no module named rpmtools" sort of a report. 

Adding a few lines to ./site-packages/Bcfg2/Client/Tools/RPMng.py, 
"import yum" and 
"from yum import rpmtools" resolved the issue. I notified the bcfg2 irc channel as well, I am just not sure if this is the kind of thing Gentoo-devs are writing patches for or not, since our yum is masked and bcfg2 works on other platforms. 

nbd, TY for Gentoo
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-01-27 16:03:05 UTC
*** Bug 400953 has been marked as a duplicate of this bug. ***
Comment 2 Michael Weber (RETIRED) gentoo-dev 2012-04-14 10:24:45 UTC
Hello andrew,

can you please check this issue with version 1.2.0 or (better) version 1.2.2?

Have you filed an bug in upstreams bug tracker? Can you add the link here, please?

Thanks
Comment 3 Michael Weber (RETIRED) gentoo-dev 2012-06-04 23:40:45 UTC
rpmtools exists as 

/usr/lib64/python2.7/site-packages/Bcfg2/Client/Tools/rpmtools.py
from this package.
Comment 4 andrew 2012-06-05 21:36:23 UTC
Confirmed fixed in 1.2.2