AL2023 upgrade DNF (current version 2 years old)

0

Hi. I´m on AL2023 fully up-to-date with everything, but the DNF version is lagging almost 2 years behind (4.12 was released Apr 27, 2022).

dnf --version
4.12.0
  Installed: dnf-0:4.12.0-2.amzn2023.0.4.noarch at Fri Dec 15 01:49:48 2023
  Built    : Amazon Linux at Tue Jan 31 01:01:11 2023

  Installed: rpm-0:4.16.1.3-12.amzn2023.0.6.x86_64 at Fri Dec 15 01:49:15 2023
  Built    : Amazon Linux at Mon Apr 17 16:53:56 2023

I´m in need for a more recent version as it has support for auto-reboot via the config options ¨reboot/reboot_command¨ I´ve tried upgrading DNF using the nightlies as shown on the GH page (https://github.com/rpm-software-management/dnf/) but that didn´t work:

Error: It wasn't possible to enable this project.
Repository 'epel-2023-x86_64' does not exist in project 'rpmsoftwaremanagement/dnf-nightly'.

Also building from source didn´t work as it couldn´t even parse the spec file.

So, my question is: how do I get to a more recent DNF version on AL2023?

KS
已提问 3 个月前145 查看次数
1 回答
0

You can log a bug or feature request at AL2023 GitHub

AWS
专家
Mike_L
已回答 3 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则