[pacman-dev] [PATCH] Handle sync target + ignore properly

Allan McRae allan at archlinux.org
Sun Jun 20 21:56:52 EDT 2010


On 21/06/10 06:26, Dan McGee wrote:
> Rather than say we can't find the target after saying "No, I guess I don't
> want to install this", we should make sure the ignored status gets passed
> all the way through. This fixes FS#19866.
>
> Pactest is also included that failed before due to the fact that we normally
> treat an unfound package as a reason to exit with a non-zero status.
>
> Signed-off-by: Dan McGee<dan at archlinux.org>
> ---
> Candidate for maint, it should be pretty straightforward.
>

Looks good for maint to me:

 > sudo ./src/pacman/pacman -S abs --ignore abs
Password:
:: abs is in IgnorePkg/IgnoreGroup. Install anyway? [Y/n] n
warning: skipping target: abs
  there is nothing to do

Allan


More information about the pacman-dev mailing list