Having a few dozen RL machines in LAN, I would like to setup a local repository mirroring (to start with) BaseOS and AppStream repos. I have found and followed this page. It is working and I am able to install individual (new) packages but an attempt to
dnf update failed completely, showing dozens of messages like:
- cannot install both perl-libs-4:5.30.1-452.module+el8.5.0+690+b6cd1280.x86_64 and perl-libs-4:5.26.3-420.el8.x86_64 - package perl-interpreter-4:5.30.1-452.module+el8.5.0+690+b6cd1280.x86_64 requires perl(:MODULE_COMPAT_5.30.1), but none of the providers can be installed - package nginx-1:1.21.4-1.module_el8+13280+3abe831f.x86_64 is filtered out by modular filtering
It seems that it is module packages in
appstream that cause these problems. Some of them are duplicates of non-module packages with different version numbers.
# dnf list perl-libs Last metadata expiration check: 0:00:05 ago on Tue 30 Nov 2021 09:37:11 PM CET. Installed Packages perl-libs.x86_64 4:5.26.3-420.el8 baseos Available Packages perl-libs.i686 4:5.26.3-420.el8 baseos and # dnf --disablerepo=appstream --enablerepo=localrepo-appstream list perl-libs RockyLinux Base 66 kB/s | 3.0 kB 00:00 Installed Packages perl-libs.x86_64 4:5.26.3-420.el8 baseos Available Packages perl-libs.i686 4:5.26.3-420.el8 baseos perl-libs.x86_64 4:5.30.1-452.module+el8.5.0+690+b6cd1280 localrepo-appstream
I know close to nothing about modules so any hints would be welcome.