Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   ArchLinux Pacman Development (http://www.linux-archive.org/archlinux-pacman-development/)
-   -   pacman: list all unknown targets on removal operation (http://www.linux-archive.org/archlinux-pacman-development/608712-pacman-list-all-unknown-targets-removal-operation.html)

Allan McRae 12-10-2011 10:12 AM

pacman: list all unknown targets on removal operation
 
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@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


All times are GMT. The time now is 02:43 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.