Re: 'apt-cache search' question #2
On Tue, Apr 22, 2003 at 05:26:12PM +0100, Carlos Sousa wrote:
> On Sat, 19 Apr 2003 12:39:07 -0400 Travis Crump wrote:
> > Bill Webster wrote:
> > >
> > > Here's what I did:
> > > 1) Emptied the sources.list file (0 length file)
> > > 2) ran 'apt-get update'
> > > 3) ran 'apt-cache search ".*"'
> > >
> > > I get a list of 774 packages???
> > Let me guess, you have 774 packages installed? apt-cache search has
> > always additionally searched locally installed packages for me and I
> > always thought that this was a useful feature. Though I don't know
> > how exactly it does this.
> apt-cache must use the status file under /var/lib/dpkg,
Actually, apt-cache uses apt's own cache in /var/cache/apt.
Colin Watson [email@example.com]