Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 39122 - etcat -v is forgetting to say which packages are installed
Summary: etcat -v is forgetting to say which packages are installed
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-22 23:39 UTC by Andrea Cerrito
Modified: 2004-08-10 08:40 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 Andrea Cerrito 2004-01-22 23:39:29 UTC
Output of etcat -v is missing information about installed packages.

Reproducible: Always
Steps to Reproduce:
1. etcat -v $PACKAGE
2.
3.

Actual Results:  
ie: gentoo-dev-sources

cerrito on GSM src # etcat -v gentoo-dev-sources
[ Results for search key           : gentoo-dev-sources ]
[ Candidate applications found : 4 ]

 Only printing found installed programs.

*  sys-kernel/gentoo-dev-sources-2.6.1_rc2 :
        [   ] 2.6.1_rc2 (2.6.1-rc2-gentoo)

*  sys-kernel/gentoo-dev-sources-2.6.1_rc3 :
        [   ] 2.6.1_rc3 (2.6.1-rc3-gentoo)

*  sys-kernel/gentoo-dev-sources-2.6.1 :
        [   ] 2.6.1 (2.6.1-gentoo)

*  sys-kernel/gentoo-dev-sources-2.6.1-r1 :
        [ ~ ] 2.6.1-r1 (2.6.1-mm5)

cerrito on GSM src # emerge -s gentoo-dev-sources
Searching...
[ Results for search key : gentoo-dev-sources ]
[ Applications found : 1 ]

*  sys-kernel/gentoo-dev-sources
      Latest version available: 2.6.1-r1
      Latest version installed: 2.6.1-r1
      Size of downloaded files: 32,988 kB
      Homepage:    http://www.kernel.org/ http://www.gentoo.org/
      Description: Full sources including the gentoo patchset for the 2.6 kernel
tree
      License:     GPL-2


cerrito on GSM src #

Expected Results:  
cerrito on GSM src # etcat -v gentoo-dev-sources
[ Results for search key           : gentoo-dev-sources ]
[ Candidate applications found : 4 ]

 Only printing found installed programs.

*  sys-kernel/gentoo-dev-sources-2.6.1_rc2 :
        [   ] 2.6.1_rc2 (2.6.1-rc2-gentoo)

*  sys-kernel/gentoo-dev-sources-2.6.1_rc3 :
        [   ] 2.6.1_rc3 (2.6.1-rc3-gentoo)

*  sys-kernel/gentoo-dev-sources-2.6.1 :
        [  I] 2.6.1 (2.6.1-gentoo)

*  sys-kernel/gentoo-dev-sources-2.6.1-r1 :
        [ ~I] 2.6.1-r1 (2.6.1-mm5)

cerrito on GSM src # emerge -s gentoo-dev-sources
Searching...
[ Results for search key : gentoo-dev-sources ]
[ Applications found : 1 ]

*  sys-kernel/gentoo-dev-sources
      Latest version available: 2.6.1-r1
      Latest version installed: 2.6.1-r1
      Size of downloaded files: 32,988 kB
      Homepage:    http://www.kernel.org/ http://www.gentoo.org/
      Description: Full sources including the gentoo patchset for the 2.6 kernel
tree
      License:     GPL-2


cerrito on GSM src #

cerrito on GSM src # emerge info
Portage 2.0.50_pre19 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040117-r0,
2.6.1-gentoo)
=================================================================
System uname: 2.6.1-gentoo i686 Intel(R) Pentium(R) III Mobile CPU      1200MHz
Gentoo Base System version 1.4.3.12
Autoconf: sys-devel/autoconf-2.59
Automake: sys-devel/automake-1.7.8
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -mfpmath=sse -O2 -pipe -fomit-frame-pointer -mmmx -msse
-falign-functions=32 -fforce-addr"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://mi.mirror.garr.it/mirrors/gentoo
http://212.219.56.162/sites/www.ibiblio.org/gentoo/
http://194.83.57.2/sites/www.ibiblio.org/gentoo/
http://194.83.57.3/sites/www.ibiblio.org/gentoo/
http://ftp.snt.utwente.nl/pub/os/linux/gentoo
ftp://ftp.flashnet.it/mirror/12/sunsite.unc.edu/Gentoo
http://ibiblio.org/pub/Linux/ftp.edisontel.com/pub/Sunsite_Mirror
http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo
ftp://sunsite.cnlab-switch.ch/mirror/gentoo
http://www.ibiblio.org/pub/Linux/distributions/gentoo
http://gentoo.oregonstate.edu "
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/portoverlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aalib acl acpi alsa apm arts avi berkdb bluetooth bonobo cdr crypt cups
dga directfb dvd encode esd fbcon foomaticdb gdbm gif gnome gpm gtk gtk2 gtkhtml
guile imlib irda java jpeg kde kerberos krb4 ldap libg++ libwww mad mikmod
miknod mmx mng motif mozilla mpeg nas ncurses nls oggvorbis opengl oss pam
pcmcia pdflib perl png pnp python qt quicktime radeon readline ruby samba
scanner sdl slang socks5 spell sse ssl svga tcltk tcpd tetex truetype usb x86
xml2 xmms xv zlib video_cards_radeon"
Comment 1 Benoit Boissinot 2004-01-25 06:46:27 UTC
I had the same problem, it was solved by the new portage (2.0.50_pre20).

Ben
Comment 2 Andrea Cerrito 2004-02-12 00:12:33 UTC
I think this bug can be closed.
Comment 3 Richard Hartmann 2004-08-10 08:40:34 UTC
I find it irritating, that

bash-2.05b# etcat -v libxml2

prints the output:

[ Results for search key           : libxml2 ]
[ Candidate applications found : 4 ]

 Only printing found installed programs.

*  dev-libs/libxml2 :
        [   ] 2.6.6 (2)
        [   ] 2.6.7 (2)
        [M~ ] 2.6.9 (2)
        [   ] 2.6.11 (2)

while

bash-2.05b# emerge search libxml2
Searching...
[ Results for search key : libxml2 ]
[ Applications found : 1 ]

*  dev-libs/libxml2
      Latest version available: 2.6.11
      Latest version installed: 2.6.4
      Size of downloaded files: 2,686 kB
      Homepage:    http://www.xmlsoft.org/
      Description: Version 2 of the library to manipulate XML files
      License:     MIT

As you can see, i have installed version 2.6.4 of libxml2.

I have been told before, that this is the problem, when the corresponding ebuild is missing after an "emerge sync" operation.

So is this a bug or feature?

I find it irritating, that two portage tools differ in their output.
I think "etcat -v libxml2" should atleast print, that "libxml2 2.6.4" is 
installed on my system.