Okay, the problem is our dependency isn't specific enough. "fuse" is a virtual package that can be provided by fuse3. You can have that installed without libfuse2 installed, and in this case all the package dependencies will be satisfied but arv-mount won't work. Testing with the package-test-ubuntu2204 Docker image, here's a successful flow:
root@4f8d2a84ef02:/# dpkg -i /mnt/python3-arvados-fuse_2.8.0~dev20240510171531-1_amd64.deb
[it installs but is missing dependencies]
root@4f8d2a84ef02:/# apt --fix-broken install
[...]
The following additional packages will be installed:
fuse libcurl3-gnutls libexpat1 libfuse2 libmpdec3 libpython3.10-minimal libpython3.10-stdlib media-types python3.10
python3.10-minimal
Suggested packages:
python3.10-venv python3.10-doc binutils binfmt-support
The following NEW packages will be installed:
fuse libcurl3-gnutls libexpat1 libfuse2 libmpdec3 libpython3.10-minimal libpython3.10-stdlib media-types python3.10
python3.10-minimal
0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
[succeeds]
root@4f8d2a84ef02:/# arv-mount --version
/usr/bin/arv-mount 2.8.0.dev20240510171531
And here's a failed flow:
root@a7ba2c68c9d5:/# apt-get install -y fuse3 python3.10 libcurl3-gnutls
[...]
The following additional packages will be installed:
libexpat1 libfuse3-3 libmpdec3 libpython3.10-minimal libpython3.10-stdlib media-types python3.10-minimal
Suggested packages:
python3.10-venv python3.10-doc binutils binfmt-support
The following NEW packages will be installed:
fuse3 libcurl3-gnutls libexpat1 libfuse3-3 libmpdec3 libpython3.10-minimal libpython3.10-stdlib media-types python3.10
python3.10-minimal
0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
[succeeds]
root@a7ba2c68c9d5:/# dpkg -i /mnt/python3-arvados-fuse_2.8.0~dev20240510171531-1_amd64.deb
Selecting previously unselected package python3-arvados-fuse.
(Reading database ... 9125 files and directories currently installed.)
Preparing to unpack .../python3-arvados-fuse_2.8.0~dev20240510171531-1_amd64.deb ...
Unpacking python3-arvados-fuse (2.8.0~dev20240510171531-1) ...
Setting up python3-arvados-fuse (2.8.0~dev20240510171531-1) ...
root@a7ba2c68c9d5:/# arv-mount --version
Traceback (most recent call last):
File "/usr/bin/arv-mount", line 6, in <module>
import arvados_fuse.command
File "/usr/lib/python3-arvados-fuse/lib/python3.10/site-packages/arvados_fuse/__init__.py", line 58, in <module>
import llfuse
ImportError: libfuse.so.2: cannot open shared object file: No such file or directory