DNF5 wants to replace regular rpms with modules
Ben Cotton kirjoitti 6.9.2022 klo 21.28: https://fedoraproject.org/wiki/Changes/ReplaceDnfWithDnf5 == Summary == Make DNF5 the new default packaging tool. The change will replace DNF, LIBDNF, and DNF-AUTOMATIC with the new DNF5 and new Libdnf5 library. It is a second step after https://fedoraproject.org/wiki/Changes/MajorUpgradeOfMicrodnf. == How To Test == Install `dnf5` package from https://copr.fedorainfracloud.org/coprs/rpmsoftwaremanagement/dnf5-unstable/ I did this, and tried using dnf5 instead of dnf. It look like dnf5 wants to switch a lot of packages I have to modules. It is my understanding that in Fedora, nothing should be installed from modules unless explictly requested. What is going on here? Using postgresql as an example, I have it installed as regular rpm, not module: $ LANG=C.UTF-8 dnf -C info --installed postgresql Installed Packages Name : postgresql Version : 14.3 Release : 8.fc37 Architecture : x86_64 Size : 6.0 M Source : postgresql-14.3-8.fc37.src.rpm Repository : @System From repo: fedora But dnf5 wants to use a module instead: $ LANG=C.UTF-8 sudo dnf5 upgrade --assumeno postgresql Updating and loading repositories: Repositories loaded. Package Arch Version Repository Upgrading: postgresql x86_64 15beta2-1.module_f37 fedora-mod replacing postgresql x86_64 14.3-8.fc37 postgresql-private-libs x86_64 15beta2-1.module_f37 fedora-mod replacing postgresql-private-libs x86_64 14.3-8.fc37 postgresql-server x86_64 15beta2-1.module_f37 fedora-mod replacing postgresql-server x86_64 14.3-8.fc37 Installing dependencies: libicu69x86_64 69.1-1.fc37 fedora Transaction Summary: Installing:1 packages Upgrading: 3 packages Replacing: 3 packages Operation aborted by the user. ___ 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
Re: DNF5 wants to replace regular rpms with modules
As far as I know DNF5 has not yet fully support modules. Probably the build of DNF5 you use still does not perform modular filtering. I believe that should change before adding DNF5 into Fedora. As a workaround, if you do not use modules, simply disable the modular repositories. On Thu, Sep 22, 2022 at 3:59 PM Otto Liljalaakso wrote: > > Ben Cotton kirjoitti 6.9.2022 klo 21.28: > > https://fedoraproject.org/wiki/Changes/ReplaceDnfWithDnf5 > > > > == Summary == > > Make DNF5 the new default packaging tool. The change will replace DNF, > > LIBDNF, and DNF-AUTOMATIC with the new DNF5 and new Libdnf5 library. > > It is a second step after > > https://fedoraproject.org/wiki/Changes/MajorUpgradeOfMicrodnf. > > > == How To Test == > > > > Install `dnf5` package from > > https://copr.fedorainfracloud.org/coprs/rpmsoftwaremanagement/dnf5-unstable/ > > I did this, and tried using dnf5 instead of dnf. It look like dnf5 wants > to switch a lot of packages I have to modules. It is my understanding > that in Fedora, nothing should be installed from modules unless > explictly requested. What is going on here? > > Using postgresql as an example, I have it installed as regular rpm, not > module: > > $ LANG=C.UTF-8 dnf -C info --installed postgresql > Installed Packages > Name : postgresql > Version : 14.3 > Release : 8.fc37 > Architecture : x86_64 > Size : 6.0 M > Source : postgresql-14.3-8.fc37.src.rpm > Repository : @System > From repo: fedora > > But dnf5 wants to use a module instead: > > $ LANG=C.UTF-8 sudo dnf5 upgrade --assumeno postgresql > Updating and loading repositories: > Repositories loaded. > Package Arch Version Repository > Upgrading: > postgresql x86_64 15beta2-1.module_f37 fedora-mod >replacing postgresql x86_64 14.3-8.fc37 > postgresql-private-libs x86_64 15beta2-1.module_f37 fedora-mod >replacing postgresql-private-libs > x86_64 14.3-8.fc37 > postgresql-server x86_64 15beta2-1.module_f37 fedora-mod > replacing postgresql-server > x86_64 14.3-8.fc37 > Installing dependencies: > libicu69x86_64 69.1-1.fc37 fedora > > Transaction Summary: > Installing:1 packages > Upgrading: 3 packages > Replacing: 3 packages > > Operation aborted by the user. > ___ > 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 ___ 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
Re: DNF5 wants to replace regular rpms with modules
Correct, the modular filtering is not yet implemented and this is the last blocker for rawhide release. Jaroslav Mracek ___ 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
Re: DNF5 wants to replace regular rpms with modules
Hi On Fri, Sep 23, 2022 at 9:50 AM Jaroslav Mracek wrote: > Correct, the modular filtering is not yet implemented and this is the last > blocker for rawhide release. > Quick notes from what I am seeing with limiting testing using the copr repo * Performance is much better * Search seems busted, no output at all * "update" seems to have been dropped (and /usr/lib/dnf5/aliases.d/compatibility.conf didn't appear to be user configurable). update should really be kept as a compatibility alias * Install is overtly verbose Rahul ___ 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