Package: kdeconnect Version: 20.12.3-1 Severity: serious Tags: patch User: debian...@lists.debian.org Usertags: piuparts
Upgrading e.g. kde-full (with --instaill-recommends enabled) 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. Here is an excerpt of the diff of the apt problem resolution from an upgrade of kde-full (with --install-recommends enabled) from buster to a) current bullseye (which does not upgrade sshfs at all) and b) a bullseye with kdeconnect and sshfs patched to carry more Depends/Breaks. The apt scores change from 'preferring to keep fuse installed' to 'switching to fuse3'. ... - Calculating upgrade...Starting pkgProblemResolver with broken count: 50 + Calculating upgrade...Starting pkgProblemResolver with broken count: 52 ... - Investigating (0) fuse3:amd64 < none -> 3.10.3-2 @un uN Ib > - Broken fuse3:amd64 Breaks on fuse:amd64 < 2.9.9-1+deb10u1 -> 2.9.9-5 @ii umU > - Considering fuse:amd64 4 as a solution to fuse3:amd64 3 - Holding Back fuse3:amd64 rather than change fuse:amd64 - Investigating (0) sshfs:amd64 < 2.10+repack-2 -> 3.7.1+repack-1 @ii umU Ib > - Broken sshfs:amd64 Depends on fuse3:amd64 < none | 3.10.3-2 @un uH > - Considering fuse3:amd64 3 as a solution to sshfs:amd64 2 - Holding Back sshfs:amd64 rather than change fuse3:amd64 + Investigating (0) fuse3:amd64 < none -> 3.10.3-2 @un uN Ib > + Broken fuse3:amd64 Breaks on fuse:amd64 < 2.9.9-1+deb10u1 -> 2.9.9-5 @ii umU > + Considering fuse:amd64 2 as a solution to fuse3:amd64 5 + Added fuse:amd64 to the remove list + Conflicts//Breaks against version 2.9.9-1+deb10u1 for fuse but that is not InstVer, ignoring + Fixing fuse3:amd64 via remove of fuse:amd64 ... - Try to Re-Instate (1) sshfs:amd64 The following packages will be REMOVED: - g++-8 gcc-8 kaccessible katepart kde-runtime kde-style-breeze-qt4 + fuse g++-8 gcc-8 kaccessible katepart kde-runtime kde-style-breeze-qt4 ... The following packages have been kept back: - sshfs ... - 1681 upgraded, 302 newly installed, 131 to remove and 1 not upgraded. + 1681 upgraded, 304 newly installed, 132 to remove and 0 not upgraded. ... Please see the attached patch. Andreas
diff -Nru kdeconnect-20.12.3/debian/changelog kdeconnect-20.12.3/debian/changelog --- kdeconnect-20.12.3/debian/changelog 2021-03-08 22:43:49.000000000 +0100 +++ kdeconnect-20.12.3/debian/changelog 2021-07-01 11:21:47.000000000 +0200 @@ -1,3 +1,10 @@ +kdeconnect (20.12.3-2) UNRELEASED; urgency=medium + + * kdeconnect: Add Breaks: fuse (<< 3) and Depends: fuse3 (>= 3) to ensure + fuse gets replaced by fuse3 on upgrades from buster. (Closes: #-1) + + -- Andreas Beckmann <a...@debian.org> Thu, 01 Jul 2021 11:21:47 +0200 + kdeconnect (20.12.3-1) unstable; urgency=medium * New upstream release (20.12.3). diff -Nru kdeconnect-20.12.3/debian/control kdeconnect-20.12.3/debian/control --- kdeconnect-20.12.3/debian/control 2021-03-08 22:31:44.000000000 +0100 +++ kdeconnect-20.12.3/debian/control 2021-07-01 11:21:47.000000000 +0200 @@ -55,9 +55,12 @@ qml-module-qtquick-particles2, qml-module-qtquick-window2, qml-module-qtquick2, - sshfs, + sshfs (>= 3), ${misc:Depends}, ${shlibs:Depends}, +# Ensure fuse gets replaced by fuse3 on upgrades from buster s.t. sshfs can be installed. + fuse3 (>= 3), +Breaks: fuse (<< 3) Description: connect smartphones to your desktop devices Tool to integrate your smartphone, tablet, and desktop devices. Remote-control, share files, synchronize notifications, and more!