Web lists-archives.com

Re: on non-running OS find all installed pkgs

On Mon, Jul 31, 2017 at 01:57:52PM -0400, Harry Putnam wrote:
> The hosts in this query are both on vbox vms.  One not running but
> with OS disk mounted on a different host.
> How can I get a list of all debian pkgs installed on the OS that is
> not running? That is, when I have the debian OS disk mounted on a
> different HOST.
> Is there something in var (or anywhere else for that matter) that can
> be used to get all installed pkgs?

Yes. You can read /var/lib/dpkg/status.