rjocoleman / docker-binwalk

Binwalk in a Docker image
10 stars 6 forks source link

Broken #2

Open brainstorm opened 5 years ago

brainstorm commented 5 years ago
$ make build
(...)
byte-compiling /usr/local/lib/python2.7/dist-packages/binwalk/core/exceptions.py to exceptions.pyc
byte-compiling /usr/local/lib/python2.7/dist-packages/binwalk/__init__.py to __init__.pyc
running install_scripts
copying build/scripts-2.7/binwalk -> /usr/local/bin
changing mode of /usr/local/bin/binwalk to 755
running install_egg_info
Writing /usr/local/lib/python2.7/dist-packages/binwalk-2.1.2_d175ec8.egg-info

WARNING: This script will download and install all required and optional dependencies for binwalk.
         This script has only been tested on, and is only intended for, Debian based systems.
         Some dependencies are downloaded via unsecure (HTTP) protocols.
         This script requires internet access.
         This script requires root privileges.

         Ubuntu Ub detected

Continue [y/N]? checking for wget...yes
checking for tar...yes
checking for python...yes
checking for apt...yes

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

checking for python3...no

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package cramfsprogs
Package installation failed: git build-essential libqt4-opengl mtd-utils gzip bzip2 tar arj lhasa p7zip p7zip-full cabextract cramfsprogs cramfsswap squashfs-tools zlib1g-dev liblzma-dev liblzo2-dev sleuthkit default-jdk lzop srecord cpio python-crypto python-lzo python-lzma python-pip python-tk
The command '/bin/sh -c git clone https://github.com/devttys0/binwalk.git /binwalk;  cd /binwalk;  python setup.py install;  yes | ./deps.sh;' returned a non-zero code: 1
make: *** [build] Error 1
rjocoleman commented 5 years ago

This repo is 3 years old - I suspect ubuntu latest docker tag is significantly different from when I put it together - the installed deps will need to change - your log says something about python3.

I no longer use this but PRs are welcome