Package: apt-transport-s3
Version: 2.2.1-1
Severity: important
Dear Maintainer,
when running "apt-get update" after having configured an S3 repository,
but w/o configuring s3auth.conf in order to access the repository using
AWS instance credentials, the following error occurs:
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
I could "fix" the problem by removing the "str()" call completely, since
"self.iamrole" is a string already.
-- System Information:
Debian Release: 13.6
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.12.95+deb13-cloud-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE,
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL
set to de_DE.UTF-8), LANGUAGE=de
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 3.0.3
ii python3 3.13.5-1
ii python3-configobj 5.0.9-1
apt-transport-s3 recommends no packages.
apt-transport-s3 suggests no packages.
-- no debconf information