Your message dated Thu, 03 Jun 2021 20:33:31 +0000
with message-id <e1lou1z-000i2a...@fasolo.debian.org>
and subject line Bug#986647: fixed in apt-transport-s3 2.0.0-2
has caused the Debian Bug report #986647,
regarding apt-transport-s3: Running "apt update" on an Ubuntu 20.04 end up in a 
python exception
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 ow...@bugs.debian.org
immediately.)


-- 
986647: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=986647
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: apt-transport-s3
Version: 2.0.0-1
Severity: normal
Tags: patch

Dear Maintainer,


   * What led up to the situation?
Running "apt update".

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

   * What was the outcome of this action?
Traceback (most recent call last):
  File "/usr/lib/apt/methods/s3", line 598, in <module>
    method = S3_method(config)
  File "/usr/lib/apt/methods/s3", line 385, in __init__
    self.iam.get_credentials()
  File "/usr/lib/apt/methods/s3", line 192, in get_credentials
    data = self.__request_json(urllib.parse.urljoin(self.credentials_metadata,
  File "/usr/lib/python3.8/urllib/parse.py", line 512, in urljoin
    base, url, _coerce_result = _coerce_args(base, url)
  File "/usr/lib/python3.8/urllib/parse.py", line 121, in _coerce_args
    raise TypeError("Cannot mix str and non-str arguments")
TypeError: Cannot mix str and non-str arguments
Hit:1 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:3 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:4 http://ppa.launchpad.net/ansible/ansible/ubuntu focal InRelease
Hit:5 https://pkg.threatstack.com/v2/Ubuntu focal InRelease
Hit:6 http://security.ubuntu.com/ubuntu focal-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://REDACTED-OUT
E: Some index files failed to download. They have been ignored, or old ones
used instead.
   * What outcome did you expect instead?



-- System Information:
Debian Release: bullseye/sid
  APT prefers focal-updates
  APT policy: (500, 'focal-updates'), (500, 'focal-security'), (500, 'focal'), 
(100, 'focal-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.8.0-48-generic (SMP w/8 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
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.0.4
ii  python3            3.8.2-0ubuntu2
pn  python3-configobj  <none>

apt-transport-s3 recommends no packages.

apt-transport-s3 suggests no packages.
--- /usr/lib/apt/methods/s3     2021-04-07 20:55:36.739190710 +0000
+++ s3  2021-04-07 20:52:39.432481416 +0000
@@ -188,7 +188,7 @@
         if data.get("AccessKeyId") is None:
             self.__get_role()
             data = 
self.__request_json(urllib.parse.urljoin(self.credentials_metadata,
-                                                            self.iamrole))
+                                                            str(self.iamrole, 
'utf-8')))
 
         self.access_key = data['AccessKeyId']
         if self.access_key is None or self.access_key == '':

--- End Message ---
--- Begin Message ---
Source: apt-transport-s3
Source-Version: 2.0.0-2
Done: Marcin Kulisz <deb...@kulisz.net>

We believe that the bug you reported is fixed in the latest version of
apt-transport-s3, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 986...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Marcin Kulisz <deb...@kulisz.net> (supplier of updated apt-transport-s3 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 03 Jun 2021 20:20:49 +0100
Source: apt-transport-s3
Architecture: source
Version: 2.0.0-2
Distribution: unstable
Urgency: medium
Maintainer: Marcin Kulisz <deb...@kulisz.net>
Changed-By: Marcin Kulisz <deb...@kulisz.net>
Closes: 986647
Changes:
 apt-transport-s3 (2.0.0-2) unstable; urgency=medium
 .
   * Applying patch fixing string opperations (Closes: #986647)
Checksums-Sha1:
 fbb553038d0ddb5b0c1e9fcf1de006d5b8dcdeeb 2417 apt-transport-s3_2.0.0-2.dsc
 6567d3ed3afad54a0e966974b0f24d029f48d854 8752 
apt-transport-s3_2.0.0-2.debian.tar.xz
Checksums-Sha256:
 6118982260269b1954fbfbf4c741622f6795157e8b77d575f46affb269c2c32f 2417 
apt-transport-s3_2.0.0-2.dsc
 1c94f8f3f0f6a5043bfceb40999a2bab1deec98ce8caa30114e42cde549a5627 8752 
apt-transport-s3_2.0.0-2.debian.tar.xz
Files:
 89021cd73a0c5b2876b3116bcfe14624 2417 admin optional 
apt-transport-s3_2.0.0-2.dsc
 79e42c79b802d593edc4f3e5460735a2 8752 admin optional 
apt-transport-s3_2.0.0-2.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQJGBAEBCgAwFiEEPfGk38cyRog4vPEhaGkw3VjDOLMFAmC5OHUSHGRlYmlhbkBr
dWxpc3oubmV0AAoJEGhpMN1Ywziz/90P/RwM0pvqMod7CkQOvhInoGbvf7xSiY8c
klsc5T/7LIxgQjEPzkjlcwWZjtvNgqY711zd7zLThcVRLBwVkvnQsd72Z+1Ka8gF
y2IfjpSc05iY8BcuvMjVygonkt6qGfyYrdladvvU/sedtYGBWl3LIgoCZWWPigon
SOqIHUkGU6pGb4duc+C7bNiU4l2ZgtGU0MSV37M2GWVsULInuLQblKawlaQSUWvD
kyATH1B2xWj0zXlBMkf0Y046zwnH1jtwzlX79vsQ8THkt7rSap5Dvf4iDUpZFES3
bbg0WxIUFlOBMKJNLKxH6/3jightnR5L95N9WyVKLeUlAJseotD2x0FEU/GP3d8H
dJYDatqAL8qelZtk56CpvnTmsBZ0CLurx2h1kpSkXEa6Oel+EwUt+yHykNax/pA9
CMyfsco1PUaUHOD4yPlmriT9dYeP778BiIX26NQysO+YwTuYiXHncZ+AiT6vHQQB
Z/QNcrTrIT0XWUD3Os3WXiXfilNfdIQePsLD0psgMdbSd9z3e+Wm9+jYzKs9tRkr
iE8+ojNgUzSTB+QI1r+Q1st03QkGXsM1tL10dqlRuxfpRIZYLtojRQIzY2Lsw/V2
Ch2MJe4FQ/ZUvhK48QQrXnP8LncbKKH62/LunIZF4m6GfELNYGlCvkn1ir3AEA5Z
t24iRU7A/BBI
=WH86
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to