Package: apt-transport-s3 Version: 1.1.0-2 Tags: patch If a source cannot be processed for any reason the error message reported back to apt is misleading.
For example, the following source line deb s3://github.com.s3.amazonaws.com/fubar/ trivial_repo/ we see the following ~$ sudo apt-get update Ign s3://github.com.s3.amazonaws.com trivial_repo/ InRelease Ign s3://github.com.s3.amazonaws.com trivial_repo/ Release.gpg Ign s3://github.com.s3.amazonaws.com trivial_repo/ Release Err s3://github.com.s3.amazonaws.com trivial_repo/ Packages AttributeError: 'NoneType' object has no attribute 'code' Ign s3://github.com.s3.amazonaws.com trivial_repo/ Translation-en_US Ign s3://github.com.s3.amazonaws.com trivial_repo/ Translation-en W: Failed to fetch s3://github.com.s3.amazonaws.com/fubar/trivial_repo/Packages AttributeError: 'NoneType' object has no attribute 'code' E: Some index files failed to download. They have been ignored, or old ones used instead. It would be nice if the message listed the HTTP 404 root cause instead of a Python exception for an unknown attribute. A patch has been submitted upstream and is available at https://github.com/BashtonLtd/apt-transport-s3/pull/5 -- System Information: Debian Release: 8.0 APT prefers testing-updates APT policy: (500, 'testing-updates'), (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages apt-transport-s3 depends on: ii apt 1.0.9.5 ii python 2.7.8-2 ii python-configobj 5.0.6-1 apt-transport-s3 recommends no packages. apt-transport-s3 suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org