スキップしてコンテンツを表示

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ヶ月前145ビュー
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'

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

関連するコンテンツ