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

Synchronizing Debian package???



> I have a number of machines that have a number of different packages
> installed, and evenwith machines that have the same package, they may
> be at different revision levels.

Seeing as this was a post to debian-embedded I'm assuming that these
might not all be standard installations? How customised are the
machines? Only a few brave souls are currently running Emdebian so I'm
confused.

> Is there some 'niffty' way to synchronise these systems?

If there is (or can be) a PC somewhere on the LAN that has the space for
a local copy, you would indeed use rsync to create that local copy and
then apt to upgrade each machine without the bandwidth issues. i.e. one
WAN operation, many LAN operations.

> On thought was to use 'rsync' on the /var/cache/apt directory, getting
> all packages on
> the various machines, and then somehow use some magic incantation to get the
> packages all installed on the systems.

The "magic" would simply be adding a temporary apt source that
corresponds to the local PC with the rsync'd copy.

> Is there some other way, and of course a 'manual' apt-get for all
> packages on eachsystem is tedious and lending itself to failure to
> have all systems synced...

If you remove the other mirrors (temporarily) from the sources lists,
then the local one can be fixed at whatever versions you want and as
long as none of the machines are running any versions *newer* than the
mirror, all will end up with the same version - providing they are all
running the same distro (unstable, testing, Etch etc.)

-- 


Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/


Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: