I am using AlmaLinux 9.1 and whenver I try to install cvmfs I get an error saying it cant find the metadata for the CVMFS repository.
This may be an issue with your local (site) network. The URL from the error message in principle is available. You can try
curl http://cvmrepo.s3.cern.ch/cvmrepo/yum/cvmfs/EL/9/x86_64/repodata/repomd.xml
to verify that you can access the file from your machine.
Perhaps it was a temporary glitch then. Does it work with yum if you try the initial command again?
unfortunatly its still not working. I cant even build it from source as it wont recognise the fuse libraries.
Hm, something seems odd with yum here.
You can try installing the package directly with
yum install \
https://ecsft.cern.ch/dist/cvmfs/cvmfs-2.10.1/cvmfs-2.10.1-1.el9.x86_64.rpm \
https://ecsft.cern.ch/dist/cvmfs/cvmfs-2.10.1/cvmfs-fuse3-2.10.1-1.el9.x86_64.rpm
Did the above yum command work? You don’t need to build cvmfs from sources once the cvmfs package is installed. Building from sources may require several additional packages and is generally only recommended for special cases, such as supercomputers.
Oh, right, to resolve that, please install first
yum install https://ecsft.cern.ch/dist/cvmfs/cvmfs-config/cvmfs-config-default-latest.noarch.rpm