> 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 + 50K .......... .......... .......... .......... .......... 14% 899K 1s + 100K .......... .......... .......... .......... .......... 21% 1.16M 1s + 150K .......... .......... .......... .......... .......... 29% 2.84M 1s + 200K .......... .......... .......... .......... .......... 36% 1.27M 1s + 250K .......... .......... .......... .......... .......... 43% 3.86M 0s + 300K .......... .......... .......... .......... .......... 50% 1.08M 0s + 350K .......... .......... .......... .......... .......... 58% 5.11M 0s + 400K .......... .......... .......... .......... .......... 65% 8.08M 0s + 450K .......... .......... .......... .......... .......... 72% 171K 0s + 500K .......... .......... .......... .......... .......... 80% 223K 0s + 550K .......... .......... .......... .......... .......... 87% 352K 0s + 600K .......... .......... .......... .......... .......... 94% 385K 0s + 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. rgds, akh -- -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
