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

Re: apt-deb-list?



* Keegan Quinn <kquinn@respond2.com> [030503 00:57]:
> On the source machine:
> dpkg --get-selections "*" > selection-data
> 
> Copy the selection-data file to the target, then on that machine run:

I guess a 
dpkg --get-selections | awk '{print $1 " purge" ;next}' | dpkg --set-selections 
or aquivalent before the following is the minor detail mentioned. 
(A --clear-selections is still in available, is it?)

> dpkg --set-selections < selection-data

The problem might be, that the destination machine has packages
installed the source machine does not know at all. (Thus not
even knowing they are not installed and thus not marked in
selection-data to be deinstalled or purged).

Hochachtungsvoll,
  Bernhard R. Link

-- 
Sendmail is like emacs: A nice operating system, but missing
an editor and a MTA.



Reply to: