Your message dated Fri, 11 Sep 2015 18:03:24 +0100
with message-id <20150911170324.GA21007@bashton004>
and subject line 
has caused the Debian Bug report #774827,
regarding apt-transport-s3: Misleading error messages
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
774827: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=774827
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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

--- End Message ---
--- Begin Message ---
fixed 774827 apt-transport-s3/1.2.0-1

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply via email to