public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Partial downloading to replace with local version
@ 2002-09-29 21:53 Frédéric Delanoy
  2002-09-29 22:21 ` [gentoo-dev] " Denys Duchier
  0 siblings, 1 reply; 2+ messages in thread
From: Frédéric Delanoy @ 2002-09-29 21:53 UTC (permalink / raw
  To: gentoo-dev

Hello,

I began downloading a large file (i.e. X420src-2.tgz) as part of a
"emerge -f xfree" command.

Meanwhile, I got the file locally (on some CDROM).

I replaced the partially downloaded file with my local version by
  1. Putting the file locally on a local webserver (file:// doesn't
     function)
  2. Editing the /usr/portage/x11-base/xfree/xfree-4.2.0-r12.ebuild
       - SRC_PATH0="http://127.0.0.1/path/"
     
The problem : it (wget) "downloads" the file correctly, but says
afterwards

    !!! Couldn't download X420src-2.tgz. Aborting.
    !!! Fetch for /usr/portage/x11-base/xfree/xfree-4.2.0-r12.ebuild
    failed, continuing...

Wget's (v1.8.1) manpage says :

"  --continue
   ...
  
  If there is a file named ls-lR.Z in the current directory, Wget will
  assume that it is the first portion of the remote file, and will ask 
  the server to continue the retrieval from an offset equal to the 
  length of the local file. "

but I don't find this file anywhere (nor in /usr/portage/distfiles, nor
elsewhere on my filesystem).

Is there a workaround for this problem (other than redownloading the
whole file) ?

Thanks in advance for your help.


__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-dev] Re: Partial downloading to replace with local version
  2002-09-29 21:53 [gentoo-dev] Partial downloading to replace with local version Frédéric Delanoy
@ 2002-09-29 22:21 ` Denys Duchier
  0 siblings, 0 replies; 2+ messages in thread
From: Denys Duchier @ 2002-09-29 22:21 UTC (permalink / raw
  To: gentoo-dev

"Frédéric" Delanoy <delanoy_f@yahoo.com> writes:

> Wget's (v1.8.1) manpage says :
>
> "  --continue
>    ...
>   
>   If there is a file named ls-lR.Z in the current directory, Wget will
>   assume that it is the first portion of the remote file,

The part of the documentation which you elided was:

    For instance:

              wget -c ftp://sunsite.doc.ic.ac.uk/ls-lR.Z

i.e. the paragraph applied to the case when you started to download a
file name ls-lR.Z in the first place.  Does a bit of alpha-renaming
help with your problem?

Cheers,

-- 
Dr. Denys Duchier			Denys.Duchier@ps.uni-sb.de
Forschungsbereich Programmiersysteme	(Programming Systems Lab)
Universitaet des Saarlandes, Geb. 45	http://www.ps.uni-sb.de/~duchier
Postfach 15 11 50			Phone: +49 681 302 5618
66041 Saarbruecken, Germany		Fax:   +49 681 302 5615




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-09-29 22:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-29 21:53 [gentoo-dev] Partial downloading to replace with local version Frédéric Delanoy
2002-09-29 22:21 ` [gentoo-dev] " Denys Duchier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox