Re: up2date -u gives a an error in up2date.solveDependencies

John Berninger <[email protected]>
Newsgroups gmane.network.up2date.current.devel
Message-ID <[email protected]>
I just tested this on a vanilla (stock) 7.2 system, as root, using the
RHL + updates tree on the server side, and didn't get this error
message.  Are you running the server as root or as an unpriviledged
user?  Can you send your configuration file, and a listing of the
permissions on your RPM directories (i.e. owner and mode)?

On Wed, 06 Feb 2002, Joe Ammann wrote:

> Hi all
> 
> The same error was already reported by Thornton Prime (I found it in
> the archive), but without detailed logs (see end of message)
> 
> My current server (from 0.9.4 RPM) runs on a freshly update RH 7.1
> machine. The up2date client is running an RH 7.1 out-of-the-box, but
> with up2date package itsself updated to up2date-2.7.11-7.x.1
> 
> This is my first try at really doing some upgrades with
> up2date. rhn_register and up2date -l work smoothly.
> 
> Any hints?
> 
> CU, Joe
> 
> --- excerpt from current.log (this message appears multiple times)
> ERROR: Recognized function up2date.solveDependencies called with wrong arg count
> EXCEPTION in /usr/share/current/standalone.py, callAPIMethod(), 284 [logException()]
> Traceback (innermost last):
>   File "/usr/share/current/standalone.py", line 276, in callAPIMethod
>     result = apply(func, params)
>   File "/usr/share/current/up2date.py", line 227, in solveDependencies
>     unk)
>   File "/usr/share/current/packagedb.py", line 156, in solveDependancy
>     best_pkg = self._pickBestPackage(client_arch, pick_list)
>   File "/usr/share/current/packagedb.py", line 206, in _pickBestPackage
>     for pick in pick_list:
> TypeError: loop over non-sequence
>   params were: [{'client_address': ('127.0.0.1', 34805),
>   'command': 'POST',
>   'headers': <mimetools.Message instance at 8125920>,
>   'path': 'https://malus.pyx.ch:8081/XMLRPC',
>   'version': ''},
>  '<?xml version="1.0"?>\012<params>\012<param>\012<value><struct>\012<member>\012<name>type</name>\012<value><string>REAL</string></value>\012</member>\012<member>\012<name>architecture</name>\012<value><string>i686</string></value>\012</member>\012<member>\012<name>checksum</name>\012<value><string>3e80727270afadfc4441af0bf568afe1730edbcf</string></value>\012</member>\012<member>\012<name>os_release</name>\012<value><string>7.1</string></value>\012</member>\012<member>\012<name>description</name>\012<value><string>7.1 running on i686</string></value>\012</member>\012<member>\012<name>system_id</name>\012<value><string>Current-ANONYMOUS</string></value>\012</member>\012<member>\012<name>operating_system</name>\012<value><string>Red Hat Linux</string></value>\012</member>\012<member>\012<name>profile_name</name>\012<value><string>laptop</string></value>\012</member>\012<member>\012<name>fields</name>\012<value><array><data>\012<value><string>type</string></value>\012<value><string>operating_system</string></value>\012<value><string>checksum</string></value>\012<value><string>description</string></value>\012<value><string>os_release</string></value>\012<value><string>architecture</string></value>\012<value><string>system_id</string></value>\012<value><string>profile_name</string></value>\012<value><string>username</string></value>\012</data></array></value>\012</member>\012<member>\012<name>username</name>\012<value><string>laptop</string></value>\012</member>\012</struct></value>\012</param>\012</params>\012',
>  ['xinitrc',
>   'libmm.so.11',
>   'mod_bandwidth',
>   'mod_put',
>   'mod_throttle',
>   'xtt-fonts',
>   'filesystem',
>   'cracklib',
>   'cracklib-dicts',
>   'libcrack.so.2']]
> sendClientResult() finishedÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿººÞžßìz»Þ®f¢–)à–+-
> êëz{ÿ±êïz¿åŠËlýÛ¥ºݺGÿyÛ¡¶Úÿÿùb²Ûÿvénƒ÷n‘ïÞvïæj)fjåŠËbú?rêëz{ÿ±êï

-- 
Thank you,
John Berninger

Systems Administrator		[email protected]
Department of Mathematics	Box 8205, Harrelson Hall
NC State University		Raleigh, NC 27695
Phone:  (919)515-6315		Fax:	(919)515-3798

GPG Key ID: A8C1D45C
        Fingerprint: B1BB 90CB 5314 3113 CF22  66AE 822D 42A8 A8C1 D45C
--
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.