On 02/24/11 01:53 PM, Danek Duvall wrote:
A number of folks have run into a problem whereby existing conflicting
actions are preventing them from removing or upgrading packages in a sane
fashion. The following change should fix that for the vast majority of
cases:
http://cr.opensolaris.org/~dduvall/pkg-conflict-uninstall/
Danek
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
Hi Danek, the one question I had was why the metric of comparing the
number of old and new actions was the right one instead of comparing the
number of new and old problems? Is it because if the number of actions
stays the same or drops, then the number of problems can't increase?
Does this code prevent the following from happening:
I have packages a1@1 through a10@1 installed, they all agree that /foo
has group A. On upgrade a2@2-a10@2 all stop delivering the /foo
directory action. a1@2 continues to deliver it. During the upgrade, a
new package b@2 is installed which also delivers /foo, but it thinks
/foo has group B.
I'm trying to wrap my head around this code and probably have just
missed something, but it seems to me that in that situation, the number
of actions compared to oactions would have dropped (from 10 to 2), but
the number of conflicts would have increased from 0 to 1? I think the
code would allow such an upgrade to proceed.
Brock
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss