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

Re: Make debootstrap re-entrant?



On Thu, Nov 01, 2001 at 09:56:53PM -0900, Ethan Benson wrote:
> On Fri, Nov 02, 2001 at 03:27:59PM +1000, Anthony Towns wrote:
> > On Thu, Nov 01, 2001 at 07:47:57AM -0700, Chris Tillman wrote:
> > > It can't think of any reason not to make debootstrap's downloading of debs
> > > more friendly. I had my base install interrupted tonight and I had to wait
> > > through all the same downloads again, although they were already there on
> > > the disk.
> > Eh?
> > Successful downloads are already skipped (and sizes and checksums are
> > already checked).
> not unless you tell it to use null: as a mirror, which you can't do
> if it died midway.  otherwise it just starts over from scratch.

The only thing "null:" does is cause an error if the function that does
download stuff is ever called. The code for skipping downloads is called
no matter what your url is.

Try running "sudo debootstrap --download-only woody woody-chroot" a
couple of times, ^C'ing after it's finished a few downloads each time, eg.

Cheers,
aj

-- 
Anthony Towns <aj@humbug.org.au> <http://azure.humbug.org.au/~aj/>
I don't speak for anyone save myself. GPG signed mail preferred.

 "Security here. Yes, maam. Yes. Groucho glasses. Yes, we're on it.
   C'mon, guys. Somebody gave an aardvark a nose-cut: somebody who
    can't deal with deconstructionist humor. Code Blue."
		-- Mike Hoye,
		      see http://azure.humbug.org.au/~aj/armadillos.txt

Attachment: pgpI8qvVNkGww.pgp
Description: PGP signature


Reply to: