Package Details: aws-cli-v2 2.26.5-1

Git Clone URL: https://aur.archlinux.org/aws-cli-v2.git (read-only, click to copy)
Package Base: aws-cli-v2
Description: Unified command line interface for Amazon Web Services (version 2)
Upstream URL: https://github.com/aws/aws-cli/tree/v2
Licenses: Apache-2.0
Conflicts: aws-cli
Provides: aws-cli
Submitter: jelly
Maintainer: kstolp
Last Packager: kstolp
Votes: 43
Popularity: 8.55
First Submitted: 2024-04-21 11:04 (UTC)
Last Updated: 2025-04-20 08:17 (UTC)

Required by (20)

Sources (9)

Pinned Comments

kstolp commented on 2024-10-23 05:14 (UTC)

If you receive this error when trying to build, it is because you have not imported the GPG keys used for verification.

==> ERROR: One or more PGP signatures could not be verified!

You have two options:

1) Import the key into your keyring. ArchWiki article. The key is available in this repo, which is copied from the AWS documentation. e.g. gpg --import keys/pgp/FB5DB77FD5C118B80511ADA8A6310ACC4672475C.asc. (recommended)

2) Alternatively, you can skip this verification by passing the --skippgpcheck argument to makepkg when building. (not recommended)

Latest Comments

1 2 3 4 5 6 .. 9 Next › Last »

furai commented on 2025-04-21 19:00 (UTC) (edited on 2025-04-24 05:38 (UTC) by furai)

Ok, understood, I still have mine somewhere in the pacman cache.

EDIT: There seems to be issue mentioned upstream.

EDIT2: https://github.com/aws/aws-cli/issues/9453#issuecomment-2822186530 as I thought what would the reply be - they just recommend locking prompt_toolkit version.

TheEdgeOfRage commented on 2025-04-21 10:04 (UTC)

@roncrowley the python-awscrt package is for a separate manner from the issue with prompt_toolkit. You will still have to downgrade the python-prompt_toolkit package manually to be able to use aws-cli-v2 atm.

You can download the old version from the arch package archives

https://archive.archlinux.org/packages/p/python-prompt_toolkit/python-prompt_toolkit-3.0.50-1-any.pkg.tar.zst

And install it using pacman -U python-prompt_toolkit-3.0.50-1-any.pkg.tar.zst

boromisp commented on 2025-04-21 08:25 (UTC)

The https://aur.archlinux.org/packages/aws-cli-bin works for me, if you can't get this package working, you might want to check that out.

roncrowley commented on 2025-04-21 08:19 (UTC) (edited on 2025-04-21 08:32 (UTC) by roncrowley)

@furai, I've uninstalled aws-cli-v2, then installed aws-cli-v2-python-awscrt, which I understood to be your temporary patch package, but still get what appear to be the same prompt_toolkit errors when attempting to install aws-cli-v2.

I don't understand aws-cli-v2-python-awscrt package helps, but I'm new to Arch and may be something critical. Would appreciate some guidance. Thank you.

furai commented on 2025-04-21 05:11 (UTC)

This still fails to install with error about prompt_toolkit.

kstolp commented on 2025-04-20 08:27 (UTC)

This package now depends on python-awscrt=0.25.4: reference commit. Since the official python-awscrt package is being kept at a lower version in order to maintain compatibility with other AWS-related packages in the official repos, I have made a new AUR package to fulfill this requirement. It is named aws-cli-v2-python-awscrt.

Pinky commented on 2025-04-17 18:51 (UTC) (edited on 2025-04-17 18:52 (UTC) by Pinky)

FYI, worked around the installation issue by monkey-patch in /usr/lib/python3.13/site-packages/prompt_toolkit/__init__.py effectivelly:

diff -r -U5 50/usr/lib/python3.13/site-packages/prompt_toolkit/__init__.py 51/usr/lib/python3.13/site-packages/prompt_toolkit/__init__.py
--- 50/usr/lib/python3.13/site-packages/prompt_toolkit/__init__.py  2025-01-30 00:49:18.000000000 +0100
+++ 51/usr/lib/python3.13/site-packages/prompt_toolkit/__init__.py  2025-04-16 05:34:53.000000000 +0200
@@ -15,10 +15,11 @@
 """

 from __future__ import annotations

 import re
-from importlib import metadata

 # note: this is a bit more lax than the actual pep 440 to allow for a/b/rc/dev without a number
 pep440 = re.compile(
     r"^([1-9]\d*!)?(0|[1-9]\d*)(\.(0|[1-9]\d*))*((a|b|rc)(0|[1-9]\d*)?)?(\.post(0|[1-9]\d*))?(\.dev(0|[1-9]\d*)?)?$",
     re.UNICODE,
@@ -26,11 +27,11 @@
 from .application import Application
 from .formatted_text import ANSI, HTML
 from .shortcuts import PromptSession, print_formatted_text, prompt

 # Don't forget to update in `docs/conf.py`!
+__version__ = metadata.version("prompt_toolkit")
+__version__ = "3.0.51"

cahva commented on 2025-04-16 15:47 (UTC)

@fossdd and @elessard Thanks so much, downgrade worked nicely and I could get back to work! Aur comments section definately needs some 👍 emoji functionality :)

fossdd commented on 2025-04-16 09:21 (UTC)

same error when installing from scratch. i downgraded the python-prompt_toolkit from last version (3.0.51-1) to 3.0.50-1 and aws cli started working again

thats probably caused by https://gitlab.archlinux.org/archlinux/packaging/packages/python-prompt_toolkit/-/commit/1a951688796d7eb9b1e6fbcbe8211a44d8b535d1

Use test-env so importlib can find package metadata.