I pulled the latest image of Fedora from Docker using fedora:latest. Then I installed curl, dnf-utils & libxcrypt-compat using the command “yum update -y && yum install -y curl info && dnf install -y --skip-broken dnf-utils libxcrypt-compat”. After that, I created a new repository config file with the following contents:
[rawhide]
name=Fedora - Rawhide - Developmental packages for the next Fedora release
#baseurl=http://download.example/pub/fedora/linux/development/rawhide//Everything/$basearch/os/
metalink=https://mirrors.fedoraproject.org/metalink?repo=rawhide&arch=$basearch
enabled=1
countme=1
metadata_expire=6h
repo_gpgcheck=0
type=rpm
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
skip_if_unavailable=False
Then I tried to update dnf using “yum update -y dnf” but I got the following error:
Error: Transaction test error: file /etc/dnf/dnf.conf from install of libdnf5-5.0.14-1.fc39.x86_64 conflicts with file from package dnf-data-4.16.1-1.fc38.noarch.
This error started occurring yesterday. Can someone please help me with this issue?