On 15/03/13 00:30, Dave Reisner wrote:
On Wed, Mar 13, 2013 at 11:37:10PM -0700, Connor Behan wrote:
Calling pacman -Sp and pacman -Sup are guaranteed not to install a package.
I feel the need to point out that --ignore guarantees that a package won't even be *downloaded*. Xyne already mentioned it, but I'll parrot his concern about this effectively changing command line API.
Where do you get that guarantee? All the documentation says is: Instructs pacman to ignore any upgrades for this package when performing a --sysupgrade. So I am not even sure Xyne's example is valid, based purely on what this is documented to do... -Sp is not an --sysupgrade operation, and this patch specifically keeps --ignore for -Sup operations. So... to understand what people think pacman _should_ do, if "foo" (in group "bar") is in IgnorePkg: "-Sup" should not print a URL for foo (not up for debate...) "-Sp foo" should print a URL for foo (currently does not). What should "-Sp bar" print? From what is currently documented, it is not a --sysupgrade, so IgnorePkg should not have an effect. From what currently happens, it should not print a "foo" URL. Allan