Hi all,
As discussed[1] DNF will not be obsoleted in fedora 39. The side-tag with
the reverted changes was merged[2,3] just now.
You can now try the new packages by upgrading to the newer version of DNF5 (
dnf5-5.1.1-1.fc39) which will not obsolete DNF (dnf-4-16.2-2.fc39) anymore.
Note that, if you install the packages from the side-tag, DNF might not be
installed because it would be obsoleted by DNF5-5.1.0, from rawhide
repositories.
Therefore, if you want to upgrade and use DNF < 5 on your rawhide system,
here are some steps that should help you.
1. If you intend to install the new packages from the side-tag, you might
want to exclude rawhide repositories. You have two options:
a. First, upgrade the system to the latest packages in the side-tag:
$ dnf5 upgrade \
--best --releasever=39 \
--disablerepo=* \
--enablerepo=side-tag --repofrompath=side-tag,'
https://kojipkgs.fedoraproject.org/repos/f39-build-side-71087/latest/x86_64/
'
Then, install DNF:
$ dnf5 install dnf \
--best --releasever=39 \
--disablerepo=* \
--enablerepo=side-tag --repofrompath=side-tag,'
https://kojipkgs.fedoraproject.org/repos/f39-build-side-71087/latest/x86_64/
'
b. You can achieve the same goal in one step:
$ dnf5 install "dnf < 5" \
--best --releasever=39 \
--disablerepo=* \
--enablerepo=side-tag --repofrompath=side-tag,'
https://kojipkgs.fedoraproject.org/repos/f39-build-side-71087/latest/x86_64/
'
2. If you would rather not use the side-tag OR you are updating after the
packages are available in rawhide, you should have no issues. The same two
options follow:
a. Upgrade and install:
$ dnf5 upgrade --best
$ dnf5 install dnf --best
b. Or, with the one-liner:
$ dnf5 install "dnf < 5" --best
Please, don't hesitate to reach back if you cannot install the newest
packages,
Cheers,
Nicola
[1]:
https://pagure.io/fesco/issue/3039
[2]:
https://bodhi.fedoraproject.org/updates/FEDORA-2023-5fd964c1bf
[3]:
https://koji.fedoraproject.org/koji/taginfo?tagID=71087