Fedora 7 Update: vim-7.1.12-1.fc7

Don Russell fedora at drussell.dnsalias.com
Thu Jul 12 02:49:11 UTC 2007


Tim wrote:
> On Wed, 2007-07-11 at 10:08 -0700, Don Russell wrote:
>   
>> Q: Why does this cause me grief?
>> A: I have automated mail handling that determines if these update 
>> notices apply to my system, discarding those that do not (because I 
>> already have the specified version installed, or the packageis not 
>> installed at all)
>>
>> So, when I see there's an update to "vim", my code does an rpm -q vim to 
>> see if vim is installed, and since that's not the correct name of the 
>> package, I get a false negative.
>>     
>
> I think your check is going to suffer other problems, like when some
> other package supercedes something.  Not all updates are direct
> replacements.

Ah, you mean like if "package a" is superseded by "package b", my code 
will say "package b" is not installed, and so not relevant to me.

hmmm, is there something in the announcement that says "obsoletes ..." 
or something I could catch?

I'll adjust it as needed. In the mean time, all those messages go into a 
unique e-mail folder, and this process helps eliminate items I don't 
need, leaving me things I want to know....

This process is not critical... I just like it because it eliminates a 
lot of "fluff"... I'm assuming that a nightly "yum update" would pick up 
the new package and remove the old one in your scenario. In that case, 
my code becomes "self correcting".





More information about the fedora-list mailing list