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

Re: The curious case of openjdk-6-jre-headless_6b24-1.11.1-3_amd64.deb in d7.01alpha



In-line :-

On Sat, May 19, 2012 at 2:11 PM, Peter Palfrader <weasel@debian.org> wrote:
> On Wed, 16 May 2012, shirish शिरीष wrote:
>
>> $ wget -c http://snapshot.debian.org/archive/debian/20120516T040426Z/pool/main/0/0ad/0ad-dbg_0%7Er11339-2_amd64.deb
>> --2012-05-16 12:09:40--
>> http://snapshot.debian.org/archive/debian/20120516T040426Z/pool/main/0/0ad/0ad-dbg_0%7Er11339-2_amd64.deb
>> Resolving snapshot.debian.org (snapshot.debian.org)... 193.62.202.30,
>> 206.12.19.150, 2607:f8f0:610:4000:1a1a:0:ce0c:1396, ...
>> Connecting to snapshot.debian.org
>> (snapshot.debian.org)|193.62.202.30|:80... connected.
>> HTTP request sent, awaiting response... 200 OK
>> Length: 39393896 (38M) [application/x-debian-package]
>> Saving to: `0ad-dbg_0~r11339-2_amd64.deb'
>>
>> 30% [=======================>
>>             ] 1,21,89,577 24.4K/s   in 10m 5s
>>
>> 2012-05-16 12:19:53 (19.7 KB/s) - Connection closed at byte 12189577. Retrying.
>>
>> --2012-05-16 12:19:54--  (try: 2)
>> http://snapshot.debian.org/archive/debian/20120516T040426Z/pool/main/0/0ad/0ad-dbg_0%7Er11339-2_amd64.deb
>> Connecting to snapshot.debian.org
>> (snapshot.debian.org)|193.62.202.30|:80... connected.
>> HTTP request sent, awaiting response... 200 OK
>> Length: 39393896 (38M) [application/x-debian-package]
>> Saving to: `0ad-dbg_0~r11339-2_amd64.deb'
>>
>> 28% [====================>
>>             ] 1,10,58,593 18.9K/s   in 10m 7s
>>
>> 2012-05-16 12:30:05 (17.8 KB/s) - Connection closed at byte 12189577. Retrying.
>>
>> --2012-05-16 12:30:07--  (try: 3)
>> http://snapshot.debian.org/archive/debian/20120516T040426Z/pool/main/0/0ad/0ad-dbg_0%7Er11339-2_amd64.deb
>> Connecting to snapshot.debian.org
>> (snapshot.debian.org)|193.62.202.30|:80... connected.
>> HTTP request sent, awaiting response... 200 OK
>> Length: 39393896 (38M) [application/x-debian-package]
>> Saving to: `0ad-dbg_0~r11339-2_amd64.deb'
>>
>>  2% [>
>>             ] 7,94,920    28.6K/s  eta 25m 13s ^C
>
> All these download just fine for me from different locations:
>
> } weasel@evi:~$ wget --header='Host: snapshot.debian.org' http://206.12.19.150/archive/debian/20120511T175706Z/pool/main/o/openjdk-6/openjdk-6-jre-headless_6b24-1.11.1-3_amd64.deb
> } --2012-05-19 10:36:31--  http://206.12.19.150/archive/debian/20120511T175706Z/pool/main/o/openjdk-6/openjdk-6-jre-headless_6b24-1.11.1-3_amd64.deb
> } Connecting to 206.12.19.150:80... connected.
> } HTTP request sent, awaiting response... 200 OK
> } Length: 25291512 (24M) [application/x-debian-package]
> } Saving to: `openjdk-6-jre-headless_6b24-1.11.1-3_amd64.deb'
> }
> } 100%[======================================>] 25,291,512  6.46M/s   in 4.3s
> }
> } 2012-05-19 10:36:36 (5.63 MB/s) - `openjdk-6-jre-headless_6b24-1.11.1-3_amd64.deb' saved [25291512/25291512]
>
>
> } weasel@anguilla:~$ wget --header='Host: snapshot.debian.org' http://193.62.202.30/archive/debian/20120516T040426Z/pool/main/0/0ad/0ad-dbg_0%7Er11339-2_amd64.deb
> } Kr11339-2_amd64.deb [weasel@anguilla: ~] --2012-05-19 10:37:21--  http://193.62.202.30/archive/debian/20120516T040426Z/pool/main/0/0ad/0ad-dbg_0%7Er11339-2_amd64.deb
> } Connecting to 193.62.202.30:80... connected.
> } HTTP request sent, awaiting response... 200 OK
> } Length: 39393896 (38M) [application/x-debian-package]
> } Saving to: `0ad-dbg_0~r11339-2_amd64.deb'
> }
> } 100%[======================================>] 39,393,896  5.87M/s   in 7.0s
> }
> } 2012-05-19 10:37:30 (5.40 MB/s) - `0ad-dbg_0~r11339-2_amd64.deb' saved [39393896/39393896]
>

Hi all,
@peter I don't get why you used the header option for downloading. The
manpage says something about it but it's above me.

--header=header-line
           Send header-line along with the rest of the headers in each
HTTP request.  The supplied header is sent  as-is, which means it must
contain name and value separated by colon, and must not contain
newlines.

           You may define more than one additional header by
specifying --header more than once.

                   wget --header='Accept-Charset: iso-8859-2' \
                           --header='Accept-Language: hr'        \
                              http://fly.srk.fer.hr/

           Specification of an empty string as the header value will
clear all previous user-defined headers.

           As of Wget 1.10, this option can be used to override
headers otherwise generated automatically.  This example instructs
Wget to connect to localhost, but to specify foo.bar in the "Host"
header:

                   wget --header="Host: foo.bar" http://localhost/

           In versions of Wget prior to 1.10 such use of --header
caused sending of duplicate headers.

> However, I notice your download rate is quite small, so I wouldn't rule
> out varnish or something else killing your connection if it takes a long
> time.
>
> That resuming a download does not work might also be a concern that
> warrants further investigation.

what's varnish ? I am also curious to know why it doesn't resume.
Looking at the manpage and tried to see if I have a local ~/.wgetrc
(and I don't). Then I looked at /etc/wgetrc and this is what's in
there :-

passive_ftp = on

That is the only uncommented line in the whole /etc/wgetrc . I also
checked .bashrc to see if something in there which might obstruct wget
or change something in wget but wasn't able to figure out things.

Please lemme know how I can help in furthering the investigation about
not resuming the download.

> Cheers,
> --
>                           |  .''`.       ** Debian **
>      Peter Palfrader      | : :' :      The  universal
>  http://www.palfrader.org/ | `. `'      Operating System
>                           |   `-    http://www.debian.org/

-- 
          Regards,
          Shirish Agarwal  शिरीष अग्रवाल
  My quotes in this email licensed under CC 3.0
http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
065C 6D79 A68C E7EA 52B3  8D70 950D 53FB 729A 8B17


Reply to: