[pacman-dev] [PATCH] Do not remove conflict by default
allan at archlinux.org
Mon Aug 31 02:50:41 UTC 2009
Nagy Gabor wrote:
>> When a conflict is detected, pacman asks if the user wants to remove
>> the conflicting package. In many cases this is a bad idea. e.g.
>> udev conflicts with initscripts. Remove initscripts [Y/n]
>> util-linux-ng conflicts with e2fsprogs. Remove e2fsprogs? [Y/n]
>> This changes the query to [y/N].
>> Signed-off-by: Allan McRae <allan at archlinux.org>
> You need to modify "some" pactest files as well, because this patch
> induces 7 unexpected fails.
Hmmm... you would have thought a two character change would cause so
much damage? Obviously not me! :P I will fix.
> Imho your noyes default behavior is better... Moreover, maybe we should
> also print somehow the conflict itself in warning, because 'udev
> conflicts with initscripts<2009.07' (btw, why is there 2 conflicts line
> udev's PPKGBUILD?) is much different from "foo conflicts with bar"...
> However, in most cases that would be redundant information, so I am
> unsure. (In fact we print redundant information in case of unresolvable
> dependencies, too)
I can see adding this information would be a good idea. I will see if I
can do that too (it has been a long time since I touched actual pacman
More information about the pacman-dev