java-1.4.2-gcj-compat uninstalls sun jre

Rex Dieter rdieter at math.unl.edu
Tue Apr 26 17:58:39 UTC 2005


seth vidal wrote:
> On Tue, 2005-04-26 at 15:32 +0100, M A Young wrote:
> 
>>On Tue, 26 Apr 2005, seth vidal wrote:
>>
>>>...
>>>
>>>>  Cleanup   : xml-commons-apis             ####################### [ 9/17]
>>>>  Removing  : jre                          ####################### [10/17]
>>>
>>>this is an obsoletes-based removal - which means rpm is doing it.
>>
>>$ rpm -qp jdk-1_5_0_02-linux-i586.rpm --provides
>>jre = 1.5.0_02
>>j2sdk = 1.5.0_02
>>j2re = 1.5.0_02
>>jaxp_parser_impl
>>xml-commons-apis
>>jdk = 2000:1.5.0_02-fcs
>>
>>So probably yum or rpm is deciding that the xml-commons-apis package
>>replaces Sun's jdk.
> 
> 
> it can't do that w/o an obsolete.

*Yes* it can.  The bugzilla report referred to now on several occasions
documents the rpm behavior where:

foo1 includes
Provides: bar

Any install of a real 'bar' package, which now includes an implicit
Obsoletes: bar < %%version-%%release
will remove foo1.

-- Rex






More information about the fedora-devel-list mailing list