Date: Fri, 18 Apr 2003 08:22:40 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: taxman <taxman@acd.net> Cc: freebsd-questions@freebsd.org Subject: Re: fetch starts over Message-ID: <20030418072239.GB50571@happy-idiot-talk.infracaninophi> In-Reply-To: <200304172241.08776.taxman@acd.net> References: <200304172241.08776.taxman@acd.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--Pd0ReVV5GZGQvF3a Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 17, 2003 at 10:41:08PM -0400, taxman wrote: >=20 > Hi all, > =09 > I'm sure this is known, but it seems fixable. When trying to fetch a=20 > distfile, if it fails, then fetch overwrites it and starts from the begin= ing. >=20 > Receiving gcc-core-3.1.1.tar.bz2 (10213865 bytes): 39% (ETA 41:01) ) > 4000592 bytes transferred in 1584.6 seconds (2.47 kBps) > fetch: gcc-core-3.1.1.tar.bz2 appears to be truncated: 4000592/10213865 b= ytes > >> Attempting to fetch from=20 > ftp://ftp.funet.fi/pub/mirrors/sources.redhat.com/pub/gcc/releases/gcc-3.= 1.1/. > Receiving gcc-core-3.1.1.tar.bz2 (10213865 bytes): 1% (ETA 01:17:34) > 108544 bytes transferred in 49.5 seconds (2.14 kBps) > fetch: transfer interrupted >=20 > A little painful on a connection that slow!=20 >=20 > It seems it wouldn't just be as simple as using -r or else that would hav= e=20 > already been done. Or am I missing something? Is it that easy, or is th= ere=20 > another way to fix it? >=20 > Anyway to set that would I just set FETCH_CMD=3D /usr/bin/fetch -r in=20 > /etc/make.conf? Patches to allow re-fetching a truncated download went into bsd.port.mk just yesterday courtesy of Kris Kennaway: see http://docs.freebsd.org/cgi/getmsg.cgi?fetch=3D438860+0+current/freebsd= -ports Re-cvsup your ports, and set the FETCH_REGET variable for the number of times you want the ports make system to retry the fetch. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --Pd0ReVV5GZGQvF3a Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+n6e/dtESqEQa7a0RApRLAKCVP4h5F4OmhqqiUeNP/r7Xy0mNzwCgm9gO 7GKD/8Pq1fWDXkT4ImZMLNw= =o00T -----END PGP SIGNATURE----- --Pd0ReVV5GZGQvF3a--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030418072239.GB50571>