Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 7688 - Inconsistencies between doing an 'emerge search' and 'emerge --searchdesc'
Summary: Inconsistencies between doing an 'emerge search' and 'emerge --searchdesc'
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High trivial (vote)
Assignee: Daniel Robbins (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-09 07:38 UTC by Martin Andersen
Modified: 2011-10-30 22:17 UTC (History)
1 user (show)

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 Martin Andersen 2002-09-09 07:38:24 UTC
There is an inconsistency when Portage is reporting which packages are installed.
I.e, 'emerge search liquid' correctly reports that the mosfet-liquid-widgets
package is installed. However an 'emerge --searchdesc widget.*kde' reports it as
not being installed (since the version numbers are included in the package name).


overkill root # emerge search liquid
Searching...   
[ Results for search key : liquid ]
[ Applications found : 2 ]
 
*  app-games/liquidwar
      Latest version available: 5.5.6
      Latest version installed: [ Not Installed ]
      Homepage: http://www.ufoot.org/liquidwar
      Description: Liquid War is a unique multiplayer wargame
 
*  x11-themes/mosfet-liquid-widgets
      Latest version available: 0.9.5-r1
      Latest version installed: 0.9.5-r1
      Homepage: http://www.mosfet.org/liquid.html
      Description: Mosfet's High-Permormance Liquid Widgets and Style for KDE 3.x
 
overkill root # emerge --searchdesc widget.*kde
Searching...   
[ Results for search key : widget.*kde ]
[ Applications found : 1 ]
 
*  x11-themes/mosfet-liquid-widgets-0.9.5-r1
      Latest version available: 0.9.5-r1
      Latest version installed: [ Not Installed ]
      Homepage: http://www.mosfet.org/liquid.html
      Description: Mosfet's High-Permormance Liquid Widgets and Style for KDE 3.x
Comment 1 Nicholas Jones (RETIRED) gentoo-dev 2002-10-11 04:07:58 UTC
Works for me. Probably fixed when drobbins redid the code.
Reopen if you still find this and issue.
Comment 2 Martin Andersen 2002-10-13 12:49:48 UTC
This strange bug still exists; I've tried re-emerging portage (after doing an 
rsync) and re-emerging the ebuild - to no avail. 
 
Some further info follows below: 
 
overkill root # epm -q portage 
portage-2.0.38 
 
overkill root # ls -al /usr/portage/x11-themes/mosfet-liquid-widgets/ 
total 24 
drwxr-xr-x    3 root     root         4096 Oct  4 08:50 . 
drwxr-xr-x   40 root     root         4096 Oct 13 18:50 .. 
-rw-r--r--    1 root     root         2005 Aug 24 20:51 ChangeLog 
drwxr-xr-x    2 root     root          133 Oct 13 08:19 files 
-rw-r--r--    1 root     root          587 Oct  4 08:50 
mosfet-liquid-widgets-0.7-r3.ebuild 
-rw-r--r--    1 root     root          743 Aug 24 20:36 
mosfet-liquid-widgets-0.9.5-r1.ebuild 
-rw-r--r--    1 root     root          579 Jul 27 12:59 
mosfet-liquid-widgets-0.9.5.ebuild 
 
 
overkill root # cat 
/usr/portage/x11-themes/mosfet-liquid-widgets/mosfet-liquid-widgets-0.9.5-r1.ebuild 
# Copyright 1999-2002 Gentoo Technologies, Inc. 
# Distributed under the terms of the GNU General Public License v2 
# $Header: 
/home/cvsroot/gentoo-x86/x11-themes/mosfet-liquid-widgets/mosfet-liquid-widgets-0.9.5-r1.ebuild,v 
1.1 2002/08/24 18:36:14 danarmak Exp $ 
inherit kde-base 
 
need-kde 3 
 
S=${WORKDIR}/mosfet-liquid${PV} 
DESCRIPTION="Mosfet's High-Permormance Liquid Widgets and Style for KDE 3.x" 
SRC_URI="http://www.mosfet.org/mosfet-liquid${PV}.tar.gz" 
HOMEPAGE="http://www.mosfet.org/liquid.html" 
LICENSE="BSD" 
 
KEYWORDS="x86 ppc" 
 
newdepend ">=kde-base/kdebase-3.0" 
 
 
src_install() { 
 
    kde_src_install all 
 
    # replace ksplash image 
    dodir $KDEDIR/share/apps 
    mv $D/$PREFIX/share/apps/ksplash $D/$KDEDIR/share/apps 
 
} 
 
 
overkill root # emerge --searchdesc widget.*kde 
Searching... 
[ Results for search key : widget.*kde ] 
[ Applications found : 1 ] 
 
*  x11-themes/mosfet-liquid-widgets-0.9.5-r1 
      Latest version available: 0.9.5-r1 
      Latest version installed: [ Not Installed ] 
      Homepage: http://www.mosfet.org/liquid.html 
      Description: Mosfet's High-Permormance Liquid Widgets and Style for KDE 
3.x 
 
overkill root # 
overkill root # emerge search liquid-widgets 
Searching... 
[ Results for search key : liquid-widgets ] 
[ Applications found : 1 ] 
 
*  x11-themes/mosfet-liquid-widgets 
      Latest version available: 0.9.5-r1 
      Latest version installed: 0.9.5-r1 
      Homepage: http://www.mosfet.org/liquid.html 
      Description: Mosfet's High-Permormance Liquid Widgets and Style for KDE 
3.x 
 
overkill root # emerge clean 
 
>>> No outdated packages were found on your system. 
 
 
I am running the 1.2 release (still) of Gentoo, in case that has any relevance. 
 
 
// Martin 
Comment 3 Nicholas Jones (RETIRED) gentoo-dev 2002-10-19 21:53:51 UTC
Fixed in cvs.
Will be in 2.0.41