Skip to content
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

[BUG] /bin/sh: line 1: amazon-linux-extras: command not found #476

Closed
peterzhuamazon opened this issue Jul 17, 2024 · 4 comments · Fixed by #477
Closed

[BUG] /bin/sh: line 1: amazon-linux-extras: command not found #476

peterzhuamazon opened this issue Jul 17, 2024 · 4 comments · Fixed by #477
Assignees
Labels
bug Something isn't working

Comments

@peterzhuamazon
Copy link
Member

Hi,

[BUG]  2024-07-17 18:03:37,502 [ERROR] Command 000 (amazon-linux-extras install java-openjdk11 -y) failed 2024-07-17 18:03:37,502 [DEBUG] Command 000 output: /bin/sh: line 1: amazon-linux-extras: command not found

Thanks.

@peterzhuamazon
Copy link
Member Author

peterzhuamazon commented Jul 17, 2024

This seems like a side effect due to change from AL2 to AL2023:
https://aws.amazon.com/linux/amazon-linux-2023/faqs/


Amazon Linux release 2023.5.20240708 (Amazon Linux)
NAME="Amazon Linux"
VERSION="2023"
ID="amzn"
ID_LIKE="fedora"
VERSION_ID="2023"
PLATFORM_ID="platform:al2023"
PRETTY_NAME="Amazon Linux 2023.5.20240708"
ANSI_COLOR="0;33"
CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2023"
HOME_URL="https://aws.amazon.com/linux/amazon-linux-2023/"
DOCUMENTATION_URL="https://docs.aws.amazon.com/linux/"
SUPPORT_URL="https://aws.amazon.com/premiumsupport/"
BUG_REPORT_URL="https://github.com/amazonlinux/amazon-linux-2023"
VENDOR_NAME="AWS"
VENDOR_URL="https://aws.amazon.com/"
SUPPORT_END="2028-03-15"
Amazon Linux release 2023.5.20240708 (Amazon Linux)

@peterzhuamazon
Copy link
Member Author

peterzhuamazon commented Jul 17, 2024

@peterzhuamazon
Copy link
Member Author

We might need to think about moving from jdk 11 to 21 on main node as well.

@peterzhuamazon peterzhuamazon removed the untriaged Issues that have not yet been triaged label Jul 17, 2024
@peterzhuamazon
Copy link
Member Author

Can change to:

  • java-21-amazon-corretto

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: ✅ Done
Development

Successfully merging a pull request may close this issue.

1 participant