Right, so in that case, there is no bug in upgrade-system. The backend 'deborphan --guess-all' simply makes broad assumptions about what is superflous libraries and, for some reason, it considers python-cffi-backend as superflous as explained in bug #918755.
In your case, the solution indeed is to add --no-guess-python to ORPHANOPTS. Martin-Éric su 27. jouluk. 2020 klo 22.47 Rick Thomas (rick.tho...@pobox.com) kirjoitti: > > It looks like the problem is in deborphan. /etc/upgrade-system.conf has > ORPHANOPTS="--guess-all --libdevel" > > and something about that combination leads deborphan to decide it doesn't > need the package "python-cffi-backend", which is a lineal dependent of > deborphan. The reason that upgrade-system wants to purge deluge is that with > python-cffi-backend gone, deluge is missing a critical dependency. This is > all described Bug#918755 . > > If I add "--no-guess-python" to the option list, deborphan no longer lists > python-cffi-backend, but I'm concerned that doing that will have wider > side-effects. > > Details: > rbthomas@monk:~$ deborphan --guess-all --libdevel > python-cffi-backend > rbthomas@monk:~$ deborphan --guess-all --no-guess-python --libdevel > rbthomas@monk:~$ > > Hope this helps! > Rick > > On Sat, Dec 26, 2020, at 3:03 PM, Martin-Éric Racine wrote: > > la 26. jouluk. 2020 klo 21.30 Rick Thomas (rbtho...@rcthomas.org) kirjoitti: > > > > > > Package: upgrade-system > > > Version: 1.7.3.1 > > > Severity: normal > > > > > > --- Please enter the report below this line. --- > > > > > > The package "deluge" is manually (i.e. not "auto") installed on my > > > system. I use it daily. But when I try to run "upgrade-system" it lists > > > deluge and a bunch of other packages that deluge depends on as needing > > > to be removed. Why is this? > > > > Check the deborphan options you have configured in > > /etc/upgrade-system.conf for something that tries to purge python > > packages. To manually fine-tune this, you can run 'sudo deborphan' > > with different combinations of --guess options. > > > > Martin-Éric > >