apt-transport-s3 fails with TypeError: decoding str is not supported
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt-transport-s3 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Ubuntu Release
--------------
Description: Ubuntu Jammy Jellyfish (development branch)
Release: 22.04
Package
-------
Package: apt-transport-s3
Version: 2.0.0-2
Expected Result
---------------
"apt-get update" correctly updates the package database from an S3-based APT repository.
Actual Result
-------------
When using the EC2 instance's IAM role credentials, "apt-get update" fails as follows.
Traceback (most recent call last):
File "/usr/lib/
method = S3_method(config)
File "/usr/lib/
self.
File "/usr/lib/
str(
TypeError: decoding str is not supported
Hit:1 http://
Hit:2 http://
Hit:3 http://
Hit:4 http://
Reading package lists... Done
E: Method s3 has died unexpectedly!
E: Sub-process s3 returned an error code (1)
E: Method /usr/lib/
E: Failed to fetch s3://<bucket>
E: Some index files failed to download. They have been ignored, or old ones used instead.
Status changed to 'Confirmed' because the bug affects multiple users.