Re: Making one machine an "apt server" for others....
On Wed, Oct 23, 2002 at 08:05:35PM -0700, Joe Emenaker wrote:
> So, I got to thinking... why can't machine "A" do a normal upgrade
> and save all of its .deb packages. Then, all of the other machines
> would have their sources.list file pointed to machine "A" and they'd
> just hit *that* machine for their updates.
> I know that apt saves its packages in /var/cache/apt, so that's not
> a problem. The problem, to me, is in generating the Packages and
> Release files. Is there an easy way to do this?
I have no idea whether there are any problems associated with this
technique, but it works for me.
I just export /var/cache/apt as an nfs export
then mount it at /var/cache/apt on my other machine and run
apt-get update; apt-get dist-upgrade
cheers
dc
--
David Purton
dcpurton@chariot.net.au
If you, O LORD, kept a record of sins, O Lord, who could stand?
Psalm 130:3
Reply to: