swup errors with nexxus repository

Morten Nilsen morten@xxxxxxxxxx
Tue Jul 15 15:05:01 CEST 2003


Christian Haugan Toldnes wrote:
> (Jul 15 2003 03:59) Morten Nilsen wrote:
>> I'm seeing some nasty errors with my swup repository...
>> 
>> xvidcore and audiofile both fail with this error:
>> [root@chibi:~]$ swup --upgrade
>> 
>> 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'.
> 
> It looks like you have made some packages that lacks some basic
> information. Please compare one of your rdfs with one from TSL 2.0, and
> you'll probably notice whats wrong / missing.
> 

comparing audiofile and agetty, I find these elements to be blank:
<spi:vendor />
<spi:requires>
    <rdf:Bag>
    </rdf:Bag>
</spi:requires>
in my rdf but not in the tsl rdf.

rdfgen lists a whole shitload of these kinds of messages:
Missing resource for package imlib2-loader_jpeg-1.0.5-1nxs.i586.rpm:
libc.so.6(GLIBC_2.0)
Missing resource for package imlib2-loader_jpeg-1.0.5-1nxs.i586.rpm:
libc.so.6(GLIBC_2.1)
Missing resource for package imlib2-loader_jpeg-1.0.5-1nxs.i586.rpm:
libc.so.6(GLIBC_2.1.3)

so I can guess at a reason, but as for a solution, I'm blank...
I don't really want to add the entire trustix tree to my repository..
if rdfgen was capable of generating resources pointing to a different
tree (like the official mirror) that would be nifty indeed.

>> 
>> also, I think swup has poor output... the error above is quite
>> unreadable due to overlapping output and stuff :P
> 
> Well, the output is fine, except when errors occur that the developer
> has not seen, due to his capability to do this right... ;)
> 

One should always plan for the unexpected ;)
but I don't think the output is fine with normal behaviour either...

root@ryoko /usr/src/trustix# swup --upgrade

Fetching upgrade info
'http://tenchi.4th-age.com/nexxus/2.0/rdfs/latest.rdf'.0/i586/Trustix/rdfs/latest.rdf'

swup should insert some newlines, so that it list one latest.rdf per line.
but maybe you haven't tested swup against multiple repositories? :P

>
> Also, this is actually off-topic on tsl-discuss. It's only swup
> related, and should be discussed at the swup-dev mailing list.
> 

I didn't know this list existed, but now that I do, I'm moving this
thread here...

Cheers,
-- 
Morten




More information about the swup-dev mailing list