Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#78170 - [aws-cli-v2] Download of aws-cli-v1
Attached to Project:
Community Packages
Opened by Ben Leynen (benleynen) - Tuesday, 11 April 2023, 15:16 GMT
Last edited by Toolybird (Toolybird) - Thursday, 13 April 2023, 08:18 GMT
Opened by Ben Leynen (benleynen) - Tuesday, 11 April 2023, 15:16 GMT
Last edited by Toolybird (Toolybird) - Thursday, 13 April 2023, 08:18 GMT
|
DetailsDescription: When downloading aws-cli-v2 (https://archlinux.org/packages/community/any/aws-cli-v2/), I'm getting the v1 binary, the exact same version as package aws-cli (https://archlinux.org/packages/community/any/aws-cli/).
It is my first bug report so I may be missing something. But this confused the hell out of me so I made a ticket anyway. In my eyes, aws-cli-v2 should provision the awscli-v2 from aws, but the one that is installed on my machine is the v1 version every time. Steps to reproduce: # first install aws-cli version 1 (aws-cli) https://archlinux.org/packages/community/any/aws-cli/ $ sudo pacman -S aws-cli ... $ type -a aws aws is /usr/bin/aws $ aws --version aws-cli/1.25.56 Python/3.10.10 Linux/6.1.22-1-lts awscrt/0.16.11 botocore/1.27.55 $ aws ecr Note: AWS CLI version 2, the latest major version of the AWS CLI, is now stable and recommended for general use. For more information, see the AWS CLI version 2 installation instructions at: https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2.html ... # Then install aws-cli version 2, this binary is the exact same version as the package from above (aws-cli-v2) https://archlinux.org/packages/community/any/aws-cli-v2/ $ sudo pacman -R aws-cli ... $ sudo pacman -S aws-cli-v2 ... $ type -a aws aws is /usr/bin/aws $ aws --version aws-cli/1.25.56 Python/3.10.10 Linux/6.1.22-1-lts awscrt/0.16.11 botocore/1.27.55 $ aws ecr Note: AWS CLI version 2, the latest major version of the AWS CLI, is now stable and recommended for general use. For more information, see the AWS CLI version 2 installation instructions at: https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2.html ... # Then do the manual install via the AWS docs, which gives us the correct version (2.xx.xx): https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html $ sudo pacman -R aws-cli-v2 ... $ curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" ... $ unzip awscliv2.zip ... $ sudo ./aws/install ... $ aws --version aws-cli/2.11.11 Python/3.11.2 Linux/6.1.22-1-lts exe/x86_64.arch prompt/off $ type -a aws aws is /usr/local/bin/aws $ aws ecr usage: aws [options] <command> <subcommand> [<subcommand> ...] [parameters] ... |
This task depends upon
Closed by Toolybird (Toolybird)
Thursday, 13 April 2023, 08:18 GMT
Reason for closing: Not a bug
Additional comments about closing: Reporter says "Solved. A rogue binary was deleted."
Thursday, 13 April 2023, 08:18 GMT
Reason for closing: Not a bug
Additional comments about closing: Reporter says "Solved. A rogue binary was deleted."
Thanks a bunch for looking into it so quickly and sorry for the noise.