FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > ArchLinux > ArchLinux Pacman Development

LinkBack Thread Tools
Old 12-12-2011, 03:23 PM
Dan McGee
Default pacman: list all unknown targets on removal operation

On Sat, Dec 10, 2011 at 5:12 AM, Allan McRae <allan@archlinux.org> wrote:
> 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.

-U would be nice too; might be similar to your -S case mentioned above.

$ sudo ./src/pacman/pacman -U foo bar baz
loading packages...
error: 'foo': could not find or read package

I'll take a quick look at this to see what I can come up with.


Thread Tools

All times are GMT. The time now is 10:37 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org