#1001751 debfoster: Debfoster offers to remove python that many fostered packages depend on

Package:
debfoster
Source:
debfoster
Description:
Install only wanted Debian packages
Submitter:
Harri Haataja
Date:
2024-04-19 14:39:03 UTC
Severity:
normal
#1001751#5
Date:
2021-12-15 10:07:39 UTC
From:
To:
Dear Maintainer,
debfoster offers to remove python that many fostered packages depend on.
This hasn't happened for long, probably debfoster even worked as it
should after bookworm update. For a while now, though, it offers to
remove python3.10 which isn't really up for removal.

$ sudo debfoster

python3.10 is keeping the following 1 packages installed:
  python3.10-minimal
Keep python3.10? [Ynpsiuqx?], [H]elp: N
Keep python3.10-minimal? [Ynpsiuqx?], [H]elp: N
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  cura-engine fdm-materials fonts-lyx freecad-common ibverbs-providers libaec0 libarcus3
  libboost-thread1.74.0 libclang1-13 libcoin80c libevent-core-2.1-7 libevent-pthreads-2.1-7 libfabric1
  libfreecad-python3-0.19 libgeos-c1v5 libgeos3.10.1 libgl2ps1.4 libhdf5-103-1 libhdf5-hl-100
  libhdf5-openmpi-103-1 libhwloc-plugins libhwloc15 libibverbs1 libjs-jquery-ui libjsoncpp25
  liblbfgsb0 libllvm13 libmedc11 libnetcdf19 libnlopt0 libopenmpi3 libpmix2 libpolyclipping22
  libproj22 libpsm-infinipath1 libpsm2-2 libpugixml1v5 libpyside2-py3-5.15 libpython3.10
  libpython3.10-minimal libpython3.10-stdlib libqt5concurrent5 libqt5designer5 libqt5opengl5
  libqt5positioning5 libqt5quickcontrols2-5 libqt5quicktemplates2-5 libqt5quickwidgets5 libqt5sensors5
  libqt5test5 libqt5webchannel5 libqt5webkit5 librdmacm1 libsavitar0 libshiboken2-py3-5.15 libsoqt520
  libsz2 libucx0 libvtk9 libxerces-c3.2 libxnvctrl0 libzipios++0v5 proj-data python-matplotlib-data
  python3-arcus python3-charon python3-cycler python3-dateutil python3-decorator python3-kiwisolver
  python3-pivy python3-ply python3-pynest2d python3-pyqt5 python3-pyqt5.qtopengl python3-pyqt5.qtquick
  python3-pyqt5.qtsvg python3-pyqt5.sip python3-pyside2.qtcore python3-pyside2.qtgui
  python3-pyside2.qtopengl python3-pyside2.qtsvg python3-pyside2.qtuitools python3-pyside2.qtwidgets
  python3-pyside2.qtxml python3-savitar python3-serial python3-sip python3-yaml
  qml-module-qtquick-controls2 qml-module-qtquick-templates2 shiboken2
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  cura* freecad* freecad-python3* python3-matplotlib* python3-numpy* python3-scipy* python3-shapely*
  python3-uranium* python3.10* python3.10-minimal* uranium-plugins*
0 upgraded, 0 newly installed, 11 to remove and 0 not upgraded.
After this operation, 209 MB disk space will be freed.
Do you want to continue? [Y/n] n
Abort.

#1001751#10
Date:
2024-04-19 14:35:47 UTC
From:
To:
I've just got a problem which may be related:

python3-dbg is keeping the following 3 packages installed:
  libpython3-dbg libpython3.11t64-dbg python3.11-dbg
Keep python3-dbg? [Ynpsiuqx?], [H]elp: N
Keep libpython3-dbg? [Ynpsiuqx?], [H]elp: N

python3.11-dbg is keeping the following 1 packages installed:
  libpython3.11t64-dbg
Keep python3.11-dbg? [Ynpsiuqx?], [H]elp: N
Keep libpython3.11t64-dbg? [Ynpsiuqx?], [H]elp: N
The following packages will be REMOVED:
  cython3* libpython3-dbg* libpython3.11t64-dbg* python3-dbg* python3.11-dbg*

So it doesn't "see" cython3 which depends on python3-dbg:any. Can it be a
problem with handling :any deps? debfoster -v prints a lot of noise
regarding them. #910682 may be related too.