Re: Download once, apt-get install many?

1999-12-31 Thread Frank Copeland
Robert L. Harris wrote:

  I'm looking at upgrading to potato.  I'm doing the 
apt-get -d dist-upgrade currently since it looks like it'll take 1day
and 15hrs per box.  Since the -d downloads, can I take the files being 
downloaded for box1, tar them up, copy and untar to box[234] and then
just apt-get install from the single downloads?  I'd hate to spend
a full week downloading the same files multiple times...

If the boxes are networked together, you can easily set up your own partial
mirror and install from that. Once you have upgraded box #1, use apt-move to
create a partial mirror from the .debs you downloaded, and set up a
web/ftp/NFS server to make the mirror available to the other boxes. Then
when you upgrade the other boxes, add box #1 to their /etc/apt/sources.list
as the *first* (or only) source.

Disclaimer: it works for me.

Frank


Re: Download once, apt-get install many?

1999-12-31 Thread Ben Lutgens
On Fri, Dec 31, 1999 at 04:49:59PM +1100, Frank Copeland wrote:
 If the boxes are networked together, you can easily set up your own partial
 mirror and install from that. Once you have upgraded box #1, use apt-move to
 create a partial mirror from the .debs you downloaded, and set up a
 web/ftp/NFS server to make the mirror available to the other boxes. Then
 when you upgrade the other boxes, add box #1 to their /etc/apt/sources.list
 as the *first* (or only) source.
ouldn't you manually copy the contents of /var/cache/apt/whateverthehellitis
or mount the original box's /var/cache/apt/ dir via nfs?
-- 

Ben Lutgens 
(resume available at http://contractor.computerwork.com/index.cfm?blutgens)

There are two things that are infinite; Human stupidity and the
universe. And I'm not sure about the universe. - Albert Einstein


Re: Download once, apt-get install many?

1999-12-31 Thread Frank Copeland
Ben Lutgens wrote:
On Fri, Dec 31, 1999 at 04:49:59PM +1100, Frank Copeland wrote:
 If the boxes are networked together, you can easily set up your own partial
 mirror and install from that. Once you have upgraded box #1, use apt-move to
 create a partial mirror from the .debs you downloaded, and set up a
 web/ftp/NFS server to make the mirror available to the other boxes. Then
 when you upgrade the other boxes, add box #1 to their /etc/apt/sources.list
 as the *first* (or only) source.

ouldn't you manually copy the contents of /var/cache/apt/whateverthehellitis
or mount the original box's /var/cache/apt/ dir via nfs?

Since you are couching that as a question, I assume you haven't actually
tried to do it that way. And my answer would be: I don't know. If you ever
try it, let us all know how it goes. I do know that apt-move does the job,
without me needing to rummage about in the guts of the package management
system.

Frank
-- 
Please don't CC: me. I read the list.


Re: Download once, apt-get install many?

1999-12-31 Thread Jason Gunthorpe

On Fri, 31 Dec 1999, Frank Copeland wrote:

 Since you are couching that as a question, I assume you haven't actually
 tried to do it that way. And my answer would be: I don't know. If you ever

If you NFS mount /var/cache/apt/archives on all machines APT will
magicially do the right thing.. Make sure to use rw,no_root_squash

Jason


Download once, apt-get install many?

1999-12-30 Thread Robert L. Harris

Ok,
  I'm looking at upgrading to potato.  I'm doing the 
apt-get -d dist-upgrade currently since it looks like it'll take 1day
and 15hrs per box.  Since the -d downloads, can I take the files being 
downloaded for box1, tar them up, copy and untar to box[234] and then
just apt-get install from the single downloads?  I'd hate to spend
a full week downloading the same files multiple times...

Robert


:wq!
---
Robert L. Harris|  Low quality in a product happens.
Senior System Engineer  |That doesn't mean it's right and
  at RnD Consulting.|  and defintely doesn't mean it should
 \_  be accepted.  Require quality.

http://www.rnd-consulting.com/~nomad

DISCLAIMER:
  These are MY OPINIONS ALONE.  I speak for no-one else.

FYI:
 perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'


Re: Download once, apt-get install many?

1999-12-30 Thread Mark Brown
On Wed, Dec 29, 1999 at 08:06:39PM -0700, Robert L. Harris wrote:

 and 15hrs per box.  Since the -d downloads, can I take the files being 
 downloaded for box1, tar them up, copy and untar to box[234] and then
 just apt-get install from the single downloads?  I'd hate to spend

Yes - you want to copy the contents of /var/cache/apt/archives about.

-- 
Mark Brown  mailto:[EMAIL PROTECTED]   (Trying to avoid grumpiness)
http://www.tardis.ed.ac.uk/~broonie/
EUFShttp://www.eusa.ed.ac.uk/societies/filmsoc/


pgpoIZLGuB7Rl.pgp
Description: PGP signature


Re: Download once, apt-get install many?

1999-12-30 Thread Bob Nielsen
On Thu, Dec 30, 1999 at 03:18:27AM +, Mark Brown wrote:
 On Wed, Dec 29, 1999 at 08:06:39PM -0700, Robert L. Harris wrote:
 
  and 15hrs per box.  Since the -d downloads, can I take the files being 
  downloaded for box1, tar them up, copy and untar to box[234] and then
  just apt-get install from the single downloads?  I'd hate to spend
 
 Yes - you want to copy the contents of /var/cache/apt/archives about.


Also the contents of /var/state/apt/lists (the Packages files).

For installing those copied from another box, the -d wouldn't be
used, of course.

Bob

-- 
Bob Nielsen, W6SWE  (RN2)[EMAIL PROTECTED]
Tucson, AZ DM42nh  QRP-L #1985   http://www.primenet.com/~nielsen
 


Re: Download once, apt-get install many?

1999-12-30 Thread Dave Sherohman
Mark Brown said:
 On Wed, Dec 29, 1999 at 08:06:39PM -0700, Robert L. Harris wrote:
 
  and 15hrs per box.  Since the -d downloads, can I take the files being 
  downloaded for box1, tar them up, copy and untar to box[234] and then
  just apt-get install from the single downloads?  I'd hate to spend
 
 Yes - you want to copy the contents of /var/cache/apt/archives about.

Or NFS mount it.

I have a real /var/cache/apt on my file server which is exported via NFS, so
it holds the latest version of packages installed on any of my machines.  I
still have to apt-get update separately for each box, but that generally
doesn't take too long.

(I haven't dug into apt far enough to figure out how to make a single apt-get
update work for all machines without having to worry about them getting
confused about who's got what installed.  But most of my updates are to a
single machine anyhow, so I would gain little to nothing by doing that
anyhow.)

-- 
Geek Code 3.1:  GCS d- s+: a- C++ UL++$ P L++ E- W--(++) N+ o+ !K
w---$ O M- !V PS+ PE Y+ PGP t 5++ X+ R++ tv- b++ DI D G e* h+ r++ y+