Package: rhn-client-tools Version: 1.8.9-3 Severity: important Dear Maintainer,
The installTime function in debUtils.py doesn't work for packages that have the arch appended to the filename in /var/lib/dpkg/info e.g. e2fslibs:amd64.list There seem to be a quite a lot of files named like this in wheezy. installTime returns None for the above which in turn can't be marshaled by xmlrpclib and registration fails with: [Thu Mar 21 14:15:53 2013] up2date D: rpcServer: Calling XMLRPC registration.new_system [Thu Mar 21 14:15:53 2013] up2date D: rpcServer: Calling XMLRPC registration.welcome_message [Thu Mar 21 14:15:53 2013] up2date D: rpcServer: Calling XMLRPC registration.add_hw_profile [Thu Mar 21 14:15:53 2013] up2date D: rpcServer: Calling XMLRPC registration.welcome_message [Thu Mar 21 14:15:53 2013] up2date D: rpcServer: Calling XMLRPC registration.add_packages [Thu Mar 21 14:15:53 2013] up2date Traceback (most recent call last): File "/usr/sbin/rhnreg_ks", line 218, in <module> cli.run() File "/usr/share/rhn/up2date_client/rhncli.py", line 96, in run sys.exit(self.main() or 0) File "/usr/sbin/rhnreg_ks", line 151, in main rhnreg.sendPackages(systemId, packageList) File "/usr/share/rhn/up2date_client/rhnreg.py", line 487, in sendPackages s.registration.add_packages(systemId, packageList) File "/usr/share/rhn/up2date_client/rhnserver.py", line 63, in __call__ return rpcServer.doCall(method, *args, **kwargs) File "/usr/share/rhn/up2date_client/rpcServer.py", line 196, in doCall ret = method(*args, **kwargs) File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__ return self.__send(self.__name, args) File "/usr/share/rhn/up2date_client/rpcServer.py", line 37, in _request1 ret = self._request(methodname, params) File "/usr/lib/python2.7/dist-packages/rhn/rpclib.py", line 377, in _request request = self._req_body(self._strip_characters(params), methodname) File "/usr/lib/python2.7/dist-packages/rhn/rpclib.py", line 232, in _req_body return xmlrpclib.dumps(params, methodname, encoding=self._encoding) File "/usr/lib/python2.7/xmlrpclib.py", line 1085, in dumps data = m.dumps(params) File "/usr/lib/python2.7/xmlrpclib.py", line 632, in dumps dump(v, write) File "/usr/lib/python2.7/xmlrpclib.py", line 654, in __dump f(self, value, write) File "/usr/lib/python2.7/xmlrpclib.py", line 714, in dump_array dump(v, write) File "/usr/lib/python2.7/xmlrpclib.py", line 654, in __dump f(self, value, write) File "/usr/lib/python2.7/xmlrpclib.py", line 735, in dump_struct dump(v, write) File "/usr/lib/python2.7/xmlrpclib.py", line 654, in __dump f(self, value, write) File "/usr/lib/python2.7/xmlrpclib.py", line 658, in dump_nil raise TypeError, "cannot marshal None unless allow_none is enabled" <type 'exceptions.TypeError'>: cannot marshal None unless allow_none is enabled -- System Information: Debian Release: 7.0 APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-4-amd64 (SMP w/1 CPU core) Locale: LANG=en_NZ.UTF-8, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages rhn-client-tools depends on: ii debconf 1.5.49 ii gnupg 1.4.12-7 ii lsb-release 4.1+Debian8 ii python 2.7.3-4 ii python-apt 0.8.8.2 ii python-dbus 1.1.1-1 ii python-dmidecode 3.10.13-1.1 ii python-ethtool 0.7-1.1 ii python-gudev 147.2-3 ii python-newt 0.52.14-11.1 ii python-openssl 0.13-2 ii python-rhn 2.5.52-1 Versions of packages rhn-client-tools recommends: pn apt-spacewalk <none> Versions of packages rhn-client-tools suggests: pn python-glade2 <none> pn python-gnome2 <none> pn python-gtk2 <none> -- Configuration Files: /etc/sysconfig/rhn/up2date changed [not included] -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org