[Slapt-get-devel] maybe a bug?

Jason Woodward woodwardj at jaos.org
Mon Dec 19 12:01:39 EST 2005

Hi Stefano,

> I have tried with linuxpackages 10.2:
> SOURCE=http://www.nymphomatic.org/mirror/linuxpackages/Slackware-10.2/
> slapt-get --search slapt-get
> these are the results:
> xpdf-3.01-i486-2 [inst=yes]: xpdf (PDF viewer for X)
> kdewebdev-3.4.2-i486-1 [inst=yes]: kdewebdev (web development package
> for the K Desktop Environment)
> faac-1.24-i486-2kjz [inst=yes]: FAAC - Freeware Advanced Audio Coder
> libsndfile-1.0.11-i486-1kjz [inst=yes]: libsndfile - read and write
> sampled data
> I think that are too much, aren't they?

What you are seeing is slapt-get match the search term on the location portion of the installed
packages as pkgtools writes the Location in the /var/log/packages/ entry by what directory the
package was in when it was installed.  So if pkgtools installed faac from
/var/slapt-get/.../faac-1.24-i486-2kjz.tgz the location would contain the word slapt-get.  
--search looks at package names, versions, locations, and descriptions.  This makes it possible
to search for a name, specific version like '*2.12.2*', or a specific location 'slackware/xap'.  

Since the search option is a bare regular expression, you can search for ^slapt-get,
slapt-get$, or ^slapt-get$ explicitly.  

take care,

Jason Woodward
woodwardj at jaos.org

More information about the Slapt-get-devel mailing list