[Bash-completion-devel] [bash-completion-Bugs][312021] [PATCH] Use rpmqpack instead of "rpm -qa" in SUSE

bash-completion-bugs at alioth.debian.org bash-completion-bugs at alioth.debian.org
Tue Oct 20 19:20:50 UTC 2009


Bugs item #312021, was changed at 20/10/2009 14:16 by Marco Poletti
You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=312021&group_id=100114

Status: Open
Priority: 3
Submitted By: Marco Poletti (polettimarco-guest)
Assigned to: Ville Skyttä  (scop-guest)
Summary: [PATCH] Use rpmqpack instead of "rpm -qa" in SUSE 
Distribution: None
Originally reported in: None
Milestone: 1.1
Status: None
Original bug number: 


Initial Comment:
In SUSE, we have rpmqpack that does "rpm -qa", but much faster.
I attach a patch that makes bash-completion 1.1 use rpmqpack if it is available.


----------------------------------------------------------------------

Comment By: Marco Poletti (polettimarco-guest)
Date: 20/10/2009 21:20

Message:
Just package names.
Output of "rpmqpack | head -n 1" on my machine:

yast2-packager-webpin

If you need more informations, you can use "rpmquery --all | fgrep . " that gives results like

chmlib-0.40-2.5.x86_64

Here «chmlib» is the package name, «0.40» is the version, «2.5» is the version of the build and «x86_64» is the arch.


----------------------------------------------------------------------

Comment By: Ville Skyttä  (scop-guest)
Date: 20/10/2009 21:12

Message:
Just to confirm, rpmqpack returns package names only, not e.g. name.arch or any package version information?

----------------------------------------------------------------------

You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=312021&group_id=100114



More information about the Bash-completion-devel mailing list