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

Bug 42354

Summary: equery uses only works for installed packages
Product: Portage Development Reporter: Johan Larsson <jolar>
Component: ToolsAssignee: Portage Tools Team <tools-portage>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Johan Larsson 2004-02-21 04:28:25 UTC
# equery uses <package> only print out the corresponding USE flags and their description if the package is already installed. If the package is not installed equery doesn't return anything useful.

Reproducible: Always
Steps to Reproduce:
1.# equery uses vim

Actual Results:  
bash-2.05b# equery uses vim
[ Colour Code : set unset ]
[ Legend    : (U) Col 1 - Current USE flags        ]
[           : (I) Col 2 - Installed With USE flags ]

Expected Results:  
Printed out vim USE flags, their description and informed me that the package is
not installed.

Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.2-gentoo-r1)
=================================================================
System uname: 2.6.2-gentoo-r1 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon-xp -O3 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-mcpu=athlon-xp -O3 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://ds.thn.htu.se/linux/gentoo http://gentoo.linux.no/
http://trumpetti.atm.tut.fi/gentoo/ http://mirror.pudas.net/gentoo
http://gentoo.tiscali.nl/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aalib alsa apm arts avi berkdb cdr crypt cups dga directfb dvd dvdr
encode faad fbcon flac foomaticdb gdbm ggi gif gphoto2 gpm gstreamer gtk gtk2
imlib java joystick jpeg kde libg++ libwww mad matroska mikmod mmx motif mpeg
ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime
readline samba scanner sdl slang speex spell sse ssl svga tcpd tiff truetype
unicode usb wxwindows x86 xml2 xmms xv xvid zlib"
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2004-02-22 14:28:44 UTC

*** This bug has been marked as a duplicate of 41300 ***