[LON-CAPA-admin] Package issues updating to RHEL8
Raeburn, Stuart
raeburn at msu.edu
Wed May 8 23:02:35 EDT 2024
Mark,
The dnf modularity documentation suggests two ways to avoid "filtered out by modular filtering".
If the mirrored loncapa repo you use is called: OIT_LONCAPA_loncapa_rhel8_x86_64, one option would be to use the following command to install perl-HTML-Parser_loncapa.
dnf --enablerepo=OIT_LONCAPA_loncapa_rhel8_x86_64 --setopt=OIT_LONCAPA_loncapa_rhel8_x86_64.module_hotfixes=true install perl-HTML-Parser_loncapa
Another way would be to add this line below the [OIT_LONCAPA_loncapa_rhel8_x86_64] heading.in your repo file for loncapa (most likely located in /etc/yum.repos.d).:
module_hotfixes=true
and then use:
dnf install LONCAPA-prerequisites
The issue here is that there is a perl-HTML-Parser package (version: 3.72-15) available from the @rhel-8-for-x86_64-appstream-rpms repo, and use of dnf modularity is preventing installation of perl-HTML-Parser_loncapa from your "non-modular" local mirror of the loncapa repo for rhel8 (x86_64).
Note: the standard loncapa.repo repository definition available from install.loncapa.org/versions/redhat/8/loncapa.repo
for the "non-mirrored" repo at install.loncapa.org already contains:
module_hotfixes=true
so for my RHEL8 VMs if perl-HTML-Parser is already installed, and I use the command:
dnf install perl-HTML-Parser_loncapa, what I see is:
Installing:
perl-HTML-Parser_loncapa
replacing perl-HTML-Parser.x86_64 3.72-15.module+el8.3.0+6498+9eecfe51
Installing : perl-HTML-Parser_loncapa-3.72-1.0.el8.lc.x86_64
Obsoleting : perl-HTML-Parser-3.72-15.module+el8.3.0+6498+9eecfe51.x86_64
which is what I expect.
If the module_hotfixes=true line is missing from the repo definition for your custom OIT_LONCAPA_loncapa_rhel8_x86_64 mirror that would be the explanation for the error you reported.
Stuart Raeburn
LON-CAPA Academic Consortium
________________________________________
From: LON-CAPA-admin <lon-capa-admin-bounces at mail.lon-capa.org> on behalf of Lucas, Mark via LON-CAPA-admin <lon-capa-admin at mail.lon-capa.org>
Sent: Wednesday, May 8, 2024 6:12 PM
To: LON-CAPA Admin
Subject: [LON-CAPA-admin] Package issues updating to RHEL8
Looking for advice.
With Centos 7 reaching end of life, our servers are being moved to RHEL 8.
The systems group prepping the RHEL 8 machine found the following error with the package
installation. My understanding is that they mirror the LONCAPA repositories locally (thus the
OIT_LONCAPA_loncapa_rhel8_x86_64 repository - OIT is Ohio Information Technology).
The error they get is:
Error:
Problem: package LONCAPA-prerequisites-1-26.1.rhel8.noarch from OIT_LONCAPA_loncapa_rhel8_noarch requires perl-HTML-Parser_loncapa, but none of the providers can be installed
- cannot install the best candidate for the job
- package perl-HTML-Parser_loncapa-3.72-1.0.el8.lc.x86_64 from OIT_LONCAPA_loncapa_rhel8_x86_64 is filtered out by modular filtering
Does anyone have any insights or workarounds?
Thanks!
Mark
--
Mark Lucas
Professor of Instruction
Department of Physics and Astronomy (College of Arts and Sciences)/Ohio Honors Program (Honors College)
046 Clippinger Lab, Ohio University, Athens, OH 45701
email: lucasm at ohio.edu
phone: (740)597-2984
Pronouns: He, Him, His
_______________________________________________
LON-CAPA-admin mailing list
LON-CAPA-admin at mail.lon-capa.org
http://mail.lon-capa.org/mailman/listinfo/lon-capa-admin
More information about the LON-CAPA-admin
mailing list