Nicolas Mailhot wrote:
Le mardi 26 avril 2005 à 13:21 -0400, seth vidal a écrit :
>On Tue, 2005-04-26 at 17:57 +0200, Nicolas Mailhot wrote:
>>I seem to remember Sun added all sorts of provides to its own rpm. Maybe
>>the jre is providing xml-commons, gcj-compat the jre bit, and rpm
>>considers there's no reason at all to keep the sun package
>>(yet another reason not to use Sun rpms - they've never been tested with
>>yum in mind)
>just because two things provide the same item that doesn't mean that one
>of the items needs to be removed. If that's going on then it is clearly
>hell, look at how all the /etc/alternatives things work.
Paths in alternatives are not the same as package Provide:'s.
Thanks but the non-sun java rpms already use alternatives extensively
(and it was a bitch to get right)
The only thing that saves alternatives paths contained in packages from
erased on upgrade like the sun jre is the lack of (permitted in
rpm-4.4.1 and later)
OTOH, obsoleting the shared alternative path is dain-bread packaging,
the specific package alternative path if you must do such things.
73 de Jeff