Project

General

Profile

Actions

Bug #23043

open

Make python3-arvados-fuse prefer to pull in fuse3

Added by Brett Smith 8 months ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
Deployment
Target version:
-
Story points:
-

Description

This is the more modern package and it works fine for our purposes. I confirmed that if you install our package on a bare system, it'll get FUSE 2.

I tried an initial version of this with the patch below. Unfortunately as best I could tell it wasn't effective: the package still got generated with just a plain "fuse" dependency, no mention of fuse3. I don't know if this is a limitation of the way fpm handles dependencies or what.

Either package works for us, so it would be nice to keep the alternative if possible. But if we end up just depending on fuse3 that's probably tolerable.

modified   services/fuse/fpm-info.sh
@@ -2,19 +2,18 @@
 #
 # SPDX-License-Identifier: AGPL-3.0

-# We depend on the fuse package because arv-mount may run the `fusermount` tool.
-fpm_depends+=(fuse)
-
 case "$TARGET" in
     centos*|rocky*)
-        # We depend on libfuse for llfuse.
+        # We depend on the fuse package because arv-mount may run the
+        # `fusermount` tool. We depend on libfuse for llfuse.
         # We should declare a libcurl dependency, but it's a little academic
         # because rpm itself depends on it, so we can be pretty sure it's installed.
-        fpm_depends+=(fuse-libs)
+        fpm_depends+=(fuse fuse-libs)
         ;;
     debian* | ubuntu*)
-        # We depend on libfuse2 for llfuse.
+        # We depend on the fuse package because arv-mount may run the
+        # `fusermount` tool. We depend on libfuse2 for llfuse.
         # We depend on libcurl because the Python SDK does for its Keep client.
-        fpm_depends+=(libfuse2 libcurl4)
+        fpm_depends+=("fuse3 | fuse" libfuse2 libcurl4)
         ;;
 esac


Related issues 1 (0 open1 closed)

Related to Arvados - Bug #23041: Ansible installer installs "fuse" package for python3-arvados-fuse, breaks Ubuntu 24.04 desktopResolvedBrett SmithActions
Actions #1

Updated by Brett Smith 8 months ago

  • Related to Bug #23041: Ansible installer installs "fuse" package for python3-arvados-fuse, breaks Ubuntu 24.04 desktop added
Actions

Also available in: Atom PDF