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

Re: keeping the same packages on multiple machines

Adam Black schrieb am 02.05.2006 17:44:

> 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?

# on your desktop:
dpkg --get-selections > my-selections.txt
# copy my-selections.txt to your laptop

# on your laptop:
dpkg --set-selections < my-selections.txt
apt-get dselect-upgrade

+++ Typografie-Regeln: http://www.zvisionwelt.de/typokurz.pdf (1.4)

Reply to: