Package: sshfs
Version: 3.7.1+repack-1
Severity: serious
Tags: patch
User: debian...@lists.debian.org
Usertags: piuparts

Upgrading sshfs from buster to bullseye requires to replace fuse
with fuse3 in order to install sshfs.
Since there is no clean upgrade path for fuse -> fuse3 (#918984, will
not be fixed for bullseye but only for bookworm), we need to add some
Breaks/Depends elsewhere to make this switch happen without requiring
manual interaction.

One such location is in sshfs itself, others are freedombox and
kdeconnect. Usually two breaks (in distinct packages) are needed to push
apt's scores from 'preferring to keep fuse installed' to 'switching to
fuse3'.

Please see the attached patch.


Andreas
diff -Nru sshfs-fuse-3.7.1+repack/debian/changelog 
sshfs-fuse-3.7.1+repack/debian/changelog
--- sshfs-fuse-3.7.1+repack/debian/changelog    2020-11-24 13:40:01.000000000 
+0100
+++ sshfs-fuse-3.7.1+repack/debian/changelog    2021-07-05 14:48:37.000000000 
+0200
@@ -1,3 +1,10 @@
+sshfs-fuse (3.7.1+repack-2) UNRELEASED; urgency=medium
+
+  * fuse3: Add Breaks: fuse (<< 3) to help switching from fuse to fuse3 on
+    upgrades from buster.  (Closes: #-1)
+
+ -- Andreas Beckmann <a...@debian.org>  Mon, 05 Jul 2021 14:48:37 +0200
+
 sshfs-fuse (3.7.1+repack-1) unstable; urgency=medium
 
   * New upstream release
diff -Nru sshfs-fuse-3.7.1+repack/debian/control 
sshfs-fuse-3.7.1+repack/debian/control
--- sshfs-fuse-3.7.1+repack/debian/control      2020-11-24 13:40:01.000000000 
+0100
+++ sshfs-fuse-3.7.1+repack/debian/control      2021-07-05 14:48:37.000000000 
+0200
@@ -24,6 +24,7 @@
 Depends: ${shlibs:Depends}, ${misc:Depends}
         ,fuse3 [linux-any] | fuse4bsd [kfreebsd-any]
         ,openssh-client
+Breaks: fuse (<< 3)
 Description: filesystem client based on SSH File Transfer Protocol
  sshfs is a filesystem client based on the SSH File Transfer Protocol.
  Since most SSH servers already support this protocol it is very easy

Reply via email to