Package: wget Version: 1.18-5 There is something that is not quite right. I discover this while building OpenELEC distribution from a jessie and a testing env. From the jessie env, everything is working quite nicely. However from testing, wget keeps on failing retrieving flex.
Simple Steps: $ wget -c https://github.com/westes/flex/releases/download/v2.6.3/flex-2.6.3.tar.gz --2017-04-12 08:46:12-- https://github.com/westes/flex/releases/download/v2.6.3/flex-2.6.3.tar.gz Resolving github.com (github.com)... 192.30.253.113, 192.30.253.112 Connecting to github.com (github.com)|192.30.253.113|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://github-cloud.s3.amazonaws.com/releases/14521001/8dd51720-ce90-11e6-8085-8c383531b03e.gz?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAISTNZFOVBIJMK3TQ%2F20170412%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20170412T064612Z&X-Amz-Expires=300&X-Amz-Signature=e70cd96f5dfe78c4bae051948ddf5a66dff5c7225c1f92841b163c8a2ac14817&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dflex-2.6.3.tar.gz&response-content-type=application%2Foctet-stream [following] --2017-04-12 08:46:12-- https://github-cloud.s3.amazonaws.com/releases/14521001/8dd51720-ce90-11e6-8085-8c383531b03e.gz?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAISTNZFOVBIJMK3TQ%2F20170412%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20170412T064612Z&X-Amz-Expires=300&X-Amz-Signature=e70cd96f5dfe78c4bae051948ddf5a66dff5c7225c1f92841b163c8a2ac14817&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dflex-2.6.3.tar.gz&response-content-type=application%2Foctet-stream Resolving github-cloud.s3.amazonaws.com (github-cloud.s3.amazonaws.com)... 52.216.65.8 Connecting to github-cloud.s3.amazonaws.com (github-cloud.s3.amazonaws.com)|52.216.65.8|:443... connected. HTTP request sent, awaiting response... 403 Forbidden The name is too long, 439 chars total. Trying to shorten... New name is 8dd51720-ce90-11e6-8085-8c383531b03e.gz?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAISTNZFOVBIJMK3TQ%2F20170412%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20170412T064612Z&X-Amz-Expires=300&X-Amz-Signature=e70cd96f5dfe78c4bae0. 2017-04-12 08:46:13 ERROR 403: Forbidden. Please note however that the download is working just fine without the continue option: $ wget https://github.com/westes/flex/releases/download/v2.6.3/flex-2.6.3.tar.gz --2017-04-12 08:43:47-- https://github.com/westes/flex/releases/download/v2.6.3/flex-2.6.3.tar.gz Resolving github.com (github.com)... 192.30.253.112, 192.30.253.113 Connecting to github.com (github.com)|192.30.253.112|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://github-cloud.s3.amazonaws.com/releases/14521001/8dd51720-ce90-11e6-8085-8c383531b03e.gz?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAISTNZFOVBIJMK3TQ%2F20170412%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20170412T064347Z&X-Amz-Expires=300&X-Amz-Signature=366f0d4beef94aa8af38eedda3b3887f4e3d12a13b177f1053cece0b3f85298e&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dflex-2.6.3.tar.gz&response-content-type=application%2Foctet-stream [following] --2017-04-12 08:43:47-- https://github-cloud.s3.amazonaws.com/releases/14521001/8dd51720-ce90-11e6-8085-8c383531b03e.gz?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAISTNZFOVBIJMK3TQ%2F20170412%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20170412T064347Z&X-Amz-Expires=300&X-Amz-Signature=366f0d4beef94aa8af38eedda3b3887f4e3d12a13b177f1053cece0b3f85298e&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dflex-2.6.3.tar.gz&response-content-type=application%2Foctet-stream Resolving github-cloud.s3.amazonaws.com (github-cloud.s3.amazonaws.com)... 52.216.65.8 Connecting to github-cloud.s3.amazonaws.com (github-cloud.s3.amazonaws.com)|52.216.65.8|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 1405560 (1.3M) [application/octet-stream] Saving to: ‘flex-2.6.3.tar.gz’ flex-2.6.3.tar.gz 100%[=====================================================================================================>] 1.34M 847KB/s in 1.6s 2017-04-12 08:43:49 (847 KB/s) - ‘flex-2.6.3.tar.gz’ saved [1405560/1405560] references: $ apt-cache policy wget ca-certificates wget: Installed: 1.18-5 Candidate: 1.18-5 Version table: *** 1.18-5 500 500 http://ftp.fr.debian.org/debian stretch/main amd64 Packages 100 /var/lib/dpkg/status ca-certificates: Installed: 20161130 Candidate: 20161130 Version table: *** 20161130 500 500 http://ftp.fr.debian.org/debian stretch/main amd64 Packages 500 http://ftp.fr.debian.org/debian stretch/main i386 Packages 100 /var/lib/dpkg/status