Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 36972

Summary: qpkg runs forever with some options.
Product: Gentoo Linux Reporter: Sune Foldager <cryo>
Component: Current packagesAssignee: Portage Tools Team <tools-portage>
Status: RESOLVED CANTFIX    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Sune Foldager 2004-01-01 14:49:26 UTC
Doing:
qpkg -i gcc
takes forever where my harddisk is working like crazy.. the same does typing qpkg without any arguments. However typing:
qpkg -i -l gcc
Terminates with the info and the file list right away. So to see info for a package you need the -l option cause otherwise it takes minutes (or longer; I never let it complete) to get the _same information_, only a bit less, than with the -i -l options. That seems weird to me.

Reproducible: Always
Steps to Reproduce:
1. Type qpkg -i gcc ...wait a very long time.
2. Type qpkg -i -l gcc ...wait a very short time.
Actual Results:  
Already described.

Expected Results:  
Already described.
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2004-01-22 20:24:54 UTC
The --list option only works for installed packages, so it implies --installed (-I). --info alone also works for uninstalled packages so it has to search the whole portage tree instead of only searching the database of  installed packages.
So to "solve" your problem use the --installed option or narrow the search by specifying the category.