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

Re: Files in /var/lib/dpkg/



Salman Ahmed wrote:
> 
> What is the difference b/w /var/lib/dpkg/status and

If you run 'dpkg -s <package> you will see the output.  It basically
gives you a description and tells you the status (installed or not
installed) in regards to your system.

> /var/lib/dpkg/available ?

Will show you what is a possibility if updated.

> 
> I am experimenting with a Java application to list/display detailed
> information on all installed packages on a Debian system but can't be
> sure which file to start with - /var/lib/dpkg/status or
> /var/lib/dpkg/available ?
> 
> Also, where can I find detailed documentation on the files (and their
> format) in /var/lib/dpkg ?

Look at the manpage 'man dpkg' some mention is noted on formatting,
better yet just look at the file yourself with 'less
/var/lib/dpkg/status' 
hth,
kent


Reply to: