[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1058918: apt-transport-s3: Fails when using IAM credentials



Package: apt-transport-s3
Version: 2.1.0-1
Severity: important
X-Debbugs-Cc: joshua@roughtrade.net

Dear Maintainer,

During apt-get update when using default (IAM) credentials
on an EC2 instance, we get:

Traceback (most recent call last):
  File "/usr/lib/apt/methods/s3", line 639, in <module>
    method = S3_method(config)
             ^^^^^^^^^^^^^^^^^
  File "/usr/lib/apt/methods/s3", line 426, in __init__
    self.iam.get_credentials()
  File "/usr/lib/apt/methods/s3", line 234, in get_credentials
    str(self.iamrole, 'utf-8')))
    ^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: decoding str is not supported

This is a known bug in upstream, fix available but not in release.
See https://github.com/MayaraCloud/apt-transport-s3/pull/60


-- System Information:
Debian Release: 12.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-10-cloud-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages apt-transport-s3 depends on:
ii  apt                2.6.1
ii  python3            3.11.2-1+b1
ii  python3-configobj  5.0.8-1

apt-transport-s3 recommends no packages.

apt-transport-s3 suggests no packages.

-- no debconf information


Reply to: