Bug#826425: deborphan: reports package as unused whereas it's used

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug#826425: deborphan: reports package as unused whereas it's used

Raphaël HALIMI
Package: deborphan
Version: 1.7.28.8-0.3

Hi,

deborphan currently reports python-cffi-backend as unused, whereas it's
used:

-----
raph@arche:~$ deborphan --ignore-suggests --guess-only --guess-python
python-cffi-backend:amd64

raph@arche:~$ sudo apt-get remove --purge python-cffi-backend:amd64
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer
required:
  libboost-python1.58.0 libportmidi0 libsdl-ttf2.0-0 libsmpeg0
  libtorrent-rasterbar8 python-libtorrent python-pam python-pyasn1-modules
  python-pygame python-serial python-twisted-bin
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  deluge* deluge-common* deluge-gtk* python-cffi-backend*
python-cryptography*
  python-ndg-httpsclient* python-openssl* python-service-identity*
  python-twisted-core*
0 upgraded, 0 newly installed, 9 to remove and 0 not upgraded.
After this operation, 20.6 MB disk space will be freed.
Do you want to continue? [Y/n] n
Abort.

raph@arche:~$ aptitude why python-cffi-backend:amd64
i   deluge              Depends  deluge-gtk (= 1.3.12-1.1)
i A deluge-gtk          Depends  deluge-common (= 1.3.12-1.1)
i A deluge-common       Depends  python-openssl
i A python-openssl      Depends  python-cryptography (>= 1.3)
i A python-cryptography Depends  python-cffi-backend-api-min (<= 9729)
i A python-cffi-backend Provides python-cffi-backend-api-min
-----

Is it because of the virtual package dependency fulfilled by the
"Provides" field ?

Something else that may be worth mentioning:

-----
raph@arche:~$ apt-cache rdepends python-cffi-backend
python-cffi-backend
Reverse Depends:
  python-cffi
  python-cffi-backend-dbg
  python-cffi

raph@arche:~$ apt-cache rdepends --installed python-cffi-backend
python-cffi-backend
Reverse Depends:
-----

(nothing was listed)

Regards,

--
Raphaël Halimi


signature.asc (968 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Bug#826425: deborphan: reports package as unused whereas it's used

nodiscc
Confirming this bug on Debian Stretch, deborphan 1.7.28.8-0.3+b1

$ deborphan --guess-all |grep cffi
python3-cffi-backend:amd64
python-cffi-backend:amd64

$ aptitude why python3-cffi-backend:amd64
i   python3-cryptography Depends  python3-cffi-backend-api-min (<= 9729)
i A python3-cffi-backend Provides python3-cffi-backend-api-min

$ aptitude why python-cffi-backend:amd64
i   ansible             Depends  python-cryptography
i A python-cryptography Depends  python-cffi-backend-api-min (<= 9729)
i A python-cffi-backend Provides python-cffi-backend-api-min