Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 385593 - app-admin/bcfg2-1.1.2: Tool RPMng unexpectedly failed to load
Summary: app-admin/bcfg2-1.1.2: Tool RPMng unexpectedly failed to load
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: AMD64 Linux
: Normal minor (vote)
Assignee: Michael Weber (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-04 09:52 UTC by Alexandr Tiurin
Modified: 2011-12-16 10:59 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 Alexandr Tiurin 2011-10-04 09:52:05 UTC
eselect python list
Available Python interpreters:
  [1]   python2.7 *
  [2]   python3.1


Reproducible: Always

Steps to Reproduce:
1. run bcfg2 -q -v -n


Actual Results:  
Tool RPMng unexpectedly failed to load
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/Bcfg2/Client/Frame.py", line 88, in __init__
    locals(), ['*']),
  File "/usr/lib64/python2.7/site-packages/Bcfg2/Client/Tools/RPMng.py", line 8, in <module>
    import rpmtools
  File "/usr/lib64/python2.7/site-packages/Bcfg2/Client/Tools/rpmtools.py", line 66, in <module>
    option, pattern = line.split()
ValueError: too many values to unpack
Failed to parse pkg name Unavailable repository 'gnome' referenced by masters entry in '/var/lib/layman/keruspe/meta
data/layout.conf'
Failed to parse pkg name Unavailable repository 'gnome' referenced by masters entry in '/var/lib/layman/keruspe/meta
data/layout.conf'
Loaded tool drivers:
 Action    POSIX     Portage   RcUpdate 

Phase: initial
Correct entries:        0
Incorrect entries:      1
Total managed entries:  1
Unmanaged entries:      1165

In dryrun mode: suppressing entry installation for:
 Path:/etc/motd 

Phase: final
Correct entries:        0
Incorrect entries:      1
 Path:/etc/motd 
Total managed entries:  1
Unmanaged entries:      1165
Comment 1 Mike Gilbert gentoo-dev 2011-10-10 14:27:49 UTC
It looks like you have the "keruspe" overlay installed, but not the "gnome" overlay. The former depends on the latter.

bcfg2 seems to be trying to parse a package name from an error message portage is producing due to the bad overlay configuration.
Comment 2 Michael Weber (RETIRED) gentoo-dev 2011-11-12 15:01:53 UTC
Can you please retest/reopen with versions 1.1.3 or 1.2.0_rc2? 

Thanks
Comment 3 Alexandr Tiurin 2011-12-16 10:59:37 UTC
bcfg2 1.1.3

# bcfg2 -qvn                     
Loaded tool drivers:
 Action    POSIX     Portage   RcUpdate 

Phase: initial
Correct entries:	6
Incorrect entries:	0
Total managed entries:	6
Unmanaged entries:	1244


Phase: final
Correct entries:	6
Incorrect entries:	0
Total managed entries:	6
Unmanaged entries:	1244


bcfg2 1.2.0_rc2

# bcfg2 -qvn
!!! Default action for this module has changed in Gentoolkit 0.3.
!!! Use globbing to simulate the old behavior (see man equery).
!!! Use '*' to check all installed packages.
!!! Use 'foo-bar/*' to filter by category.
!!! Default action for this module has changed in Gentoolkit 0.3.
!!! Use globbing to simulate the old behavior (see man equery).
!!! Use '*' to check all installed packages.
!!! Use 'foo-bar/*' to filter by category.
Loaded tool drivers:
 Action    POSIX     Portage   RcUpdate  VCS      

Phase: initial
Correct entries:	6
Incorrect entries:	0
Total managed entries:	6
Unmanaged entries:	1244


Phase: final
Correct entries:	6
Incorrect entries:	0
Total managed entries:	6
Unmanaged entries:	1244


# layman -l | awk '{print $2}'
amielke-overlay
dev-zero
gnome
init6
keruspe
rion
sabayon