Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 64742 - query list -i fails with non-existant ebuild
Summary: query list -i fails with non-existant ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-20 05:19 UTC by Bernard Leach
Modified: 2004-10-10 14:35 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bernard Leach 2004-09-20 05:19:10 UTC
The command;

equery -C list -i \*

was issued to determine a list of all installed packages.  When it came across an old package whose ebuild did not exist in the /usr/portage tree the query aborted unexpectedly.

Reproducible: Always
Steps to Reproduce:
1. install package x, version y
2. remove ebuild for package x, version y
3. execute "query list -i \*"

Actual Results:  
A partial list of packages, and then;

!!! aux_get(): ebuild for 'app-misc/screen-3.9.15' does not exist at:
!!!            /usr/portage/app-misc/screen/screen-3.9.15.ebuild
Traceback (most recent call last):
  File "/usr/bin/equery", line 949, in ?
    if e and type(e[0]) == types.ListType and \
IndexError: tuple index out of range


Expected Results:  
A complete list of packages.  No error.

Portage 2.0.50-r11 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.2-r9, 2.4.25)
=================================================================
System uname: 2.4.25 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /opt/tomcat/conf /usr/X11R6/lib/X11/xkb
/usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/fenris /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
http://gentoo.oregonstate.edu/
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X alsa apm avi berkdb bitmap-fonts crypt dvd encode evo flac
foomaticdb gdbm gif gnome gtk gtk2 imlib java jpeg ldap libg++ libwww lprng mad
mikmod mmx mozilla mpeg ncurses nls oci8 oggvorbis opengl oss pam pdflib perl
png python quicktime readline samba sdl slang spell sse ssl svga tcpd tiff
truetype x86 xml xml2 xmms xprint xv zlib"
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2004-10-10 14:35:05 UTC
seems to be fixed in pre9