[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Spacewalk-list] Debian registration error - NameError: name 'Error' is not defined



Hi,
i have spacewalk 1.6 server on Oracle... i have no problem registration with centos clients....
and now  i want register debian client. I use this steps:
https://fedorahosted.org/spacewalk/wiki/RegisteringClients#Debian

root triton:~# apt-get update
all ok

root triton:~# apt-get install apt-spacewalk rhnsd rhnpush
Čtu seznamy balíků… Hotovo
Vytvářím strom závislostí
Čtu stavové informace… Hotovo
Následující extra balíky budou instalovány:
  chkconfig consolekit dbus hal hal-info libck-connector0 libdbus-1-3 libdbus-glib-1-2 libeggdbus-1-0 libelf1 libffi5 libhal-storage1 libhal1 libnl1
  libnspr4-0d libnss3-1d libpam-ck-connector libpciaccess0 libpolkit-gobject-1-0 libpython2.6 librpm1 librpmbuild1 librpmio1 libx86-1 pm-utils
  powermgmt-base python-dbus python-dmidecode python-ethtool python-gobject python-libxml2 python-newt python-openssl python-rhn-client-tools python-rhnlib
  python-rpm radeontool rhn-functions rpm-common vbetool
Navrhované balíky:
  rhncfg osad dbus-x11 gnome-device-manager cpufrequtils python-dbus-doc python-dbus-dbg python-gobject-dbg python-openssl-doc python-openssl-dbg
Následující NOVÉ balíky budou nainstalovány:
  apt-spacewalk chkconfig consolekit dbus hal hal-info libck-connector0 libdbus-1-3 libdbus-glib-1-2 libeggdbus-1-0 libelf1 libffi5 libhal-storage1 libhal1
  libnl1 libnspr4-0d libnss3-1d libpam-ck-connector libpciaccess0 libpolkit-gobject-1-0 libpython2.6 librpm1 librpmbuild1 librpmio1 libx86-1 pm-utils
  powermgmt-base python-dbus python-dmidecode python-ethtool python-gobject python-libxml2 python-newt python-openssl python-rhn-client-tools python-rhnlib
  python-rpm radeontool rhn-functions rhnpush rhnsd rpm-common vbetool
0 aktualizováno, 43 nově instalováno, 0 k odstranění a 60 neaktualizováno.
Potřebuji stáhnout 11,0 MB archivů.
Po této operaci bude na disku použito dalších 30,4 MB.
Chcete pokračovat [Y/n]? Y
VAROVÁNÍ: Následující balíky nemohou být autentizovány!
  python-rhnlib python-ethtool python-rhn-client-tools apt-spacewalk rhn-functions rhnpush rhnsd
Instalovat tyto balíky bez ověření [y/N]? y
..............
all ok

root triton:~# rhn_register
Traceback (most recent call last):
  File "/usr/sbin/rhn_register", line 24, in <module>
    from up2date_client import up2dateAuth
  File "/usr/share/rhn/up2date_client/up2dateAuth.py", line 4, in <module>
    import rhnserver
  File "/usr/share/rhn/up2date_client/rhnserver.py", line 21, in <module>
    import rpcServer
  File "/usr/share/rhn/up2date_client/rpcServer.py", line 12, in <module>
    import clientCaps
  File "/usr/share/rhn/up2date_client/clientCaps.py", line 10, in <module>
    from capabilities import parseCap
  File "/usr/share/rhn/up2date_client/capabilities.py", line 4, in <module>
    import up2dateErrors
  File "/usr/share/rhn/up2date_client/up2dateErrors.py", line 19, in <module>
    RepoError = Error
NameError: name 'Error' is not defined

Thanks for help...

Jan Soc





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]