[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: oddity in apt-cache



On Mon, 23 Apr 2007 16:45:12 -0400
Joey Hess <joeyh@debian.org> wrote:

> Florian Kulzer wrote:
> > I think many people would not like it if apt-cache no longer found the
> > local packages, custom kernels, etc. If a package is still installed
> > then its information is included in apt's package cache, and "apt-cache"
> > bases all its results on this cache. It does not query the repositories
> > at all but it gets this information indirectly whenever you run "apt-get
> > update" (or aptitude, etc.).
> > 
> > If you want to run queries on what is available in the repositories you
> > will probably have to use "apt-file" or "rmadison" (from package
> > "devscripts").
> 
> You can use apt-cache policy to see what suites if any a package is
> available in.
> 
> -- 
> see shy jo

Maybe I missed something, but I thought the issue here was getting info
on repos that aren't in your sources.list, which I believe 'apt-cache
policy xxxx' doesn't do.

Celejar
--
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator



Reply to: