RPM Community Forums

Mailing List Message of <rpm-users>

Re: Conflicts vs Obsoletes

From: Jeff Johnson <n3npq@mac.com>
Date: Mon 16 Nov 2009 - 03:11:57 CET
Message-id: <F80C7B38-A6C1-47C5-9E48-29B143A322A6@mac.com>

On Nov 15, 2009, at 8:09 PM, Eric MSP Veith wrote:

>
>> In that case, I put both Conflicts: bash.rpm / Obsoletes: bash.rpm
>> in newbash.rpm?
>
> Depdends on what you express. Normally, "Obsoletes" suffices.
>

The fundamental design flaw with Obsoletes: is lack of persistence.

So if you undertake a old -> new renaming, and the "new" package has
	Obsoletes: old
then the "old" package is erased.

But nothing stops re-installing the "old" package.

Which is often why a Conflicts: is being added with Obsoletes:, for  
persistence.

I'm likely to make Obsoletes: persistent Real Soon Now. But that
won't change widely deployed RPM behavior.

73 de Jeff

  • application/pkcs7-signature attachment: smime.p7s
Received on Mon Nov 16 03:12:23 2009
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.