Re: swup errors with nexxus repository

Olaf Trygve Berglihn <[email protected]> Wed, 16 Jul 2003 10:32:27 +0200
Newsgroups gmane.linux.trustix.swup
Message-ID <[email protected]>
* Morten Nilsen <[email protected]>
> Fetching upgrade info
> 'http://www.trustix.net/pub/Trustix/pre-releases/tobe-trusFetching
> upgrade info

> 'http://www.trustix.net/pub/Trustix/pre-releases/tobe-trusResolving
> transactions
>                  (5  /39 )Fatal error: [exceptions.AttributeError]
> 'NoneType' object has no attribute 'values'.

This looks like a bug in the creation of a transactions object.  As far
as I recall, these objects should be dictionaries.  I suspect that a
package without dependencies make swup interpret the rdfs in such a way
that a None-object is created instead of an empty dictionary.  The
interpreter then throws an exception with trying to access the values
attribute which a None-object do not have.

Have no time to fix, but a change in the resolver code to create an
empty dict instead of None when no dependencies might solve the problem.

If I recall incorrectly and the above is wrong, check with the rpm
interface in swup and try to debug the use of rpm-transactions.

Best,
Olaf

-- 
Olaf Trygve Berglihn