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

Re: keeping the same packages on multiple machines



Adam Black wrote:
> Hi
> 
> I am running a P4 desktop and a centrino notebook with Debian sid and
> I wanted to know what the best way is to keep the same set of packages
> installed on both machines.  For the initial setup of the laptop, can
> I install a base system and then rsync /usr and /var/lib/dpkg from the
> desktop, or is there a different way that is better?
> 
> thanks
> adam
> 

rsync is not the way to go.  That would cause problems because you will
end up with files that dpkg doesn't even know are there.  You want
something like `dpkg --get-selections` and `dpkg --set-selections` and
probably apt-proxy or apt-cacher while you are at it.

-Roberto

-- 
Roberto C. Sanchez
http://familiasanchez.net/~roberto

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: