@Malvineous Check if you have a partial upgrade situation that leads to Python not finding its libraries:
pacman -Q python python-build
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: | 29 |
Popularity: | 2.22 |
First Submitted: | 2024-04-21 11:04 (UTC) |
Last Updated: | 2025-01-18 23:50 (UTC) |
@Malvineous Check if you have a partial upgrade situation that leads to Python not finding its libraries:
pacman -Q python python-build
Is there a missing dependency on this?
(1/9) installing python-awscrt
(2/9) installing python-ruamel.yaml.clib
(3/9) installing python-ruamel-yaml
(4/9) installing python-execnet
(5/9) installing python-pytest-xdist
(6/9) installing python-pyproject-hooks
(7/9) installing python-build
(8/9) installing python-flit-core
(9/9) installing python-installer
[...]
==> Making package: aws-cli-v2 2.22.33-1 (Mon 13 Jan 2025 16:44:04)
==> Starting build()...
/usr/bin/python: No module named build
==> ERROR: A failure occurred in build().
If you find the time to build the auto-complete index to be a really long time, you might consider giving https://github.com/aws/aws-cli/issues/8889 a vote.
@Thiger,
awscli-2.19.1.tar.gz ... cat: Schreibfehler: Datenübergabe unterbrochen (broken pipe)
Something failed here. Have you run out of disk space? Have you updated the key from the recently expired one?
Either way, I would recommend using the officially supported tools and building in a clean chroot first when running into an issue. This will help determine if the issue is with the aur helper that you are using (pamac).
Still does not install using pamac install aws-cli-v2
-> build-ac.index-in-tmp.diff gefunden
-> fix-env.diff gefunden
-> aws-cli-v2-tz-fix.patch gefunden
-> aws-cli-v2-ruamel-yaml-v4.patch gefunden
-> allow-egg-info.diff gefunden
-> botocore-2990-rebased.patch gefunden
-> botocore-2551.patch gefunden
==> Überprüfe source Dateien mit sha256sums...
awscli-2.19.1.tar.gz ... Erfolg
awscli-2.19.1.tar.gz.sig ... Übersprungen
build-ac.index-in-tmp.diff ... Erfolg
fix-env.diff ... Erfolg
aws-cli-v2-tz-fix.patch ... Erfolg
aws-cli-v2-ruamel-yaml-v4.patch ... Erfolg
allow-egg-info.diff ... Erfolg
botocore-2990-rebased.patch ... Erfolg
botocore-2551.patch ... Erfolg
==> Überprüfe Signaturen der Quell-Dateien mit gpg...
awscli-2.19.1.tar.gz ... cat: Schreibfehler: Datenübergabe unterbrochen (broken pipe)
SIGNATUR NICHT GEFUNDEN
FEHLGESCHLAGEN
==> FEHLER: Eine oder mehrere PGP-Signaturen konnten nicht überprüft werden!
Finished with result: exit-code
Main processes terminated with: code=exited, status=1/FAILURE
Service runtime: 1.613s
CPU time consumed: 1.398s
Error: Failed to build aws-cli-v2
Sorry for the partially german output, don't know how to change that. GPG has the key.
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)
Strykar said:
awscli-2.18.5.tar.gz ... Passed (WARNING: the key has expired.)
It's worse now
==> Verifying source file signatures with gpg...
awscli-2.18.11.tar.gz ... FAILED (unknown public key A6310ACC4672475C)
==> ERROR: One or more PGP signatures could not be verified!
==> Removing installed dependencies...
awscli-2.18.5.tar.gz ... Passed (WARNING: the key has expired.)
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.
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 tomakepkg
when building. (not recommended)