Package Details: aws-cli-v2 2.27.17-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: 46
Popularity: 7.94
First Submitted: 2024-04-21 11:04 (UTC)
Last Updated: 2025-05-18 01:47 (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 .. 10 Next › Last »

TTimo commented on 2025-05-15 14:21 (UTC)

@kstolp the problem is with the python prompt_toolkit package, not directly this AUR. See https://github.com/prompt-toolkit/python-prompt-toolkit/issues/1988 - in particular this comment explains how to download, build and install the previous version: https://github.com/prompt-toolkit/python-prompt-toolkit/issues/1988#issuecomment-2827704607

kstolp commented on 2025-05-15 01:28 (UTC)

@project0 Do you mind formatting your suggestion as a patch to this repo?

project0 commented on 2025-05-12 16:25 (UTC)

Can we add a patch to fix the import?

This seems to work for me:

from contextlib import contextmanager, nullcontext

import importlib.metadata

# Patch metadata.version to prevent crash due to missing dist-info
real_metadata_version = importlib.metadata.version

def safe_version(name):
    if name == "prompt_toolkit":
        return "0.0.0"  # dummy version
    return real_metadata_version(name)

importlib.metadata.version = safe_version

from prompt_toolkit.application import Application
from prompt_toolkit.completion import Completer, Completion, ThreadedCompleter
from prompt_toolkit.document import Document

ram4nd commented on 2025-05-08 15:26 (UTC)

Needed to run downgrade on python-prompt_toolkit to 3.0.50

ian-melo commented on 2025-05-06 21:33 (UTC)

The workaround proposed in https://github.com/aws/aws-cli/issues/9453#issuecomment-2818611814 worked for me:

sudo pacman -U /var/cache/pacman/pkg/python-prompt_toolkit-3.0.50-1-any.pkg.tar.zst

nik_gr commented on 2025-04-28 01:02 (UTC) (edited on 2025-04-28 01:08 (UTC) by nik_gr)

Latest version seems to be failing to install:

...Sorry, NVM, I see, need to downgrade prompt_toolkit. Did not see the similar stack trace below, wrongfully assumed it is new.

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