[Spacewalk-list] fixed Re: issue with repo-sync on centos7 and spacewalk2.4

Uwe Kastens kiste at kiste.org
Mon Nov 9 07:57:06 UTC 2015


Hi again,

pip install --upgrade six

solved the issue for me. I have no idea if this might have impacts on the installation.

Regards

Kiste


> Am 09.11.2015 um 08:44 schrieb Uwe Kastens <kiste at kiste.org>:
> 
> Hi again,
> 
> Could be related to https://bugzilla.redhat.com/show_bug.cgi?id=1278677
> 
> python-debian 0.1.27 requires python-six >= 1.4
> 
> 
>> Am 09.11.2015 um 08:34 schrieb Uwe Kastens <kiste at kiste.org>:
>> 
>> Good morning,
>> 
>> I am new to spacewalk and trying to setup channels and repos. If I try to sync with repo-sync the following error occurs.
>> There is another posting on the list with the same error. Any hints how to debug this further?
>> 
>> /usr/bin/spacewalk-repo-sync --channel  centos7_64bit --type yum
>> ======================================
>> | Channel: centos7_64bit
>> ======================================
>> Traceback (most recent call last):
>> File "/usr/bin/spacewalk-repo-sync", line 218, in <module>
>>   sys.exit(abs(main() or 0))
>> File "/usr/bin/spacewalk-repo-sync", line 210, in main
>>   latest=options.latest)
>> File "/usr/lib/python2.7/site-packages/spacewalk/satellite_tools/reposync.py", line 174, in __init__
>>   self.repo_plugin = self.load_plugin(repo_type)
>> File "/usr/lib/python2.7/site-packages/spacewalk/satellite_tools/reposync.py", line 241, in load_plugin
>>   mod = __import__('spacewalk.satellite_tools.repo_plugins', globals(), locals(), [name])
>> File "/usr/lib/python2.7/site-packages/spacewalk/satellite_tools/repo_plugins/__init__.py", line 18, in <module>
>>   from spacewalk.server import rhnPackageUpload
>> File "/usr/lib/python2.7/site-packages/spacewalk/server/rhnPackageUpload.py", line 20, in <module>
>>   from spacewalk.common import rhn_mpm, rhn_deb, rhn_pkg
>> File "/usr/lib/python2.7/site-packages/spacewalk/common/rhn_deb.py", line 23, in <module>
>>   from debian import debfile
>> File "/usr/lib/python2.7/site-packages/debian/debfile.py", line 27, in <module>
>>   from debian.deb822 import Deb822
>> File "/usr/lib/python2.7/site-packages/debian/deb822.py", line 1481, in <module>
>>   @six.add_metaclass(_ClassInitMeta)
>> AttributeError: 'module' object has no attribute ‚add_metaclass'
>> 
>> Kind Regards
>> 
>> Kiste
>> _______________________________________________
>> Spacewalk-list mailing list
>> Spacewalk-list at redhat.com
>> https://www.redhat.com/mailman/listinfo/spacewalk-list
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20151109/d035b5d5/attachment.sig>


More information about the Spacewalk-list mailing list