l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2004 Aug 14 06:01

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] Debian Unstable - apt strangeness
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] Debian Unstable - apt strangeness

On Fri, Aug 13, 2004 at 03:29:45PM -0700, Rick Moen wrote:
> dpkg knows nothing about available packages (as indicated in
> /var/lib/apt/lists/*Packages and /var/lib/dpkg/available).  It knows
> only about the contents of /var/lib/dpkg/status -- the "installed
> packages" database.

dpkg must know about available packages since:

$ dpkg -l package-name-pattern

lists available packages (apparently from /var/lib/dpkg/available)
regardless of whether they're installed.

Therefore, it's a bit misleading that dpkg -l with no
package-name-pattern only lists installed packages.

So how is /var/lib/dpkg/available generated if not from apt?

The output of:

$ apt-cache dumpavail

has the same package info as /var/lib/dpkg/available.

I'm sure this can be elucidated by thoroughly reading the documentation
for dpkg and apt, but it's not readily obvious, and the man pages are
not specific enough.

vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
EDGE Tech Corp.
For donating some give-aways for our meetings.