내용으로 건너뛰기

Amazon 2023 - A real disaster

-1

I am so frustrated with amazon, something as fundamental as dnf/yum is so broken it is astonishing Amazon doesn't even bother to fix it.

AL2023's rolling release model Python version chaos restricted mirror access

This is a DISASTER. Message to Amazon, address your customers frustrations. This is not at all acceptable.

질문됨 3달 전147회 조회
1개 답변
0

I understand your frustration, but I'd like to provide some clarification about Amazon Linux 2023 (AL2023) and its package management.

AL2023 uses DNF as its package manager (with yum as a compatibility layer). Based on the available information, DNF has been regularly updated across AL2023 releases. For example, it was upgraded from version 4.12.0 to 4.14.0 in the 2023.4 release, and has received further updates in subsequent releases.

Regarding Python, AL2023 uses Python 3.9 as its default Python version. The Python packages have been updated across various releases to address bugs and security issues. For instance, in the 2023.6 release, there was a bug in the python3.9 package that prevented the use of venv, but this was quickly addressed in a follow-up release.

AL2023 follows a versioned repository approach rather than a true rolling release model. AMIs are locked to specific repository versions, and you can update the DNF configuration to use newer repository versions when they become available. This approach provides more predictability and stability compared to a traditional rolling release.

To check what repositories are currently enabled on your system, you can run:

dnf repolist all --verbose

If you're experiencing specific issues with DNF or Python on AL2023, providing more details about the exact problems you're encountering would help in addressing them more effectively.
Sources
Amazon Linux 2023 version 2023.4.20240319 release notes - Amazon Linux 2023
Amazon Linux 2023 version 2023.6.20241209 release notes - Amazon Linux 2023
Amazon Linux 2023 version 2023.0.20230308 (Release Candidate 1) release notes - Amazon Linux 2023
Manage package and operating system updates in AL2023 - Amazon Linux 2023
Amazon Linux 2023 version 2023.5.20240708 release notes - Amazon Linux 2023

답변함 3달 전
  • This is what the problem is same when I try to use dnf or yum. This is a well known issue from what I see and the solutions to fix this never quite worked for me.

    [ec2-user@ip-172-31-19-167 tmp]$ sudo yum Traceback (most recent call last): File "/usr/bin/yum", line 9, in <module> dnf.cli.main() AttributeError: module 'dnf.cli' has no attribute 'main'

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

관련 콘텐츠