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

Uwe Kastens kiste at kiste.org
Mon Nov 9 07:34:02 UTC 2015


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
-------------- 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/713afd1c/attachment.sig>


More information about the Spacewalk-list mailing list