[Spacewalk-list] Troubles installing on Debian

Simon Lukasik slukasik at redhat.com
Mon Apr 23 17:35:27 UTC 2012


On 04/23/2012 06:10 PM, Michael Lustfield wrote:
> I'm trying to install the spacewalk client on a Debian system.
> 
> sentinel2:~# rhnreg_ks --serverUrl=http://spacewalk.domain.tld/XMLRPC
> --activationkey=1-deb --force
> Traceback (most recent call last):
>   File "/usr/sbin/rhnreg_ks", line 33, in <module>
>     from up2date_client import rhnreg
>   File "/usr/share/rhn/up2date_client/rhnreg.py", line 14, in <module>
>     import up2dateUtils
>   File "/usr/share/rhn/up2date_client/up2dateUtils.py", line 11, in
> <module>
>     import up2dateErrors
>   File "/usr/share/rhn/up2date_client/up2dateErrors.py", line 188, in
> <module>
>     class SSLCertificateVerifyFailedError(RepoError, Error):
> TypeError: Error when calling the metaclass bases
>     duplicate base class Error
> 

Could You apply the following change to your

    /usr/share/rhn/up2date_client/up2dateErrors.py

and try again? Thank You.

-- 
Simon Lukasik



diff --git
a/client/rhel/rhn-client-tools/src/up2date_client/up2dateErrors.py
b/client/rhel/rhn-client-tools/src/up2date_clien
index 170570d..0a8f677 100644
--- a/client/rhel/rhn-client-tools/src/up2date_client/up2dateErrors.py
+++ b/client/rhel/rhn-client-tools/src/up2date_client/up2dateErrors.py
@@ -67,7 +67,7 @@ class Error(YumBaseError):
                 self.__dict__[name] = value

 if getPlatform() == 'deb' or dist()[0] == 'SuSE':
-    RepoError = Error
+    RepoError = Exception
 else:
     from yum.Errors import RepoError





More information about the Spacewalk-list mailing list