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

Re: dselect-ftp Question



On Mon, Apr 06, 1998 at 11:20:05AM -0600, Fulgham, Brent/SCO wrote:
> 	Is there a way to configure dselect-ftp to automatically retry
> downloading packages during an FTP error?
> 
> 	For example, this weekend I did an install of hamm(frozen) using
> dselect-ftp.  Before bed I started things rolling, then went to sleep hoping
> I would have a whole distribution when I woke in the morning.
> Unfortunately, it had hung about half way through on a single file, asking
> if it should retry.  Well, of course I want it to retry.  I hit it manually,
> and it finished (with a few more hangs), but I lost several hours of time
> waiting (when I could have been sleeping!)
> 
> 	Any way to configure this?
> 
> 	Thanks,
> 	-Brent
> 

In place of editing yourself the ftp method, not really ;) Take a look
around line 300 of /usr/lib/dpkg/ftp/install (but take care to make a
backup first and change only thing that you understand!)

BTW, apt will have a more easy of doing this... wait a little and
remember that when a program ask you something, it's because the
programmer think they are no Always Good Answer [TM] (Like why xv over
libmagick? libmagick rules! ;)

Good Hacking!
Fab (who begin to write before thinking...)

-- 
------------------------------------------------------------------------
Fabien Ninoles
E-mail: fab@tzone.org
WebPage: http://www.callisto.si.usherb.ca/~94246757
You can get my public key from your nearest public keys server!
RSA PGP KEY [E3723845]: 1C C1 4F A6 EE E5 4D 99  4F 80 2D 2D 1F 85 C1 70
------------------------------------------------------------------------

Attachment: pgpZ_q2t2gnls.pgp
Description: PGP signature


Reply to: