[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



Control: reassign -1 binwalk

On Wed, Jan 06, 2016 at 10:47:00PM +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.
> I did the follow on a clean sid chroot:
> apt-get install binwalk --no-install-recommends
> vlc is picked up.
> I did 
> 
> apt-get install libmagic1 python-lzma python-lzo python-matplotlib python-numpy python-opengl python-pyqtgraph python-qt4 python-qt4-gl python-scipy
> 
> vlc isn't picked up
> after I did apt-get install binwalk --no-install-recommends.
> binwalk has been installed without vlc.
> 
> So seems something strange in apt resolver is giving you this bug, not binwalk
> 
> BTW when you install binwalk, it drags vlc, and if you remove vlc it does print:
> 
> apt-get remove vlc
> Reading package lists... Done
> Building dependency tree 
> Reading state information... Done
> The following packages will be REMOVED:
> phonon phonon-backend-vlc python-pyside python-pyside.phonon vlc
> 

$ aptitude why binwalk vlc
p   binwalk              Depends python-pyqtgraph                   
p   python-pyqtgraph     Depends python-pyside | python-qt4         
p   python-pyside        Depends python-pyside.phonon (>= 1.2.2-2)  
p   python-pyside.phonon Depends phonon                             
p   phonon               Depends phonon-backend-vlc | phonon-backend
p   phonon-backend-vlc   Depends vlc                

Because python-pyqtgraph prefers python-pyside over python-qt4 and
binwalk wants python-qt4, both are installed and python-pyside.phonon
depends on phonon and that on vlc.

So, please people, figure out if you prefer python-qt4 or python-pyside
and use the same order of alternatives on *all* packages.

Thank you.

-- 
Julian Andres Klode  - Debian Developer, Ubuntu Member

See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.

When replying, only quote what is necessary, and write each reply
directly below the part(s) it pertains to (`inline'). Thank you.


Reply to: