Fedora 42 cvmfs repo

$ cat /etc/redhat-release
Fedora release 42 (Adams)

$ dnf install https://cvmrepo.s3.cern.ch/cvmrepo/yum/cvmfs-release-latest.noarch.rpm
$ dnf upgrade
Updating and loading repositories:
 CernVM packages
>>> Status code: 404 for http://cvmrepo.s3.cern.ch/cvmrepo/yum/cvmfs/fedora/42/x86_64/repodata/repomd.xml (IP: 188.185.10.120) - http://cvmrepo.s3.cern.ch/cvmrepo/yum/cvmfs/fedora/42/x86_64/repodata/repomd.xml - repomd.xml   

Last working repo for Fedora 41, why not for Fedora 42 (released 2025-04-15) ?

Very good suggestion, just haven’t gotten around to it yet. I will publish a patch release this week so I can add Fedora 42 packages directly.

$ dnf install cvmfs
Updating and loading repositories:
Repositories loaded.
Failed to resolve the transaction:
Problem: conflicting requests
  - nothing provides cvmfs-config needed by cvmfs-2.13.1-1.fc42.x86_64 from cernvm
You can try to add to command line:
  --skip-broken to skip uninstallable packages
$ dnf list cvmfs\*
Updating and loading repositories:
Repositories loaded.
Installed packages
cvmfs-release.noarch    6-2           @commandline

Available packages
cvmfs.x86_64            2.13.1-1.fc42 cernvm
cvmfs-devel.x86_64      2.13.1-1.fc42 cernvm
cvmfs-ducc.x86_64       2.13.1-1.fc42 cernvm
cvmfs-fuse3.x86_64      2.13.1-1.fc42 cernvm
cvmfs-gateway.x86_64    2.13.1-1.fc42 cernvm
cvmfs-libs.x86_64       2.13.1-1.fc42 cernvm
cvmfs-server.x86_64     2.13.1-1.fc42 cernvm
cvmfs-shrinkwrap.x86_64 2.13.1-1.fc42 cernvm

Missing cvmfs-config package.

Oh right, I always forget about that one when adding a new platform. We should add/enable a cvmfs-config repo. In any case, fixed now.

Yes, now cvmfs is installable on Fedora 42. Thanks !!!

Last question: package cvmfs-config-default on Fedora 42 and EL 9 is 2.0 version, why not actual 2.2 version ?

Yes, that should be the latest, just a copy and paste error, but there have been only minor changes since then, so it should be ok to use for now. I’ll set up a dedicated repo for this.

Understand, and thanks for the great work.

Fedora 43
Index of /dist/cvmfs/cvmfs-2.13.3 => I see fc43 packages, but not in repolist:

>>> Status code: 404 for http://cvmrepo.s3.cern.ch/cvmrepo/yum/cvmfs/fedora/43/x86_64/repodata/repomd.xml

Yes, that took a while because of rpm 6.0, but now the repo has been updated and fc43 packages are available.

# dnf upgrade cvmfs-release
Updating and loading repositories:
Repositories loaded.
Package                                                                           Arch              Version                                                                           Repository                                          Size
Upgrading:
 cvmfs-release                                                                    noarch            7-2                                                                               cernvm                                           7.5 KiB
   replacing cvmfs-release                                                        noarch            7-1                                                                               cernvm                                           7.3 KiB

Transaction Summary:
 Upgrading:          1 package
 Replacing:          1 package

Total size of inbound packages is 14 KiB. Need to download 0 B.
After this operation, 192 B extra will be used (install 7 KiB, remove 7 KiB).
Is this ok [y/N]: y
[1/1] cvmfs-release-0:7-2.noarch                                                                                                                                                                      100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                                                                                                                                                                                        
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[1/1] Total                                                                                                                                                                                           100% |   0.0   B/s |   0.0   B |  00m00s
Running transaction
Transaction failed: Signature verification failed.
Public key "file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CernVM" is already present, not importing.
OpenPGP check for package "cvmfs-release-7-2.noarch" (/var/cache/libdnf5/cernvm-aacdd6b3486a4e33/packages/cvmfs-release-7-2.noarch.rpm) from repo "cernvm" has failed: Public key is not installed.

“manually” find and remove the old key

# rpm -q --qf "%{NAME}-%{VERSION}-%{RELEASE}\t%{SUMMARY}\n" gpg-pubkey | grep CernVM | cut -f1
gpg-pubkey-8ae45ce7-4b863fa6
# rpm -e "$(rpm -q --qf "%{NAME}-%{VERSION}-%{RELEASE}\t%{SUMMARY}\n" gpg-pubkey | grep CernVM | cut -f1)"

try upgrading

root@muke:~# dnf upgrade cvmfs-release
Updating and loading repositories:
Repositories loaded.
Package                                                                           Arch              Version                                                                           Repository                                          Size
Upgrading:
 cvmfs-release                                                                    noarch            7-2                                                                               cernvm                                           7.5 KiB
   replacing cvmfs-release                                                        noarch            7-1                                                                               cernvm                                           7.3 KiB

Transaction Summary:
 Upgrading:          1 package
 Replacing:          1 package

Total size of inbound packages is 14 KiB. Need to download 0 B.
After this operation, 192 B extra will be used (install 7 KiB, remove 7 KiB).
Is this ok [y/N]: y
[1/1] cvmfs-release-0:7-2.noarch                                                                                                                                                                      100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                                                                                                                                                                                        
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[1/1] Total                                                                                                                                                                                           100% |   0.0   B/s |   0.0   B |  00m00s
Running transaction
Importing OpenPGP key 0x8AE45CE7:
 UserID     : "CernVM Administrator (cvmadmin) <cernvm.administrator@cern.ch>"
 Fingerprint: 70B9890488208E315ED45208230D389D8AE45CE7
 From       : file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CernVM
Is this ok [y/N]: y
The key was successfully imported.
Transaction failed: Signature verification failed.
OpenPGP check for package "cvmfs-release-7-2.noarch" (/var/cache/libdnf5/cernvm-aacdd6b3486a4e33/packages/cvmfs-release-7-2.noarch.rpm) from repo "cernvm" has failed: Import of the key didn't help, wrong key?

but the problem still persists

Hmm, that’s strange, it did work in my testing. I’ll have to take a look and maybe update the cvmfs-release package. As a workaround, try either installing the cvmfs-release package from the url directly:

sudo dnf install -y https://cvmrepo.s3.cern.ch/cvmrepo/yum/cvmfs-release-latest.noarch.rpm

or this replacement:

sed -i 's;gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CernVM file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CernVM-2048;gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CernVM-2048;g' /etc/yum.repos.d/cernvm.repo

and install cvmfs from there

# dnf remove cvmfs-release
# dnf install -y https://cvmrepo.s3.cern.ch/cvmrepo/yum/cvmfs-release-latest.noarch.rpm

Yes, you are right, this solves this problem, thanks !

1 Like

Hi! For me on fedora 43 the problem persists:
after removing cvmfs-release i did:


dnf install -y https://cvmrepo.s3.cern.ch/cvmrepo/yum/cvmfs-release-latest.noarch.rpm

then

root@hal: tmp # dnf install cvmfs
Updating and loading repositories:
Repositories loaded.
Package                                            Arch         Version                                            Repository                       Size
Installing:
 cvmfs                                             x86_64       2.13.3-2.fc43                                      cernvm                        5.2 MiB
Installing dependencies:
 cvmfs-config-default                              noarch       2.2-2                                              cernvm                        7.5 KiB
 cvmfs-fuse3                                       x86_64       2.13.3-2.fc43                                      cernvm                       44.4 MiB
 cvmfs-libs                                        x86_64       2.13.3-2.fc43                                      cernvm                       35.5 MiB

Transaction Summary:
 Installing:         4 packages

Total size of inbound packages is 24 MiB. Need to download 24 MiB.
After this operation, 85 MiB extra will be used (install 85 MiB, remove 0 B).
Is this ok [y/N]: y
[1/4] cvmfs-0:2.13.3-2.fc43.x86_64                                                                              100% |   1.9 MiB/s |   1.3 MiB |  00m01s
[2/4] cvmfs-config-default-0:2.2-2.noarch                                                                       100% |  92.1 KiB/s |  12.1 KiB |  00m00s
[3/4] cvmfs-libs-0:2.13.3-2.fc43.x86_64                                                                         100% |   8.7 MiB/s |   9.8 MiB |  00m01s
[4/4] cvmfs-fuse3-0:2.13.3-2.fc43.x86_64                                                                        100% |  10.8 MiB/s |  13.3 MiB |  00m01s
--------------------------------------------------------------------------------------------------------------------------------------------------------
[4/4] Total                                                                                                     100% |  19.9 MiB/s |  24.4 MiB |  00m01s
Running transaction
Importing OpenPGP key 0x497EA957:
 UserID     : "cvmadmin <cernvm.administrator@cern.ch>"
 Fingerprint: FD80468D49B3B24C341741FC8CE0A76C497EA957
 From       : file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CernVM-2048
Is this ok [y/N]: y
The key was successfully imported.
Transaction failed: Rpm transaction failed.
Public key "file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CernVM" is already present, not importing.
  - package cvmfs-libs-2.13.3-2.fc43.x86_64 does not verify: Payload SHA256 ALT digest: BAD (Expected 275c9b302f0d8976e9b998d838b984116591e7b656b7de1d745ddb91b22e3686 != f51e1155ee05cfc36da315396c7baea032485ef108d426435f477864d6a4ee50)

It seems to be the upgrade that is problematic. Try first removing cvmfs-release or doing the replacement above.

1 Like

Oh, a full clean up worked! Thanks a lot!

1 Like