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

Re: Where Is the List of Installed Packages?



On Sb, 08 ian 11, 18:38:45, Avi Greenbury wrote:
> David Sastre  wrote:
> 
> > You could also mount that PATA drive externally and chroot into it to
> > request that (or any other) info: 
> 
> You can also use dpkg's --admindir option so:
> 
> dpkg --admindir=/mnt/backup/var/lib/apt --get-selections >
> packagelist.txt

You probably meant /mnt/backup/var/lib/dpkg

> I'd imagine you could just pipe that into another dpkg, too:
> 
> dpkg --admindir=/mnt/backup/var/lib/apt --get-selections | dpkg
> --set-selections

Cool :)

Regards,
Andrei
-- 
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic

Attachment: signature.asc
Description: Digital signature


Reply to: