[LON-CAPA-admin] Problems with operating system updates

Raeburn, Stuart raeburn at msu.edu
Mon Jan 25 13:24:06 EST 2021


Marcel,

Running: sudo yum clean all
before running: sudo yum update
would likely fix this.

Also, see the instructions for CentOS in this post I made to the lon-capa-admin list earlier this month:
http://mail.lon-capa.org/pipermail/lon-capa-admin/2021-January/003454.html

The following dependencies for LONCAPA-prerequisites 1-26:

perl-Number-FormatEng
perl-Math-Calculus-Expression_loncapa
perl-File-ReadBackwards
perl-Net-CIDR 

are all present in the LON-CAPA repos at: 
http://install.loncapa.org/centos/loncapa/7/

>
> Trying to install "Number::FormatEng", for example,  manually via cpan ...
>

Although the package can be installed using CPAN, the LONCAPA-prerequisites rpm has a dependency on the rpm perl-Number-FormatEng, and not just the package perl(Number::FormatEng), so I would expect yum to report that error if the perl-Number-FormatEng rpm is not installed, and it doesn't currently find it in its cached list of available rpms in enabled repos.

Stuart Raeburn
LONCAPA Academic Consortium
________________________________________
From: LON-CAPA-admin <lon-capa-admin-bounces at mail.lon-capa.org> on behalf of Kruse, Marcel via LON-CAPA-admin <lon-capa-admin at mail.lon-capa.org>
Sent: Monday, January 25, 2021 7:03 AM
To: lon-capa-admin at mail.lon-capa.org
Subject: [LON-CAPA-admin] Problems with operating system updates

Dear LON-CAPA-admins,


trying to update the operating system of our server I encountered a problem today.

"sudo yum update" failed with the following error:


"Error: Package: LONCAPA-prerequisites-1-26.centos7.x86_64 (loncapa-updates-basearch)

           Requires: perl-Number-FormatEng
Error: Package: LONCAPA-prerequisites-1-26.centos7.x86_64 (loncapa-updates-basearch)
           Requires: perl-Math-Calculus-Expression_loncapa
Error: Package: LONCAPA-prerequisites-1-26.centos7.x86_64 (loncapa-updates-basearch)
           Requires: perl-File-ReadBackwards
Error: Package: LONCAPA-prerequisites-1-26.centos7.x86_64 (loncapa-updates-basearch)
           Requires: perl-Net-CIDR
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest"


I did not try to use the "skip workaround", fearing this might result in  further errors in

future updates.

Trying to install "Number::FormatEng", for example,  manually via cpan, showed that this module

was already installed, which seems to kind of contradict at least the first of the above errors.

Can anyone help me with this problem?

Many thanks in advance and greetings from Wolfenbüttel, Germany.


Best regards,

Marcel Kruse




____________________________________

B. Sc. Marcel Kruse

Wissenschaftlicher Mitarbeiter

Ostfalia - Hochschule für angewandte Wissenschaften

Salzdahlumer Str. 46/48

38302 Wolfenbüttel


Büro: Am Exer 2, Raum 72

Tel.: 05331/939-31750

Mobil: 0163/4469956


More information about the LON-CAPA-admin mailing list