Bug #23033
closedarvados-client FUSE dependency needs fixing on Ubuntu 24.04
Description
arvados-client is linked against libfuse2. Its deb package requests fuse as a dependency, but in Ubuntu 24.04 fuse3 replaces fuse, so installing the package doesn't explicitly ask for libfuse2:
$ dpkg -l | grep fuse 15:23:21 [15/15] ii fuse3 3.14.0-5build1 amd64 Filesystem in Userspace (3.x version) ii libfuse3-3:amd64 3.14.0-5build1 amd64 Filesystem in Userspace (library) (3.x version) $ sudo apt install arvados-client Reading package lists... Done Building dependency tree... Done Reading state information... Done The following NEW packages will be installed: arvados-client 0 upgraded, 1 newly installed, 0 to remove and 6 not upgraded. Need to get 8,416 kB of archives. After this operation, 16.5 MB of additional disk space will be used. Get:1 http://apt.arvados.org/noble noble-dev/main amd64 arvados-client amd64 3.2.0~dev20250630185808-1 [8,416 kB] Fetched 8,416 kB in 0s (22.0 MB/s) Selecting previously unselected package arvados-client. (Reading database ... 107574 files and directories currently installed.) Preparing to unpack .../arvados-client_3.2.0~dev20250630185808-1_amd64.deb ... Unpacking arvados-client (3.2.0~dev20250630185808-1) ... Setting up arvados-client (3.2.0~dev20250630185808-1) ...
When I run ldd against it, it shows the missing library:
$ ldd `which arvados-client`
linux-vdso.so.1 (0x00007ffea75e8000)
libfuse.so.2 => not found
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f425d200000)
/lib64/ld-linux-x86-64.so.2 (0x00007f425d5c4000)
If I ask to install libfuse2, the package libfuse2t64 gets installed and everything works as expected:
$ sudo apt install libfuse2
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'libfuse2t64' instead of 'libfuse2'
The following NEW packages will be installed:
libfuse2t64
0 upgraded, 1 newly installed, 0 to remove and 6 not upgraded.
Need to get 89.9 kB of archives.
After this operation, 326 kB of additional disk space will be used.
Get:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu noble/universe amd64 libfuse2t64 amd64 2.9.9-8.1build1 [89.9 kB]
Fetched 89.9 kB in 0s (4,938 kB/s)
Selecting previously unselected package libfuse2t64:amd64.
(Reading database ... 107578 files and directories currently installed.)
Preparing to unpack .../libfuse2t64_2.9.9-8.1build1_amd64.deb ...
Unpacking libfuse2t64:amd64 (2.9.9-8.1build1) ...
Setting up libfuse2t64:amd64 (2.9.9-8.1build1) ...
Processing triggers for libc-bin (2.39-0ubuntu8.4) ...
$ ldd `which arvados-client`
linux-vdso.so.1 (0x00007ffe7fd9b000)
libfuse.so.2 => /lib/x86_64-linux-gnu/libfuse.so.2 (0x00007e8288799000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007e8288400000)
/lib64/ld-linux-x86-64.so.2 (0x00007e82887e2000)
Updated by Zoë Ma 8 months ago
There's another issue caused by this problem if the user installs Arvados on desktop. On Ubuntu 24.04, the package ubuntu-session depends on fuse3 and conflicts with fuse (i.e. FUSE 2). By installing the package fuse, ubuntu-session is removed, which makes it impossible to log into the GNOME desktop.
Updated by Brett Smith 8 months ago
- Related to Bug #21774: jammy/bookworm FUSE packages have incorrect FUSE dependency added
Updated by Brett Smith 8 months ago
- Target version changed from Future to Development 2025-07-23
- Assigned To set to Brett Smith
- Status changed from New to In Progress
Updated by Brett Smith 8 months ago
I just pushed 08514adbacc2c5c8556a97046091a95bb89c93f5 directly to main to address this. We previously dealt with this issue in arv-mount in #21774, and the fix is basically the same. I built and tested the arvados-client package on my development system to confirm I didn't break it, and that worked. So it seemed low-risk enough to push directly. I think we can mark this closed after it gets through test-provision. Here's hoping Jenkins cooperates.
Updated by Brett Smith 8 months ago
- Subject changed from arvados-client package dependency need fixing on Ubuntu 24.04 to arvados-client FUSE dependency needs fixing on Ubuntu 24.04
Updated by Lucas Di Pentima 8 months ago
- Related to Bug #23041: Ansible installer installs "fuse" package for python3-arvados-fuse, breaks Ubuntu 24.04 desktop added