Bug#918755: Bug#978158: [upgrade-system] upgrade-system wants to delete package deluge and everything it depends on

2020-12-28 Thread Rick Thomas
As I said, simply adding --no-guess-python to ORPHANOPTS does take care of the immediate problem of wanting to delete deluge, but in exchange, it opens up a potential can of worms when there is a python package that is indeed an orphan, which would then not be deleted by upgrade-system. So,

Bug#918755: Bug#978158: Bug#918755: Bug#978158: [upgrade-system] upgrade-system wants to delete package deluge and everything it depends on

2020-12-28 Thread Martin-Éric Racine
su 27. jouluk. 2020 klo 23.27 Chris Hofstaedtler (z...@debian.org) kirjoitti: > * Martin-Éric Racine [201227 22:06]: > > Right, so in that case, there is no bug in upgrade-system. > > In your case, the solution indeed is to add --no-guess-python to ORPHANOPTS. > > > su 27. jouluk. 2020 klo 22.47

Bug#918755: Bug#978158: [upgrade-system] upgrade-system wants to delete package deluge and everything it depends on

2020-12-27 Thread Chris Hofstaedtler
Hi, * Martin-Éric Racine [201227 22:06]: > Right, so in that case, there is no bug in upgrade-system. I must disagree, see below. > The backend 'deborphan --guess-all' simply makes broad assumptions > about what is superflous libraries and, for some reason, it considers > python-cffi-backend

Bug#918755: Bug#978158: [upgrade-system] upgrade-system wants to delete package deluge and everything it depends on

2020-12-27 Thread Martin-Éric Racine
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

Bug#918755: Bug#978158: [upgrade-system] upgrade-system wants to delete package deluge and everything it depends on

2020-12-27 Thread Rick Thomas
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