[pacman-dev] [PATCH] Do not remove conflict by default

Nagy Gabor ngaba at bibl.u-szeged.hu
Sun Aug 30 15:12:49 UTC 2009


> 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.

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)
 
Bye




More information about the pacman-dev mailing list