[Spacewalk-list] Traceback Errors when running 'apt-get update' - debian/ubuntu support

Simon Lukasik slukasik at redhat.com
Wed Nov 23 09:55:14 UTC 2011


On 11/22/2011 10:13 PM, mmontg1 at mindspring.com wrote:
> I have been testing the functionality of debian/ubuntu support and
> seem to have run into an issue and I'm curious if anyone else have run
> into the same issue.
> 
> If anyone has any insight into this issue, I would greatly appreciate it.
> 
> Thanks.
> 
> Client system is:
> ubuntu 10.04 LTS x86_64
> 
> Server system is:
> Centos 5.5 x86_64
> spacewalk 1.6 nightly (same issue with 1.5 stable)
> 
> /etc/apt/sources.list.d/spacewalk.list contains
> deb spacewalk://**********.test channels: main
> 
> apt-get update
> Apt-Spacewalk: Updating sources.list
> Ign spacewalk://****** channels: Release.gpg
> Ign spacewalk://******/ channels:/main Translation-en_US
> Ign spacewalk://****** channels: Release
> Ign spacewalk://****** channels:/main Packages
> Ign spacewalk://****** channels:/main Packages
> Get:1 spacewalk://****** channels:/main Packages [214kB]
> Fetched 214kB in 0s (242kB/s)
> Reading package lists... Error!
> E: Problem parsing dependency Depends
> E: Error occurred while processing acct (NewVersion1)
> E: Problem with MergeList
> /var/lib/apt/lists/******_dists_channels:_main_binary-amd64_Packages
> E: The package lists or status file could not be parsed or opened.
> 

Dear Mmontg1,

Could you please share Yours

/var/lib/apt/lists/******_dists_channels:_main_binary-amd64_Packages

file. Or at least the snippet around the acct package?

Seems that pkgCacheGenerator::NewVersion inside the APT failed.

> Traceback from server is below:
> 

The following traceback is not related to the failure above.

> Exception reported from ******
> Time: Tue Nov 22 11:37:17 2011
> Exception type <CENSORED!>.server.apacheRequest.UnknownXML
> Exception while handling function i18n
> Request object information:
> URI: ///XMLRPC/GET-REQ/ubuntu-server-10.04-lucid-lts-x86_64/i18n/Translation-en_US.bz2
> Remote Host: ********
> Server Name:******:0 Headers passed in:
> 
>                 Accept-Encoding: identity
>                 Host:******
>                 X-RHN-Auth: Vm8Ww6Gj7Vzd8he4ssYapg==
>                 X-RHN-Auth-Expire-Offset: 3600.0
>                 X-RHN-Auth-Server-Time: 1321983436.11
>                 X-RHN-Auth-User-Id:
>                 X-RHN-Server-Id: 1000010120
>                 X-RHN-Transport-Capability: follow-redirects=3 Extra
> information about this error:
> 
> Response sent back to the caller:
> 
> While running 'i18n': caught
> 
> <CENSORED!>.server.apacheRequest.UnknownXML : Invalid request received
> (function 'i18n' invalid; path_info is
> /GET-REQ/ubuntu-server-10.04-lucid-lts-x86_64/i18n/Translation-en_US.bz2).
> 
> Exception Handler Information
> 
> Traceback (most recent call last):
>   File "/usr/lib/python2.4/site-packages/<CENSORED!>/server/apacheRequest.py",
> line 121, in call_function
>     func = self.method_ref(method)
>   File "/usr/lib/python2.4/site-packages/<CENSORED!>/server/apacheRequest.py",
> line 526, in method_ref
>     raise UnknownXML("function '%s' invalid; path_info is %s" % (
> UnknownXML: Invalid request received (function 'i18n' invalid;
> path_info is /GET-REQ/ubuntu-server-10.04-lucid-lts-x86_64/i18n/Translation-en_US.bz2).
> 
> Local variables by frame
> 
> Frame method_ref in
> /usr/lib/python2.4/site-packages/<CENSORED!>/server/apacheRequest.py
> at line 526
>                             username = <type 'str'>
>                            server_id = <type 'str'> 1000010120
>                           repository = <type 'instance'>
> <<CENSORED!>.server.rhnRepository.Repository instance at
> 0x2b8090ff4fc8>
>                                    f = <type 'NoneType'> None
>                                 self = <type 'instance'>
> <server.handlers.xmlrpc.get_handler.GetHandler instance at
> 0x2b8090ff4dd0>
>                               method = <type 'str'> i18n
> 
> Frame call_function in
> /usr/lib/python2.4/site-packages/<CENSORED!>/server/apacheRequest.py
> at line 138
>                                fault = <type 'int'> -1
>                                 self = <type 'instance'>
> <server.handlers.xmlrpc.get_handler.GetHandler instance at
> 0x2b8090ff4dd0>
>                       force_rollback = <type 'int'> 1
>                               method = <type 'str'> i18n
>                               params = <type 'tuple'> ('Translation-en_US.bz2',)
>                               e_type = <type 'classobj'>
> <CENSORED!>.server.apacheRequest.UnknownXML
>                              e_value = <type 'instance'> Invalid
> request received (function 'i18n' invalid; path_info is
> /GET-REQ/ubuntu-server-10.04-lucid-lts-x86_64/i18n/Translation-en_US.bz2).
>                             response = <type 'instance'> <Fault -1:
> "While running 'i18n':
> caught\n<CENSORED!>.server.apacheRequest.UnknownXML : Invalid request
> received (function 'i18n' invalid; path_info is
> /GET-REQ/ubuntu-server-10.04-lucid-lts-x86_64/i18n/Translation-en_US.bz2).\n">
> 
> Frame process in
> /usr/lib/python2.4/site-packages/<CENSORED!>/server/apacheRequest.py
> at line 549
>                                 self = <type 'instance'>
> <server.handlers.xmlrpc.get_handler.GetHandler instance at
> 0x2b8090ff4dd0>
>                               params = <type 'tuple'> ('Translation-en_US.bz2',)
>                               method = <type 'str'> i18n
> 
> Frame handler in
> /usr/lib/python2.4/site-packages/<CENSORED!>/server/apacheHandler.py
> at line 196
>                                    h = <type 'instance'>
> <__builtin__.OracleCursor on <cx_Oracle.Connection to <CENSORED!>@xe>>
>                                 self = <type 'instance'>
> <<CENSORED!>.server.apacheHandler.apacheHandler instance at
> 0x2b8086a7eab8>
>                                  req = <type 'mp_request'> <mp_request
> object at 0x2b807db89050>
>                                  ret = <type 'int'> 1
>                      templateStrings = <type 'dict'>
> {'email_account_info': '\nAccount Information:\n  Your Spacewalk
> login:         <login />\n  Your Spacewalk email address:
> <email-address />', 'email_footer': '--the Spacewalk Team',
> 'hostname': '******'}
>                                  row = <type 'NoneType'> None
> 
> Frame HandlerDispatch in
> /usr/lib64/python2.4/site-packages/mod_python/apache.py at line 299
>                                  req = <type 'mp_request'> <mp_request
> object at 0x2b807db89050>
>                                 self = <type 'instance'>
> <mod_python.apache.CallBack instance at 0x2b807db81b48>
>                               object = <type 'instancemethod'> <bound
> method apacheHandler.handler of
> <<CENSORED!>.server.apacheHandler.apacheHandler instance at
> 0x2b8086a7eab8>>
>                                    l = <type 'list'>
> ['<CENSORED!>.server.apacheServer', 'Handler']
>                               module = <type 'module'> <module
> '<CENSORED!>.server.apacheServer' from
> '/usr/lib/python2.4/site-packages/<CENSORED!>/server/apacheServer.pyc'>
>                                hlist = <type 'mp_hlist'>
> {'handler:'<CENSORED!>.server.apacheServer::Handler','directory':'/XMLRPC/','silent':0}
>                           object_str = <type 'str'> Handler
>                                debug = <type 'int'> 0
>                          module_name = <type 'str'>
> <CENSORED!>.server.apacheServer
>                               config = <type 'mp_table'>
> {'PythonInterpreter': 'rhn.server'}
>                                  dir = <type 'str'> /XMLRPC/
>                               result = <type 'int'> 500
> 
> Environment for PID=22413 on exception:
> 
> LANG = C
> NLS_LANG = english.AL32UTF8
> PATH = /sbin:/usr/sbin:/bin:/usr/bin
> PWD = /
> SHLVL = 2
> TERM = vt100
> _ = /usr/sbin/httpd
> 
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list


-- 
Simon Lukasik    Systems Management QA
slukasik at redhat.com      #satellite-qa




More information about the Spacewalk-list mailing list