Quoting Reco (recovery...@gmail.com): > On Sat, 4 Apr 2015 12:37:56 +1300 > Chris Bannister <cbannis...@slingshot.co.nz> wrote: > > On Fri, Apr 03, 2015 at 08:22:11PM +0300, Reco wrote: > > > If it does not help - download the page with wget or curl (last one is > > > preferrable for this) > > > > What can curl do that wget can't do? > > $ apt-get show wget | grep Dep > Depends: libc6 (>= 2.11), libgcrypt11 (>= 1.4.5), libgnutls26 (>= 2.12.17-0), > libgpg-error0 (>= 1.10), libidn11 (>= 1.13), zlib1g (>= 1:1.1.4), dpkg (>= > 1.15.4) | install-info > > $ apt-get show curl | grep Dep > Depends: libc6 (>= 2.7), libcurl3 (= 7.26.0-1+wheezy12), zlib1g (>= 1:1.1.4) > > $ apt-cache show libcurl3 | grep Dep > Depends: libc6 (>= 2.11), libgssapi-krb5-2 (>= 1.10+dfsg~), libidn11 (>= > 1.13), libldap-2.4-2 (>= 2.4.7), librtmp0 (>= 2.3), libssh2-1 (>= 1.2.6), > libssl1.0.0 (>= 1.0.1), zlib1g (>= 1:1.1.4) > Pre-Depends: multiarch-support > > It boils down to the fact that wget is linked against gnults and curl > is linked against openssl. Nothing that rebuild of a package can't > change, of course :) > > And openssl is more tolerable to: > 1) Self-signed certificates. > 2) Mixed support of SSL3.0 and TLS1.0. > 3) Disabled SSL3.0 and enabled TLS1.0 only. > > Of those, only 3) somewhat applies to https://www.debian.org, but > people these days have really strange ideas of configuring TLS. > Especially if said people are allowed to configure web-servers. > > So, in the case of doubt - you use curl or rebuild wget against > openssl. It's that simple.
So I typed curl in place of wget and... jessie $ curl http://cdimage.debian.org/cdimage/jessie_di_rc2/i386/iso-cd/debian-jessie-DI-rc2-i386-netinst.iso <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>302 Found</title> </head><body> <h1>Found</h1> <p>The document has moved <a href="http://gensho.acc.umu.se/cdimage/jessie_di_rc2/i386/iso-cd/debian-jessie-DI-rc2-i386-netinst.iso">here</a>.</p> <hr> <address>Apache/2.4.12 (Unix) Server at cdimage.debian.org Port 80</address> </body></html> jessie $ OK, let's try wget... jessie $ wget http://cdimage.debian.org/cdimage/jessie_di_rc2/i386/iso-cd/debian-jessie-DI-rc2-i386-netinst.iso --2015-04-07 18:48:38-- http://cdimage.debian.org/cdimage/jessie_di_rc2/i386/iso-cd/debian-jessie-DI-rc2-i386-netinst.iso Resolving cdimage.debian.org (cdimage.debian.org)... 130.239.18.163, 130.239.18.165, 130.239.18.173, ... Connecting to cdimage.debian.org (cdimage.debian.org)|130.239.18.163|:80... connected. HTTP request sent, awaiting response... 302 Found Location: http://gensho.acc.umu.se/cdimage/jessie_di_rc2/i386/iso-cd/debian-jessie-DI-rc2-i386-netinst.iso [following] --2015-04-07 18:48:38-- http://gensho.acc.umu.se/cdimage/jessie_di_rc2/i386/iso-cd/debian-jessie-DI-rc2-i386-netinst.iso Resolving gensho.acc.umu.se (gensho.acc.umu.se)... 130.239.18.176, 2001:6b0:e:2018::176 Connecting to gensho.acc.umu.se (gensho.acc.umu.se)|130.239.18.176|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 319815680 (305M) [application/x-iso9660-image] Saving to: ‘debian-jessie-DI-rc2-i386-netinst.iso’ debian-jessie-DI-rc2-i386-n 100%[===========================================>] 305.00M 1.82MB/s in 2m 18s 2015-04-07 18:50:56 (2.22 MB/s) - ‘debian-jessie-DI-rc2-i386-netinst.iso’ saved [319815680/319815680] jessie $ So I guess I need an option. man curl Hmm, over 2000 lines. Tomorrow maybe... Cheers, David. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150408171348.ga...@alum.home