[Spacewalk-list] RHEL6 - Spacewalk - MREPO

Glen Collins glenc2004 at comcast.net
Tue Sep 30 18:58:08 UTC 2014


Hello all.

   I'm running into an issue of using mrepo so I can sync repos' If I install mrepo 0.8.7-2.el6 from from the EPEL I get issues running gensystemid:

[root at xxxxxxx mrepo-master]# gensystemid -u rhnuser -p rhnpassword -r 6Server /var/mrepo/rhel6s-x86_64/
/usr/share/mrepo/up2date_client/up2dateUtils.py:16: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import md5
gensystemid: Architecture not supplied, using system architecture x86_64
gensystemid: Release name 6Server is not a known RHN release.
[root at xxxxxx mrepo-master]# gensystemid -u rhnuser -p rhnpassword -r 5Server /var/mrepo/rhel6s-x86_64/
/usr/share/mrepo/up2date_client/up2dateUtils.py:16: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import md5
gensystemid: Architecture not supplied, using system architecture x86_64
Traceback (most recent call last):
  File "/usr/bin/gensystemid", line 270, in <module>
    main()
  File "/usr/bin/gensystemid", line 237, in main
    except rpclib.Fault, f:
AttributeError: 'module' object has no attribute 'Fault'

So does anyone know if there is a good update to mrepo for RHEL6? I have also tried the GIT version of MREPO and the version from another source using mrepo-0.8.8-0.pre1.el6.rft.noarch.rpm and installing rhpl-0.221-2.el6.rf.x86_64.rpm. Still no luck any way. I know this is an issue with Redhat removing support for RHPL and changes to the underlying infrastructure in RHEL6. So if anyone has found a solution to using mrepo with RHEL 6.5, can you please post links or whatever you may have?

Thanks!

Glen Collins




More information about the Spacewalk-list mailing list