Bug#810140: binwalk: unnecessary(?) deps make binwalk useless on minimal systems

Nick Phillips nick.phillips at otago.ac.nz
Wed Jan 6 22:56:50 UTC 2016


Control: reassign -1 binwalk

On Wed, 2016-01-06 at 22:47 +0000, Gianfranco Costamagna wrote:
> Control: reassign -1 apt
> 
> Hi Nick and apt people,
> 
> I see in binwalk control file:
> 
> Depends: libmagic1, python-lzma, python-lzo, python-matplotlib,
> python-numpy, python-opengl, python-pyqtgraph, python-qt4, python-qt4
> -gl, python-scipy, ${misc:Depends}, ${python:Depends}
> Recommends: arj, bzip2, cramfsprogs, cramfsswap, gzip, mtd-utils,
> ncompress, p7zip, p7zip-full, sleuthkit, squashfs-tools, tar
> 
> 
> So I think we already have something minimal as depends.
> 

What I am reporting is not a bug in apt at all. If you've seen one,
it's a separate issue.

Why depend on python-matplotlib, python-numpy, python-opengl, python
-pyqtgraph, python-qt4, python-qt4-gl, python-scipy?

One issue is python-pyqtgraph depending on python-pyside | python-qt4
Since binwalk already depends on python-qt4, we get both.

python-pyside brings in python-pyside.phonon, which brings in phonon,
which by default brings in phonon-backend-vlc, which brings in vlc etc.
etc.

Getting rid of python-pyside manually gets rid of a heap of the
unnecessary stuff. But given that the graphical stuff is not apparently
required by binwalk for its core functionality, and does cause massive
dep bloat, why depend on any of it?


Cheers,


Nick

-- 
Nick Phillips / nick.phillips at otago.ac.nz / 03 479 4195
# These statements are mine, not those of the University of Otago



More information about the debian-science-maintainers mailing list