On Fri, Nov 16, 2007 at 03:54:51PM +0100, Xavier wrote:
By the way, isn't it rather strange that the ignorepkg handling in addtarget is made only when the package is locally installed?
For example :
sudo pacman -S bash --ignore bash :: bash is in IgnorePkg/IgnoreGroup. Install anyway? [Y/n] n sudo pacman -S arts --ignore arts resolving dependencies... done. looking for inter-conflicts... done.
Targets: xdg-utils-1.0.2-1 archlinux-menus-1.2-1 kde-common-3.5.8-1 audiofile-0.2.6-3 esd-0.2.38-3 arts-1.5.8-2
Total Download Size: 1.74 MB
Proceed with installation? [Y/n]
Thinking about it again, it seems alright to ignore IgnorePkg on -S operations. If someone has IgnorePkg = arts in pacman.conf, but explictly does a pacman -S arts, he probably wants to install it. And no one would ever do pacman -S arts --ignore arts, because that doesn't make any sense :)