> Date: Sun, 23 Oct 2016 09:42:38 +0100 > From: [email protected] (akhiezer) > Subject: Re: [blfs-dev] Re3: Popt-1.16 http download corrupted file? > > > From: Peng HG <[email protected]> > > Date: Sat, 22 Oct 2016 18:28:14 +0000 > > Subject: Re: [blfs-dev] Re3: Popt-1.16 http download corrupted file? > > > > The source of the problem is probably this: > > > > http://superuser.com/questions/940605/chromium-prevent-unpacking-tar-gz > > > > > It certainly tallies with the following: > ==== > Ref: http://www.linuxfromscratch.org/blfs/view/7.10/general/popt.html > == > $ wget -S --spider http://rpm5.org/files/popt/popt-1.16.tar.gz \ > >./blfs710-popt116.wget-S-spider 2>&1 > $ > # Cross-check in case '--spider' mode somehow interferes: > $ wget -S http://rpm5.org/files/popt/popt-1.16.tar.gz \ > >./blfs710-popt116.wget-S 2>&1 > $ > $ cat ./blfs710-popt116.wget-S-spider > Spider mode enabled. Check if remote file exists. > --2016-10-23 09:30:50-- http://rpm5.org/files/popt/popt-1.16.tar.gz > Resolving rpm5.org (rpm5.org)... 148.251.204.42 > Connecting to rpm5.org (rpm5.org)|148.251.204.42|:80... connected. > HTTP request sent, awaiting response... > HTTP/1.1 200 OK > Date: Sun, 23 Oct 2016 08:51:38 GMT > Server: Apache/2.2.29 (OpenPKG/CURRENT) > Last-Modified: Fri, 07 May 2010 17:19:32 GMT > ETag: "a442-ab931-48604432f3100" > Accept-Ranges: bytes > Content-Length: 702769 > Keep-Alive: timeout=15, max=100 > Connection: Keep-Alive > Content-Type: application/x-gzip > Content-Encoding: x-gzip > Length: 702769 (686K) [application/x-gzip] > Remote file exists. > > $ > $ diff -u ./blfs710-popt116.wget-S{-spider,} > --- ./blfs710-popt116.wget-S-spider 2016-10-23 09:30:51.069000002 +0100 > +++ ./blfs710-popt116.wget-S 2016-10-23 09:31:07.768000002 +0100 > @@ -1,10 +1,9 @@ > -Spider mode enabled. Check if remote file exists. > ---2016-10-23 09:30:50-- http://rpm5.org/files/popt/popt-1.16.tar.gz > +--2016-10-23 09:31:06-- http://rpm5.org/files/popt/popt-1.16.tar.gz > Resolving rpm5.org (rpm5.org)... 148.251.204.42 > Connecting to rpm5.org (rpm5.org)|148.251.204.42|:80... connected. > HTTP request sent, awaiting response... > HTTP/1.1 200 OK > - Date: Sun, 23 Oct 2016 08:51:38 GMT > + Date: Sun, 23 Oct 2016 08:51:54 GMT > Server: Apache/2.2.29 (OpenPKG/CURRENT) > Last-Modified: Fri, 07 May 2010 17:19:32 GMT > ETag: "a442-ab931-48604432f3100" > @@ -15,5 +14,22 @@ > Content-Type: application/x-gzip > Content-Encoding: x-gzip > Length: 702769 (686K) [application/x-gzip] > -Remote file exists. > +Saving to: "popt-1.16.tar.gz" > + > + 0K .......... .......... .......... .......... .......... 7% 357K 2s . . > + 650K .......... .......... .......... ...... 100% 416K=1.2s > + > +2016-10-23 09:31:07 (552 KB/s) - "popt-1.16.tar.gz" saved [702769/702769] > > $ > ==== > > > So, yes, it may be the 'Content-Encoding: x-gzip' line from the popt > web-server, that's causing the issue. >
And for completeness: $ file ./popt-1.16.tar.gz # - the wget- just-/newly-downloaded object. ./popt-1.16.tar.gz: gzip compressed data, from Unix, last modified: Tue May 4 21:56:51 2010, max compression $ akh -- -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
