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
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to