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

Re: dpkg --set-selections < pkg-list-from-other host doesn't seem to work...

On Fri, 10 Jan 2003, Walter Tautz wrote:

> I am currently trying to sync up two machines, say A and B,
> via the dpkg --get-selections (on A)
> dpkg --set-selections (on B) method and running apt-get dselect-upgrade on B, 
> alas when I look at the output of dpkg --get-selections on B it does not say
> to some of the packages in particular 
> lprng install 
> is in the output of dpkg --get-selections on A but it still says 
> lpr install
> on host B after running dpkg --set-selections on B 
> Would it be better to sync
> up the file /var/lib/dpkg/status ? I.e. can I use rsync or something? 
> Walter

I have solved the problem. See my post Solution: re ...

in a nutshell you must run dpkg --get-selections \* on host A.

Reply to: