[pacman-dev] [PATCH] pacman: list all unknown targets on removal operation

Allan McRae allan at archlinux.org
Sat Dec 10 06:12:05 EST 2011


On 10/12/11 20:10, Allan McRae wrote:
> On a removal operation, pacman currently reports an error for the
> package that is not found in the database and then exists.  Adjust
> so that all unknown packages are reported.
> 
> Before:
>> pacman -R foo bar
> error: 'foo': target not found
> 
> After:
>> pacman -R foo bar
> error: 'foo': target not found
> error: 'bar': target not found
> 
> Signed-off-by: Allan McRae <allan at archlinux.org>
> ---


BTW, I would like something similar for -S operations too:

# pacman -S foo bar
error: target not found: foo

However, I can not see how to do that (without passing some value around
to lots of functions) while avoiding the potential group selection
dialog if we did something like:

# pacman -S foo base bar

Any pointers would be appreciated.

Allan


More information about the pacman-dev mailing list