Re: Replacing DNF with DNF5: changes reverted and helping steps

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8/8/23 03:59, Nicola Sella wrote:
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/ <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/ <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/ <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,


I think you may need a --nogpgcheck in there to allow it to work.

--
Ian Laurie
FAS: nixuser | IRC: nixuser
TZ: Australia/Sydney
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux