Bug#862000: live-wrapper: Downloading of files should follow redirects
Package: live-wrapper
Version: 0.6
Severity: normal
If you use httpredir.debian.org as mirror, installation will fail
because it will try to open the http-server's redirect message as tar
file.
If you add
curl.setopt(pycurl.FOLLOWLOCATION, 1)
in /usr/lib/python2.7/dist-packages/lwr/run.py in download_file(), it
works.
-- System Information:
Debian Release: 9.0
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64
(x86_64)
Foreign Architectures: armhf, i386
Kernel: Linux 4.9.0-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages live-wrapper depends on:
ii debian-archive-keyring 2014.3
ii isolinux 3:6.03+dfsg-14.1
ii python-apt 1.4.0~beta3
ii python-cliapp 1.20160724-2
ii python-distro-info 0.15
ii python-requests 2.12.4-1
pn python:any <none>
ii vmdebootstrap 1.7-1
ii xorriso 1.4.6-1+b1
live-wrapper recommends no packages.
Versions of packages live-wrapper suggests:
pn cmdtest <none>
-- no debconf information
-- debsums errors found:
debsums: changed file /usr/lib/python2.7/dist-packages/lwr/run.py (from live-wrapper package)
debsums: changed file /usr/share/live-wrapper/customise.sh (from live-wrapper package)
Reply to: