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
<otto.liljalaa...@iki.fi> 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          <unknown>
>   postgresql-private-libs x86_64 15beta2-1.module_f37 fedora-mod
>    replacing postgresql-private-libs
>                           x86_64 14.3-8.fc37          <unknown>
>   postgresql-server       x86_64 15beta2-1.module_f37 fedora-mod
>     replacing postgresql-server
>                           x86_64 14.3-8.fc37          <unknown>
> Installing dependencies:
>   libicu69                x86_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

Reply via email to