Morning Nigel,
Sorry my bad, just assumed it would fall under AIX as POWER community post.
Its AIX 7.2.(7200-05-01-2038) So I ran truss against dnf after it stopped working following the dnf update and the update of python3 to latest version.
It was looking for /etc/os-release file which I know is normally there in Linux and even Solaris 11.4 now. But never seen it on AIX.
I created one and it moved on now looking for "/opt/freeware/etc/dnf/aliases.d/ALIASES.conf" so I created that one. Sadly, it now just core dumps. This is all to get curl-devel installed lol. The latest version of curl that has a curl-devel wants python3 so you need to update curl and install python3 and then it goes wrong. Still investigating. Thanks for the quick reply..
Kind regards,
Brad
------------------------------
Bradley Wells
------------------------------
Original Message:
Sent: Mon December 05, 2022 05:15 PM
From: Nigel Griffiths
Subject: dnf now fails with - what(): os-release file not found
Bradley - Give the community a break and include the Operating System and if Linux the Distro and release, next time!!!
Looks to me like you have deleted /etc/os-release
Very unlikely to be caused by the upgrade.
From a quick look around this config and versions file seems to be created by systemd.
So if you think you feel lucky try an OS reboot.
Best of luck, Nigel
------------------------------
Nigel Griffiths
Original Message:
Sent: Fri December 02, 2022 08:11 AM
From: Bradley Wells
Subject: dnf now fails with - what(): os-release file not found
The dnf command was working great. I needed to install curl so did ,
# dnf install curl - got Complete!
But now,
# dnf list installed
terminate called after throwing an instance of 'std::runtime_error'
what(): os-release file not found
IOT/Abort trap(coredump)
Anyone comes across this please?
Cheers
Brad
------------------------------
Bradley Wells
------------------------------