Re: Treating 'not found' packages as errors

Anders Blomdell <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <[email protected]>
seth vidal wrote:
> On Thu, 2008-04-24 at 11:44 +0200, Anders Blomdell wrote:
> 
>> OK, found it. Kind of shared error, fix is:
>>
>> --- __init__.py~        2007-12-05 23:27:40.000000000 +0100
>> +++ __init__.py 2008-04-24 11:40:59.000000000 +0200
>> @@ -589,7 +589,7 @@
>>          self.plugins.run('pretrans')
>>
>>          errors = self.ts.run(cb.callback, '')
>> -        if errors:
>> +        if errors != None:
>>              raise Errors.YumBaseError, errors
>>
>>          if not self.conf.keepcache:
> 
> Ah, what version of yum are you using?
> 
> B/c the above is already fixed in HEAD and in the version released in
> fedora rawhide.
Yum Version: 3.2.8

yum-metadata-parser-1.1.2-1.fc8
yum-updatesd-0.9-1.fc8
yum-3.2.8-2.fc8
yum-utils-1.1.11-1.fc8

-- 
Anders Blomdell                  Email: [email protected]
Department of Automatic Control
Lund University                  Phone:    +46 46 222 4625
P.O. Box 118                     Fax:      +46 46 138118
SE-221 00 Lund, Sweden
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.