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

Re: How to determine installed packages..not on the current system



On Sun, Oct 03, 1999 at 05:39:57PM -0700, ferret@phonewave.net wrote:
> 
> I have a Debian system off a hard drive that will no longer boot, not even
> from disc. It's copied entirely onto my current system under
> /usr/local/old
> 
> Is there any way of reading the package selections off of it there (by
> running a command, as opposed to actually looking at all the .prerm and
> .postinst files, and manually selecting each?) and applying them to the
> current system?
> 

According to doc, I think 'dpkg --root=/usr/local/old --get-selections | dpkg
--set-selections' should do just what you want.

-Lex

Attachment: pgpt8exo5yVMQ.pgp
Description: PGP signature


Reply to: