Skip to content

Commit 3bd069d

Browse files
committed
powertools is called crb on almalinux 9
1 parent 54fc540 commit 3bd069d

File tree

1 file changed

+14
-8
lines changed

1 file changed

+14
-8
lines changed

content/en/blog/insights/2025-01-10-rocky9-perl-digest-sha1.md

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,16 @@ title: "missing perl module Digest::SHA1 under Rocky 9"
44
linkTitle: "rocky9-perl-digest-sha1"
55
author: Gerhard Lausser
66
tags:
7-
- omd
8-
- perl
7+
- omd
8+
- perl
99
---
10-
Some of you might have followed the instructions at [https://labs.consol.de/repo/testing/#_9](https://labs.consol.de/repo/testing/#_9) to install the labs.consol.de repository. If you're using a minimal setup of Rocky Linux 9, you might encounter this error message:
10+
Some of you might have followed the instructions at
11+
[https://labs.consol.de/repo/testing/#_9](https://labs.consol.de/repo/testing/#_9)
12+
to install the labs.consol.de repository. If you're using a minimal setup of
13+
Rocky Linux 9, you might encounter this error message:
1114

1215
```bash
13-
# yum install omd-5.51.20250109-labs-edition.x86_64
16+
# dnf install omd-5.51.20250109-labs-edition.x86_64
1417
Last metadata expiration check: 0:08:01 ago on Fri 10 Jan 2025 10:32:09 AM CET.
1518
Error:
1619
Problem: package omd-5.51.20250109-labs-edition-el9-1.x86_64 from labs_consol_testing requires perl-Net-SNMP, but none of the providers can be installed
@@ -19,10 +22,13 @@ Error:
1922
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
2023
```
2124

22-
The missing Perl module *Digest::SHA1* is included in the installation package *perl-Digest-SHA1*, which is not part of a minimal setup. Moreover, running ***yum search perl-digest-SHA1*** yields no results.
25+
The missing Perl module *Digest::SHA1* is included in the installation package
26+
*perl-Digest-SHA1*, which is not part of a minimal setup. Moreover, running
27+
***dnf search perl-digest-SHA1*** yields no results.
2328

24-
To resolve this, you need to enable the *PowerTools* repository, which contains this RPM. You can do this either manually by editing the file */etc/yum.repos.d/Rocky-PowerTools.repo* and changing *enabled=0* to *enabled=1*, or by running the following command:
29+
To resolve this, you need to enable the *PowerTools* repository, which contains
30+
this RPM. You can do this by running the following command:
2531
```bash
26-
# yum config-manager --enable powertools
32+
# dnf config-manager --enable powertools # Rocky 8 and later/Alma 8
33+
# dnf config-manager --enable crb # AlmaLinux 9 and later
2734
```
28-

0 commit comments

Comments
 (0)