Cannot install cvmfs and cvmfs-server on Alma9

Reproducibility steps

On a fresh Alma9 deployment, the commands in the documentation currently return these outputs (running as root):

> yum install -y https://cvmrepo.s3.cern.ch/cvmrepo/yum/cvmfs-release-latest.noarch.rpm
Last metadata expiration check: 0:22:32 ago on Wed 09 Apr 2025 01:58:30 PM CEST.
cvmfs-release-latest.noarch.rpm                                  260 kB/s |  11 kB     00:00
Dependencies resolved.
=================================================================================================
 Package                    Architecture        Version          Repository                 Size
=================================================================================================
Installing:
 cvmfs-release              noarch              5-1              @commandline               11 k

Transaction Summary
=================================================================================================
Install  1 Package

Total size: 11 k
Installed size: 3.9 k
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                         1/1
  Installing       : cvmfs-release-5-1.noarch                                                1/1
  Running scriptlet: cvmfs-release-5-1.noarch                                                1/1
  Verifying        : cvmfs-release-5-1.noarch                                                1/1

Installed:
  cvmfs-release-5-1.noarch

Complete!

> yum install -y cvmfs cvmfs-server
Last metadata expiration check: 0:22:43 ago on Wed 09 Apr 2025 01:58:30 PM CEST.
No match for argument: cvmfs
No match for argument: cvmfs-server
Error: Unable to find a match: cvmfs cvmfs-server

Are there any steps that I’m missing?

Additional checks

> yum update
Last metadata expiration check: 0:14:01 ago on Wed 09 Apr 2025 02:40:03 PM CEST.
Dependencies resolved.
Nothing to do.
Complete!

>  dnf install -y epel-release
Last metadata expiration check: 0:15:46 ago on Wed 09 Apr 2025 02:40:03 PM CEST.
Package epel-release-666:9-9.al9.cern.noarch is already installed.
Dependencies resolved.
Nothing to do.
Complete!

> dnf upgrade
Last metadata expiration check: 0:16:05 ago on Wed 09 Apr 2025 02:40:03 PM CEST.
Dependencies resolved.
Nothing to do.
Complete!

> dnf update
Last metadata expiration check: 0:16:10 ago on Wed 09 Apr 2025 02:40:03 PM CEST.
Dependencies resolved.
Nothing to do.
Complete!

> dnf install cvmfs
Last metadata expiration check: 0:14:13 ago on Wed 09 Apr 2025 02:40:03 PM CEST.
No match for argument: cvmfs
Error: Unable to find a match: cvmfs

Hi Giovanni,

I’ve just tried in a docker container and cannot reproduce this issue. The cvmfs-release package installs two files:

/etc/yum.repos.d/cernvm.repo
/etc/pki/rpm-gpg/RPM-GPG-KEY-CernVM

Can you check that both are present? And could you post the output of yum repolist?

For reference, this is what it looks like for me:

[root@cvm-test-14 ~]# docker run -it almalinux:9
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
Resolved "almalinux" as an alias (/etc/containers/registries.conf.d/000-shortnames.conf)
Trying to pull docker.io/library/almalinux:9...
Getting image source signatures
Copying blob b73550e68465 done   | 
Copying config df3270cc8b done   | 
Writing manifest to image destination
[root@c1481778515a /]#       sudo yum install -y https://cvmrepo.s3.cern.ch/cvmrepo/yum/cvmfs-release-latest.noarch.rpm
         sudo yum install -y cvmfs
bash: sudo: command not found
bash: sudo: command not found
[root@c1481778515a /]#       yum install -y https://cvmrepo.s3.cern.ch/cvmrepo/yum/cvmfs-release-latest.noarch.rpm
AlmaLinux 9 - AppStream                          30 MB/s |  15 MB     00:00    
AlmaLinux 9 - BaseOS                             38 MB/s |  18 MB     00:00    
AlmaLinux 9 - Extras                             36 kB/s |  13 kB     00:00    
cvmfs-release-latest.noarch.rpm                 356 kB/s |  11 kB     00:00    
Dependencies resolved.
================================================================================
 Package               Architecture   Version        Repository            Size
================================================================================
Installing:
 cvmfs-release         noarch         5-1            @commandline          11 k

Transaction Summary
================================================================================
Install  1 Package

Total size: 11 k
Installed size: 3.9 k
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                        1/1 
  Installing       : cvmfs-release-5-1.noarch                               1/1 
  Running scriptlet: cvmfs-release-5-1.noarch                               1/1 
  Verifying        : cvmfs-release-5-1.noarch                               1/1 

Installed:
  cvmfs-release-5-1.noarch                                                      

Complete!
[root@c1481778515a /]#          yum install -y cvmfs
CernVM packages                                 3.1 MB/s |  36 kB     00:00    
Dependencies resolved.
================================================================================
 Package                         Arch      Version           Repository    Size
================================================================================
Installing:
 cvmfs                           x86_64    2.12.7-1.el9      cernvm        14 M
Installing dependencies:
 autofs                          x86_64    1:5.1.7-58.el9    baseos       369 k
 boost-regex                     x86_64    1.75.0-8.el9      appstream    277 k
 checkpolicy                     x86_64    3.6-1.el9         appstream    351 k
 cvmfs-config-default            noarch    2.0-1             cernvm       8.4 k
 cvmfs-libs                      x86_64    2.12.7-1.el9      cernvm        10 M
 fuse                            x86_64    2.9.9-16.el9      baseos        78 k
 fuse-common                     x86_64    3.10.2-9.el9      baseos       7.2 k
 fuse-libs                       x86_64    2.9.9-16.el9      baseos        96 k
 gdb                             x86_64    14.2-3.el9        appstream    146 k
 gdb-headless                    x86_64    14.2-3.el9        appstream    4.8 M
 initscripts-service             noarch    10.11.7-1.el9     baseos        10 k
 kmod                            x86_64    28-10.el9         baseos       121 k
 libbabeltrace                   x86_64    1.5.8-10.el9      appstream    186 k
 libicu                          x86_64    67.1-9.el9        baseos       9.6 M
 libipt                          x86_64    2.0.4-5.el9       appstream     55 k
 libtirpc                        x86_64    1.3.3-9.el9       baseos        93 k
 lsof                            x86_64    4.94.0-3.el9      baseos       238 k
 policycoreutils-python-utils    noarch    3.6-2.1.el9       appstream     71 k
 procps-ng                       x86_64    3.3.17-14.el9     baseos       332 k
 psmisc                          x86_64    23.4-3.el9        baseos       226 k
 python3-audit                   x86_64    3.1.5-1.el9       appstream     82 k
 python3-distro                  noarch    1.5.0-7.el9       appstream     36 k
 python3-libselinux              x86_64    3.6-1.el9         appstream    186 k
 python3-libsemanage             x86_64    3.6-2.1.el9_5     appstream     78 k
 python3-policycoreutils         noarch    3.6-2.1.el9       appstream    2.0 M
 python3-setools                 x86_64    4.4.4-1.el9       baseos       551 k
 python3-setuptools              noarch    53.0.0-13.el9     baseos       838 k
 source-highlight                x86_64    3.1.9-12.el9      appstream    609 k
 which                           x86_64    2.21-29.el9       baseos        40 k

Transaction Summary
================================================================================
Install  30 Packages

Total download size: 45 M
Installed size: 158 M
Downloading Packages:
(1/30): gdb-14.2-3.el9.x86_64.rpm                16 MB/s | 146 kB     00:00    
(2/30): boost-regex-1.75.0-8.el9.x86_64.rpm      19 MB/s | 277 kB     00:00    
(3/30): checkpolicy-3.6-1.el9.x86_64.rpm         18 MB/s | 351 kB     00:00    
(4/30): libbabeltrace-1.5.8-10.el9.x86_64.rpm    23 MB/s | 186 kB     00:00    
(5/30): libipt-2.0.4-5.el9.x86_64.rpm            10 MB/s |  55 kB     00:00    
(6/30): policycoreutils-python-utils-3.6-2.1.el  18 MB/s |  71 kB     00:00    
(7/30): python3-audit-3.1.5-1.el9.x86_64.rpm     20 MB/s |  82 kB     00:00    
(8/30): python3-distro-1.5.0-7.el9.noarch.rpm   9.7 MB/s |  36 kB     00:00    
(9/30): python3-libselinux-3.6-1.el9.x86_64.rpm  39 MB/s | 186 kB     00:00    
(10/30): python3-libsemanage-3.6-2.1.el9_5.x86_  15 MB/s |  78 kB     00:00    
(11/30): source-highlight-3.1.9-12.el9.x86_64.r  68 MB/s | 609 kB     00:00    
(12/30): autofs-5.1.7-58.el9.x86_64.rpm          36 MB/s | 369 kB     00:00    
(13/30): fuse-2.9.9-16.el9.x86_64.rpm            29 MB/s |  78 kB     00:00    
(14/30): fuse-common-3.10.2-9.el9.x86_64.rpm    4.0 MB/s | 7.2 kB     00:00    
(15/30): fuse-libs-2.9.9-16.el9.x86_64.rpm       36 MB/s |  96 kB     00:00    
(16/30): gdb-headless-14.2-3.el9.x86_64.rpm      55 MB/s | 4.8 MB     00:00    
(17/30): initscripts-service-10.11.7-1.el9.noar 350 kB/s |  10 kB     00:00    
(18/30): kmod-28-10.el9.x86_64.rpm               29 MB/s | 121 kB     00:00    
(19/30): libtirpc-1.3.3-9.el9.x86_64.rpm         27 MB/s |  93 kB     00:00    
(20/30): lsof-4.94.0-3.el9.x86_64.rpm            43 MB/s | 238 kB     00:00    
(21/30): python3-policycoreutils-3.6-2.1.el9.no  22 MB/s | 2.0 MB     00:00    
(22/30): procps-ng-3.3.17-14.el9.x86_64.rpm      14 MB/s | 332 kB     00:00    
(23/30): psmisc-23.4-3.el9.x86_64.rpm            25 MB/s | 226 kB     00:00    
(24/30): python3-setools-4.4.4-1.el9.x86_64.rpm  48 MB/s | 551 kB     00:00    
(25/30): which-2.21-29.el9.x86_64.rpm            16 MB/s |  40 kB     00:00    
(26/30): python3-setuptools-53.0.0-13.el9.noarc  46 MB/s | 838 kB     00:00    
(27/30): cvmfs-config-default-2.0-1.noarch.rpm  466 kB/s | 8.4 kB     00:00    
(28/30): libicu-67.1-9.el9.x86_64.rpm            70 MB/s | 9.6 MB     00:00    
(29/30): cvmfs-2.12.7-1.el9.x86_64.rpm           54 MB/s |  14 MB     00:00    
(30/30): cvmfs-libs-2.12.7-1.el9.x86_64.rpm      34 MB/s |  10 MB     00:00    
--------------------------------------------------------------------------------
Total                                            39 MB/s |  45 MB     00:01     
CernVM packages                                 1.6 MB/s | 1.7 kB     00:00    
Importing GPG key 0x8AE45CE7:
 Userid     : "CernVM Administrator (cvmadmin) <cernvm.administrator@cern.ch>"
 Fingerprint: 70B9 8904 8820 8E31 5ED4 5208 230D 389D 8AE4 5CE7
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-CernVM
Key imported successfully
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                        1/1 
  Installing       : which-2.21-29.el9.x86_64                              1/30 
  Installing       : python3-setuptools-53.0.0-13.el9.noarch               2/30 
  Installing       : procps-ng-3.3.17-14.el9.x86_64                        3/30 
  Installing       : libtirpc-1.3.3-9.el9.x86_64                           4/30 
  Installing       : python3-libselinux-3.6-1.el9.x86_64                   5/30 
  Installing       : python3-libsemanage-3.6-2.1.el9_5.x86_64              6/30 
  Installing       : lsof-4.94.0-3.el9.x86_64                              7/30 
  Installing       : python3-distro-1.5.0-7.el9.noarch                     8/30 
  Installing       : python3-setools-4.4.4-1.el9.x86_64                    9/30 
  Installing       : cvmfs-libs-2.12.7-1.el9.x86_64                       10/30 
  Running scriptlet: cvmfs-libs-2.12.7-1.el9.x86_64                       10/30 
  Installing       : cvmfs-config-default-2.0-1.noarch                    11/30 
  Installing       : psmisc-23.4-3.el9.x86_64                             12/30 
  Installing       : libicu-67.1-9.el9.x86_64                             13/30 
  Installing       : boost-regex-1.75.0-8.el9.x86_64                      14/30 
  Installing       : source-highlight-3.1.9-12.el9.x86_64                 15/30 
  Installing       : kmod-28-10.el9.x86_64                                16/30 
  Installing       : autofs-1:5.1.7-58.el9.x86_64                         17/30 
  Running scriptlet: autofs-1:5.1.7-58.el9.x86_64                         17/30 
  Installing       : initscripts-service-10.11.7-1.el9.noarch             18/30 
  Installing       : fuse-libs-2.9.9-16.el9.x86_64                        19/30 
  Installing       : fuse-common-3.10.2-9.el9.x86_64                      20/30 
  Installing       : fuse-2.9.9-16.el9.x86_64                             21/30 
  Installing       : python3-audit-3.1.5-1.el9.x86_64                     22/30 
  Installing       : libipt-2.0.4-5.el9.x86_64                            23/30 
  Installing       : libbabeltrace-1.5.8-10.el9.x86_64                    24/30 
  Installing       : gdb-headless-14.2-3.el9.x86_64                       25/30 
  Installing       : gdb-14.2-3.el9.x86_64                                26/30 
  Installing       : checkpolicy-3.6-1.el9.x86_64                         27/30 
  Installing       : python3-policycoreutils-3.6-2.1.el9.noarch           28/30 
  Installing       : policycoreutils-python-utils-3.6-2.1.el9.noarch      29/30 
  Running scriptlet: cvmfs-2.12.7-1.el9.x86_64                            30/30 
  Installing       : cvmfs-2.12.7-1.el9.x86_64                            30/30 
  Running scriptlet: cvmfs-2.12.7-1.el9.x86_64                            30/30 
  Verifying        : boost-regex-1.75.0-8.el9.x86_64                       1/30 
  Verifying        : checkpolicy-3.6-1.el9.x86_64                          2/30 
  Verifying        : gdb-14.2-3.el9.x86_64                                 3/30 
  Verifying        : gdb-headless-14.2-3.el9.x86_64                        4/30 
  Verifying        : libbabeltrace-1.5.8-10.el9.x86_64                     5/30 
  Verifying        : libipt-2.0.4-5.el9.x86_64                             6/30 
  Verifying        : policycoreutils-python-utils-3.6-2.1.el9.noarch       7/30 
  Verifying        : python3-audit-3.1.5-1.el9.x86_64                      8/30 
  Verifying        : python3-distro-1.5.0-7.el9.noarch                     9/30 
  Verifying        : python3-libselinux-3.6-1.el9.x86_64                  10/30 
  Verifying        : python3-libsemanage-3.6-2.1.el9_5.x86_64             11/30 
  Verifying        : python3-policycoreutils-3.6-2.1.el9.noarch           12/30 
  Verifying        : source-highlight-3.1.9-12.el9.x86_64                 13/30 
  Verifying        : autofs-1:5.1.7-58.el9.x86_64                         14/30 
  Verifying        : fuse-2.9.9-16.el9.x86_64                             15/30 
  Verifying        : fuse-common-3.10.2-9.el9.x86_64                      16/30 
  Verifying        : fuse-libs-2.9.9-16.el9.x86_64                        17/30 
  Verifying        : initscripts-service-10.11.7-1.el9.noarch             18/30 
  Verifying        : kmod-28-10.el9.x86_64                                19/30 
  Verifying        : libicu-67.1-9.el9.x86_64                             20/30 
  Verifying        : libtirpc-1.3.3-9.el9.x86_64                          21/30 
  Verifying        : lsof-4.94.0-3.el9.x86_64                             22/30 
  Verifying        : procps-ng-3.3.17-14.el9.x86_64                       23/30 
  Verifying        : psmisc-23.4-3.el9.x86_64                             24/30 
  Verifying        : python3-setools-4.4.4-1.el9.x86_64                   25/30 
  Verifying        : python3-setuptools-53.0.0-13.el9.noarch              26/30 
  Verifying        : which-2.21-29.el9.x86_64                             27/30 
  Verifying        : cvmfs-2.12.7-1.el9.x86_64                            28/30 
  Verifying        : cvmfs-config-default-2.0-1.noarch                    29/30 
  Verifying        : cvmfs-libs-2.12.7-1.el9.x86_64                       30/30 

Installed:
  autofs-1:5.1.7-58.el9.x86_64                                                  
  boost-regex-1.75.0-8.el9.x86_64                                               
  checkpolicy-3.6-1.el9.x86_64                                                  
  cvmfs-2.12.7-1.el9.x86_64                                                     
  cvmfs-config-default-2.0-1.noarch                                             
  cvmfs-libs-2.12.7-1.el9.x86_64                                                
  fuse-2.9.9-16.el9.x86_64                                                      
  fuse-common-3.10.2-9.el9.x86_64                                               
  fuse-libs-2.9.9-16.el9.x86_64                                                 
  gdb-14.2-3.el9.x86_64                                                         
  gdb-headless-14.2-3.el9.x86_64                                                
  initscripts-service-10.11.7-1.el9.noarch                                      
  kmod-28-10.el9.x86_64                                                         
  libbabeltrace-1.5.8-10.el9.x86_64                                             
  libicu-67.1-9.el9.x86_64                                                      
  libipt-2.0.4-5.el9.x86_64                                                     
  libtirpc-1.3.3-9.el9.x86_64                                                   
  lsof-4.94.0-3.el9.x86_64                                                      
  policycoreutils-python-utils-3.6-2.1.el9.noarch                               
  procps-ng-3.3.17-14.el9.x86_64                                                
  psmisc-23.4-3.el9.x86_64                                                      
  python3-audit-3.1.5-1.el9.x86_64                                              
  python3-distro-1.5.0-7.el9.noarch                                             
  python3-libselinux-3.6-1.el9.x86_64                                           
  python3-libsemanage-3.6-2.1.el9_5.x86_64                                      
  python3-policycoreutils-3.6-2.1.el9.noarch                                    
  python3-setools-4.4.4-1.el9.x86_64                                            
  python3-setuptools-53.0.0-13.el9.noarch                                       
  source-highlight-3.1.9-12.el9.x86_64                                          
  which-2.21-29.el9.x86_64                                                      

Complete!

Turns out that this particular machine (i.e. puppet deployed) has a custom setup for package repositories; refer to GitHub - voxpupuli/puppet-cvmfs: Puppet module for cvmfs for more information.

Thanks @vavolkl got the help!