Public bug reported:

Similar bug:https://bugs.launchpad.net/ubuntu/+source/apt-
transport-s3/+bug/1964558

Ubuntu Release
--------------
Description: Ubuntu noble
Release: 24.04

Package
-------
Package: apt-transport-s3
Version: 2.1.0-1

expected Result
---------------
"apt-get update" correctly updates the package database from an S3-based APT 
repository.

Actual Result
-------------
ubuntu@ip-10-107-73-110:~$ sudo apt-get update
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
Hit:1 http://ap-northeast-1.ec2.archive.ubuntu.com/ubuntu noble InRelease
Hit:2 http://ap-northeast-1.ec2.archive.ubuntu.com/ubuntu noble-updates 
InRelease
Hit:3 http://ap-northeast-1.ec2.archive.ubuntu.com/ubuntu noble-backports 
InRelease
Hit:4 http://security.ubuntu.com/ubuntu noble-security InRelease
Reading package lists... Done
E: Method s3 has died unexpectedly!
E: Sub-process s3 returned an error code (1)
E: Method /usr/lib/apt/methods/s3 did not start correctly
E: Failed to fetch s3://<bucket>/dists/noble/InRelease
E: Some index files failed to download. They have been ignored, or old ones 
used instead.

if using apt-transport-s3_2.2.0-1,it was correctly update.

** Affects: apt-transport-s3 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2115034

Title:
  apt-transport-s3 fails TypeError: decoding str is not supported

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-transport-s3/+bug/2115034/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to