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

Re: Where Is the List of Installed Packages?



On Sat, 08 Jan 2011 10:22:01 -0500, Hal Vaughan wrote:

> I can simply re-install Debian with no trouble, the only issue is that I
> don't have the up-to-date list of all the packages installed on the old
> PATA drive.  I can, though, plug it in and read it as a data drive.
>
> So where on that drive can I find the list of installed packages?

You could also mount that PATA drive externally and chroot into it to
request that (or any other) info: 

# dpkg -l > list.of.packages.txt

The result is a much smaller file:

# dpkg -l > list

# ll list
-rw-r--r-- 1 root root 297969 ene  8 18:39 list

# ll /var/lib/dpkg/status
-rw-r--r-- 1 root root 2094674 dic 23 20:57 /var/lib/dpkg/status

-- 
Huella de clave primaria: 0FDA C36F F110 54F4 D42B  D0EB 617D 396C 448B 31EB

Attachment: signature.asc
Description: Digital signature


Reply to: