Missing packages for debian/ubuntu arm64

Hello,

I have a Dockerfile preparing an image “debian:stable-minimal”.
I would like to include CVMFS to be able to read.

I tried to go with:

wget https://ecsft.cern.ch/dist/cvmfs/cvmfs-release/cvmfs-release-latest_all.deb
dpkg -i cvmfs-release-latest_all.deb
rm -f cvmfs-release-latest_all.deb
apt-get update
apt-get install cvmfs

When calling apt-get update I received an error message:

1.662 2024-02-14 07:28:05 (103 MB/s) - ‘cvmfs-release-latest_all.deb’ saved [5284/5284]
1.662
1.691 Selecting previously unselected package cvmfs-release.
1.699 (Reading database ... 11478 files and directories currently installed.)
1.699 Preparing to unpack cvmfs-release-latest_all.deb ...
1.701 Unpacking cvmfs-release (4.3-1) ...
1.715 Setting up cvmfs-release (4.3-1) ...
2.080 Get:1 http://deb.debian.org/debian stable InRelease [151 kB]
2.388 Get:2 http://deb.debian.org/debian stable-updates InRelease [52.1 kB]
2.682 Get:3 http://deb.debian.org/debian-security stable-security InRelease [48.0 kB]
2.714 Get:4 http://deb.debian.org/debian stable/main arm64 Packages [8685 kB]
3.778 Ign:5 http://cvmrepo.s3.cern.ch/cvmrepo/apt bookworm-prod InRelease
4.075 Get:6 http://cvmrepo.s3.cern.ch/cvmrepo/apt bookworm-prod Release [2298 B]
4.393 Get:7 http://cvmrepo.s3.cern.ch/cvmrepo/apt bookworm-prod Release.gpg [198 B]
4.692 Get:8 http://deb.debian.org/debian stable-updates/main arm64 Packages [12.5 kB]
4.713 Get:9 http://deb.debian.org/debian-security stable-security/main arm64 Packages [135 kB]
5.408 Fetched 9086 kB in 4s (2481 kB/s)
5.408 Reading package lists...
5.693 W: Skipping acquire of configured file 'main/binary-arm64/Packages' as repository 'http://cvmrepo.s3.cern.ch/cvmrepo/apt bookworm-prod InRelease' does not seem to provide it (sources.list entry misspelt?)
5.699 Reading package lists...
6.004 Building dependency tree...
6.076 Reading state information...
6.081 E: Unable to locate package cvmfs

What is wrong with http://cvmrepo.s3.cern.ch/cvmrepo/apt ?
I want to mount my CVMFS repository from Dockerfile without complex docker command.
Could you help me with that ?

Thank you.

Hi, welcome to the Forum!

The problem seems to be that we just don’t build debian packages for arm64. This is due to lack of demand, but if it’s useful for you I can add it. I’ll unfortunately only be able to provide those for the next release (due in a couple of weeks).

I don’t know if that’s useful for you, but a couple of images with cvmfs are hosted here: key4hep-images/Docker at main · key4hep/key4hep-images · GitHub

Kind regards,
Valentin

1 Like

It would be really convenient to have such support for debian, ubuntu with aarch64/arm64.
How can I check it online in few weeks ? Is there a specific location ?

Is there any tweak I can do to bypass this issue for the time being?
Thank you so much !

I’ll let you know here - I think I can also add them to the testing repository tonight.

You could in principle also build cvmfs from source yourself, but to get the full setup right, it may take a bit of effort, I’d recommend to wait for the packages.

I will try the testing repo tomorrow morning !
Thank you

Taking a closer look, it seems like we already had packages for ubuntu 22.04 but were missing arm64 in the release file. I fixed this just now, could you check if it works for you? I can then add debian later. Thanks!

Ubuntu22 is working now, thank you for the great work :slight_smile:

Please let me know about Debian. I am usually using debian-slim about 30MB and it is very convenient to have minimal distros compared to Ubuntu !

Looking forward to hearing from you!

arm64 packages should now also be available for debian12. Let me know if it works for you!

1 Like

Hi ! I just tested with Debian, it works like a charm now :)) thank you !!

1 Like