You are not logged in.

#1 2009-05-09 18:22:55

u_no_hu
Member
Registered: 2008-06-15
Posts: 453

pacman -Quq ... please stfu

1) Why doesn't pacman -Quq just keep quite and print a list of packages ?
2) Is it because of any technical limitation or just because nobody has felt the need?
3) Will a patch for that be accepted?
4) How complex will the change be for somebody new to pacman code ?
5) Is there any other method to get a list of upgradable packages without ugly output parsing

More questions pending in queue. big_smile

PS: Suggestions to send this to pacman-dev will be redirected to /dev/null big_smile .


Don't be a HELP VAMPIRE. Please search before you ask.

Subscribe to The Arch Daily News.

Offline

#2 2009-05-09 18:29:02

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: pacman -Quq ... please stfu


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#3 2009-05-09 18:29:53

SiD
Member
From: Germany
Registered: 2006-09-21
Posts: 729

Re: pacman -Quq ... please stfu

from pacman man-page

-q, --quiet
           Show less information for certain query operations. Search will
           only show package names and not version, group, and description
           information
; a bare query will only show package names rather than
           names and versions.

Offline

#4 2009-05-09 18:42:34

u_no_hu
Member
Registered: 2008-06-15
Posts: 453

Re: pacman -Quq ... please stfu

SiD wrote:

from pacman man-page

-q, --quiet
           Show less information for certain query operations. Search will
           only show package names and not version, group, and description
           information
; a bare query will only show package names rather than
           names and versions.

How is that relevent to what i asked?


Don't be a HELP VAMPIRE. Please search before you ask.

Subscribe to The Arch Daily News.

Offline

#5 2009-05-09 18:56:32

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,963
Website

Re: pacman -Quq ... please stfu

5) Yeah, vote for this: http://bugs.archlinux.org/task/14208

In the meantime you can also take a look at my bash-xyne-common_functions and perl-xyne-arch packages. Both of those contain functions for getting a clean upgrade list using bash and perl, resp. Both can handle i18n versions of pacman.

Last edited by Xyne (2009-05-09 18:57:04)


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#6 2009-05-09 20:41:19

u_no_hu
Member
Registered: 2008-06-15
Posts: 453

Re: pacman -Quq ... please stfu

Seems like this is fixed in git...But i dont see any commit messages regarding this....

1 post ,5 comments and 30 minutes of my life wasted. smile


Don't be a HELP VAMPIRE. Please search before you ask.

Subscribe to The Arch Daily News.

Offline

Board footer

Powered by FluxBB