-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when installing aws cli v2 in Ubuntu in WSL #8320
Comments
Same on Debian on aarch64 |
I also have checked wsl 20.04 and 22.04, same issue |
As a workaround, you can install the previous version with:
|
I have a same issue on Ubuntu 22.04.3 in wsl
|
Thanks all for reporting this issue. The issue was introduced in v2.13.34 when the A fix (awslabs/aws-c-common#1076) was just merged upstream to address this. For now we recommend pinning to v2.13.33. |
I am experiencing this error in a Docker container built from |
I just pinned the version to If you want you can use it on heroku |
I also have this bug using an Ubuntu 22 devcontainer, after installing latest from: "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" Thank you @MorrisonCole and @tim-finnigan for a viable workaround. v2.13.33 works great. |
We are using a building pack that isn't maintained anymore and this is happening. Dumb question here: as this started happening without changes to the build pack, is there a chance it goes away as well? |
Due to current bug in AWS CLI upstream dependencies that cause it to fail to install. aws/aws-cli#8320
Appears to be fixed with 2.13.35
|
|
I'm glad to see a fix is in progress (the in progress part is the fix percolating through the release process of package managers). It is disappointing that I have to play sysadmin because WSL uses who ever signed off on |
I'm using aws-cli as snap and facing the same issue, downgraded the version as a workaround until the fix is released: If you had an older version that was working you can revert the snap directly:
Or you can select the version yourself. First, list all aws-cli snap versions you have installed:
Then, revert to the specific version:
To avoid automatic updates you can:
When the fix is released, remove the hold and update:
|
Problem is consistent across versions and kernels, it is only resolved via Please update the Developer Guide to reflect the current state and only viable solution. Bad signoff, stop trying to get away from pa repositories! |
Describe the bug
Fatal error condition
occurs when attempting to install aws cli v2 in Ubuntu in WSL. Installing v1 using pip in python3 v3.10.12 works.Expected Behavior
Installation of aws cli v2 to proceed without issue
Current Behavior
Attempting to install aws cli v2 in Ubuntu in WSL gives
Further attempts to run
aws
give the same errorReproduction Steps
In windows,
wsl --install Ubuntu-22.04
and set upsudo apt update;sudo apt upgrade -y;sudo apt install -y unzip;
. Follow Linux install instructions at https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.htmlPossible Solution
No response
Additional Information/Context
No response
CLI version used
Presumably 2.13.34
Environment details (OS name and version, etc.)
Ubuntu 22.04 in WSL
The text was updated successfully, but these errors were encountered: