Skip to content

installation log

flipchan edited this page Oct 2, 2016 · 2 revisions

logfile of when i runed the debian installer on a fresh debian 8 box i got a pip error which i solved by downloading cffi 1.7.0 documented here: https://github.com/flipchan/LayerProx/blob/master/documentation/install/problems_and_fixes.md root@localhost:~/LayerProx# ./debian_installer

Debian installer works on kali linux aswell ^^

installing packages Reading package lists... Done Building dependency tree
Reading state information... Done curl is already the newest version. libcurl4-openssl-dev is already the newest version. git is already the newest version. libgmp-dev is already the newest version. libffi-dev is already the newest version. libsodium-dev is already the newest version. libssl-dev is already the newest version. libpth-dev is already the newest version. python-cffi is already the newest version. python-dev is already the newest version. python-pip is already the newest version. The following NEW packages will be installed: python-gnupg 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 14.7 kB of archives. After this operation, 92.2 kB of additional disk space will be used. Do you want to continue? [Y/n] Y Get:1 http://http.us.debian.org/debian/ stable/main python-gnupg all 0.3.6-1 [14.7 kB] Fetched 14.7 kB in 0s (88.5 kB/s)
Selecting previously unselected package python-gnupg. (Reading database ... 42249 files and directories currently installed.) Preparing to unpack .../python-gnupg_0.3.6-1_all.deb ... Unpacking python-gnupg (0.3.6-1) ... Setting up python-gnupg (0.3.6-1) ... update Ign http://http.us.debian.org stable InRelease Err http://non-us.debian.org stable/non-US InRelease

Err http://non-us.debian.org stable/non-US Release.gpg
Could not resolve 'non-us.debian.org' Hit http://http.us.debian.org stable Release.gpg Hit http://security.debian.org squeeze/updates InRelease Hit http://http.us.debian.org stable Release Hit http://security.debian.org squeeze/updates/main Sources Hit http://security.debian.org squeeze/updates/main amd64 Packages Hit http://http.us.debian.org stable/main amd64 Packages
Hit http://http.us.debian.org stable/contrib amd64 Packages
Hit http://http.us.debian.org stable/non-free amd64 Packages Hit http://http.us.debian.org stable/contrib Translation-en
Hit http://http.us.debian.org stable/main Translation-en
Ign http://security.debian.org squeeze/updates/main Translation-en_US Hit http://http.us.debian.org stable/non-free Translation-en Ign http://security.debian.org squeeze/updates/main Translation-en Reading package lists... Done
W: Failed to fetch http://non-us.debian.org/debian-non-US/dists/stable/non-US/InRelease

W: Failed to fetch http://non-us.debian.org/debian-non-US/dists/stable/non-US/Release.gpg Could not resolve 'non-us.debian.org'

W: Some index files failed to download. They have been ignored, or old ones used instead. Reading package lists... Done Building dependency tree
Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. python setup Traceback (most recent call last): File "/usr/bin/pip", line 9, in load_entry_point('pip==1.5.6', 'console_scripts', 'pip')() File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 356, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2476, in load_entry_point return ep.load() File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2190, in load ['name']) File "/usr/lib/python2.7/dist-packages/pip/init.py", line 74, in from pip.vcs import git, mercurial, subversion, bazaar # noqa File "/usr/lib/python2.7/dist-packages/pip/vcs/mercurial.py", line 9, in from pip.download import path_to_url File "/usr/lib/python2.7/dist-packages/pip/download.py", line 22, in import requests, six File "/usr/lib/python2.7/dist-packages/requests/init.py", line 68, in _attach_namespace(urllib3, 'requests.packages') File "/usr/lib/python2.7/dist-packages/requests/init.py", line 63, in _attach_namespace module = import(name) File "/usr/lib/python2.7/dist-packages/urllib3/contrib/pyopenssl.py", line 55, in import OpenSSL.SSL File "/usr/lib/python2.7/dist-packages/OpenSSL/init.py", line 8, in from OpenSSL import rand, crypto, SSL File "/usr/lib/python2.7/dist-packages/OpenSSL/rand.py", line 11, in from OpenSSL._util import ( File "/usr/lib/python2.7/dist-packages/OpenSSL/_util.py", line 4, in binding = Binding() File "/usr/lib/python2.7/dist-packages/cryptography/hazmat/bindings/openssl/binding.py", line 89, in init self._ensure_ffi_initialized() File "/usr/lib/python2.7/dist-packages/cryptography/hazmat/bindings/openssl/binding.py", line 113, in _ensure_ffi_initialized libraries=libraries, File "/usr/lib/python2.7/dist-packages/cryptography/hazmat/bindings/utils.py", line 80, in build_ffi extra_link_args=extra_link_args, File "/usr/local/lib/python2.7/dist-packages/cffi-1.8.3-py2.7-linux-x86_64.egg/cffi/api.py", line 437, in verify lib = self.verifier.load_library() File "/usr/local/lib/python2.7/dist-packages/cffi-1.8.3-py2.7-linux-x86_64.egg/cffi/verifier.py", line 114, in load_library return self._load_library() File "/usr/local/lib/python2.7/dist-packages/cffi-1.8.3-py2.7-linux-x86_64.egg/cffi/verifier.py", line 225, in _load_library return self._vengine.load_library() File "/usr/local/lib/python2.7/dist-packages/cffi-1.8.3-py2.7-linux-x86_64.egg/cffi/vengine_cpy.py", line 174, in load_library lst = list(map(self.ffi._get_cached_btype, lst)) File "/usr/local/lib/python2.7/dist-packages/cffi-1.8.3-py2.7-linux-x86_64.egg/cffi/api.py", line 409, in _get_cached_btype BType = type.get_cached_btype(self, finishlist) File "/usr/local/lib/python2.7/dist-packages/cffi-1.8.3-py2.7-linux-x86_64.egg/cffi/model.py", line 61, in get_cached_btype BType = self.build_backend_type(ffi, finishlist) File "/usr/local/lib/python2.7/dist-packages/cffi-1.8.3-py2.7-linux-x86_64.egg/cffi/model.py", line 507, in build_backend_type base_btype = self.build_baseinttype(ffi, finishlist) File "/usr/local/lib/python2.7/dist-packages/cffi-1.8.3-py2.7-linux-x86_64.egg/cffi/model.py", line 525, in build_baseinttype % self._get_c_name()) cffi.api.CDefError: 'point_conversion_form_t' has no values explicitly defined: refusing to guess which integer type it is meant to be (unsigned/signed, int/long) /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'console' warnings.warn(msg) /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'zipfile' warnings.warn(msg) running build running build_py running egg_info writing requirements to marionette_tg.egg-info/requires.txt writing marionette_tg.egg-info/PKG-INFO writing top-level names to marionette_tg.egg-info/top_level.txt writing dependency_links to marionette_tg.egg-info/dependency_links.txt reading manifest file 'marionette_tg.egg-info/SOURCES.txt' writing manifest file 'marionette_tg.egg-info/SOURCES.txt' running build_scripts /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'console' warnings.warn(msg) /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'zipfile' warnings.warn(msg) running install running bdist_egg running egg_info writing requirements to marionette_tg.egg-info/requires.txt writing marionette_tg.egg-info/PKG-INFO writing top-level names to marionette_tg.egg-info/top_level.txt writing dependency_links to marionette_tg.egg-info/dependency_links.txt reading manifest file 'marionette_tg.egg-info/SOURCES.txt' writing manifest file 'marionette_tg.egg-info/SOURCES.txt' installing library code to build/bdist.linux-x86_64/egg running install_lib running build_py creating build/bdist.linux-x86_64/egg creating build/bdist.linux-x86_64/egg/marionette_tg copying build/lib.linux-x86_64-2.7/marionette_tg/conf.py -> build/bdist.linux-x86_64/egg/marionette_tg copying build/lib.linux-x86_64-2.7/marionette_tg/dsl.py -> build/bdist.linux-x86_64/egg/marionette_tg copying build/lib.linux-x86_64-2.7/marionette_tg/dsl_tests.py -> build/bdist.linux-x86_64/egg/marionette_tg copying build/lib.linux-x86_64-2.7/marionette_tg/client.py -> build/bdist.linux-x86_64/egg/marionette_tg copying build/lib.linux-x86_64-2.7/marionette_tg/multiplexer.py -> build/bdist.linux-x86_64/egg/marionette_tg creating build/bdist.linux-x86_64/egg/marionette_tg/executables copying build/lib.linux-x86_64-2.7/marionette_tg/executables/init.py -> build/bdist.linux-x86_64/egg/marionette_tg/executables copying build/lib.linux-x86_64-2.7/marionette_tg/executables/pioa.py -> build/bdist.linux-x86_64/egg/marionette_tg/executables copying build/lib.linux-x86_64-2.7/marionette_tg/cli_tests.py -> build/bdist.linux-x86_64/egg/marionette_tg copying build/lib.linux-x86_64-2.7/marionette_tg/action.py -> build/bdist.linux-x86_64/egg/marionette_tg copying build/lib.linux-x86_64-2.7/marionette_tg/init.py -> build/bdist.linux-x86_64/egg/marionette_tg copying build/lib.linux-x86_64-2.7/marionette_tg/marionette.conf -> build/bdist.linux-x86_64/egg/marionette_tg copying build/lib.linux-x86_64-2.7/marionette_tg/executable.py -> build/bdist.linux-x86_64/egg/marionette_tg copying build/lib.linux-x86_64-2.7/marionette_tg/server.py -> build/bdist.linux-x86_64/egg/marionette_tg copying build/lib.linux-x86_64-2.7/marionette_tg/driver.py -> build/bdist.linux-x86_64/egg/marionette_tg copying build/lib.linux-x86_64-2.7/marionette_tg/exceptions.py -> build/bdist.linux-x86_64/egg/marionette_tg creating build/bdist.linux-x86_64/egg/marionette_tg/plugins copying build/lib.linux-x86_64-2.7/marionette_tg/plugins/_io.py -> build/bdist.linux-x86_64/egg/marionette_tg/plugins copying build/lib.linux-x86_64-2.7/marionette_tg/plugins/init.py -> build/bdist.linux-x86_64/egg/marionette_tg/plugins copying build/lib.linux-x86_64-2.7/marionette_tg/plugins/_channel.py -> build/bdist.linux-x86_64/egg/marionette_tg/plugins copying build/lib.linux-x86_64-2.7/marionette_tg/plugins/_model.py -> build/bdist.linux-x86_64/egg/marionette_tg/plugins copying build/lib.linux-x86_64-2.7/marionette_tg/plugins/_fte.py -> build/bdist.linux-x86_64/egg/marionette_tg/plugins copying build/lib.linux-x86_64-2.7/marionette_tg/plugins/_tg.py -> build/bdist.linux-x86_64/egg/marionette_tg/plugins copying build/lib.linux-x86_64-2.7/marionette_tg/probe_tests.py -> build/bdist.linux-x86_64/egg/marionette_tg copying build/lib.linux-x86_64-2.7/marionette_tg/record_layer.py -> build/bdist.linux-x86_64/egg/marionette_tg copying build/lib.linux-x86_64-2.7/marionette_tg/record_layer_tests.py -> build/bdist.linux-x86_64/egg/marionette_tg creating build/bdist.linux-x86_64/egg/marionette_tg/formats copying build/lib.linux-x86_64-2.7/marionette_tg/formats/init.py -> build/bdist.linux-x86_64/egg/marionette_tg/formats copying build/lib.linux-x86_64-2.7/marionette_tg/model_swapping_tests.py -> build/bdist.linux-x86_64/egg/marionette_tg copying build/lib.linux-x86_64-2.7/marionette_tg/updater.py -> build/bdist.linux-x86_64/egg/marionette_tg copying build/lib.linux-x86_64-2.7/marionette_tg/channel.py -> build/bdist.linux-x86_64/egg/marionette_tg copying build/lib.linux-x86_64-2.7/marionette_tg/channel_test.py -> build/bdist.linux-x86_64/egg/marionette_tg byte-compiling build/bdist.linux-x86_64/egg/marionette_tg/conf.py to conf.pyc byte-compiling build/bdist.linux-x86_64/egg/marionette_tg/dsl.py to dsl.pyc byte-compiling build/bdist.linux-x86_64/egg/marionette_tg/dsl_tests.py to dsl_tests.pyc byte-compiling build/bdist.linux-x86_64/egg/marionette_tg/client.py to client.pyc byte-compiling build/bdist.linux-x86_64/egg/marionette_tg/multiplexer.py to multiplexer.pyc byte-compiling build/bdist.linux-x86_64/egg/marionette_tg/executables/init.py to init.pyc byte-compiling build/bdist.linux-x86_64/egg/marionette_tg/executables/pioa.py to pioa.pyc byte-compiling build/bdist.linux-x86_64/egg/marionette_tg/cli_tests.py to cli_tests.pyc byte-compiling build/bdist.linux-x86_64/egg/marionette_tg/action.py to action.pyc byte-compiling build/bdist.linux-x86_64/egg/marionette_tg/init.py to init.pyc byte-compiling build/bdist.linux-x86_64/egg/marionette_tg/executable.py to executable.pyc byte-compiling build/bdist.linux-x86_64/egg/marionette_tg/server.py to server.pyc byte-compiling build/bdist.linux-x86_64/egg/marionette_tg/driver.py to driver.pyc byte-compiling build/bdist.linux-x86_64/egg/marionette_tg/exceptions.py to exceptions.pyc byte-compiling build/bdist.linux-x86_64/egg/marionette_tg/plugins/_io.py to _io.pyc byte-compiling build/bdist.linux-x86_64/egg/marionette_tg/plugins/init.py to init.pyc byte-compiling build/bdist.linux-x86_64/egg/marionette_tg/plugins/_channel.py to _channel.pyc byte-compiling build/bdist.linux-x86_64/egg/marionette_tg/plugins/_model.py to _model.pyc byte-compiling build/bdist.linux-x86_64/egg/marionette_tg/plugins/_fte.py to _fte.pyc

byte-compiling build/bdist.linux-x86_64/egg/marionette_tg/plugins/_tg.py to _tg.pyc byte-compiling build/bdist.linux-x86_64/egg/marionette_tg/probe_tests.py to probe_tests.pyc byte-compiling build/bdist.linux-x86_64/egg/marionette_tg/record_layer.py to record_layer.pyc byte-compiling build/bdist.linux-x86_64/egg/marionette_tg/record_layer_tests.py to record_layer_tests.pyc byte-compiling build/bdist.linux-x86_64/egg/marionette_tg/formats/init.py to init.pyc byte-compiling build/bdist.linux-x86_64/egg/marionette_tg/model_swapping_tests.py to model_swapping_tests.pyc byte-compiling build/bdist.linux-x86_64/egg/marionette_tg/updater.py to updater.pyc byte-compiling build/bdist.linux-x86_64/egg/marionette_tg/channel.py to channel.pyc byte-compiling build/bdist.linux-x86_64/egg/marionette_tg/channel_test.py to channel_test.pyc creating build/bdist.linux-x86_64/egg/EGG-INFO installing scripts to build/bdist.linux-x86_64/egg/EGG-INFO/scripts running install_scripts running build_scripts creating build/bdist.linux-x86_64/egg/EGG-INFO/scripts copying build/scripts-2.7/marionette_server -> build/bdist.linux-x86_64/egg/EGG-INFO/scripts copying build/scripts-2.7/marionette_client -> build/bdist.linux-x86_64/egg/EGG-INFO/scripts changing mode of build/bdist.linux-x86_64/egg/EGG-INFO/scripts/marionette_server to 755 changing mode of build/bdist.linux-x86_64/egg/EGG-INFO/scripts/marionette_client to 755 copying marionette_tg.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO copying marionette_tg.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying marionette_tg.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying marionette_tg.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying marionette_tg.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO zip_safe flag not set; analyzing archive contents... marionette_tg.dsl: module references file marionette_tg.conf: module references file creating 'dist/marionette_tg-0.0.3-py2.7.egg' and adding 'build/bdist.linux-x86_64/egg' to it removing 'build/bdist.linux-x86_64/egg' (and everything under it) Processing marionette_tg-0.0.3-py2.7.egg removing '/usr/local/lib/python2.7/dist-packages/marionette_tg-0.0.3-py2.7.egg' (and everything under it) creating /usr/local/lib/python2.7/dist-packages/marionette_tg-0.0.3-py2.7.egg

marionette-tg 0.0.3 is already the active version in easy-install.pth Installing marionette_server script to /usr/local/bin Installing marionette_client script to /usr/local/bin

Installed /usr/local/lib/python2.7/dist-packages/marionette_tg-0.0.3-py2.7.egg Processing dependencies for marionette-tg==0.0.3 Searching for pycurl==7.43.0 Best match: pycurl 7.43.0 Processing pycurl-7.43.0-py2.7-linux-x86_64.egg pycurl 7.43.0 is already the active version in easy-install.pth

Using /usr/local/lib/python2.7/dist-packages/pycurl-7.43.0-py2.7-linux-x86_64.egg Searching for ply==3.4 Best match: ply 3.4 ply 3.4 is already the active version in easy-install.pth

Using /usr/lib/python2.7/dist-packages Searching for regex2dfa==0.1.9 Best match: regex2dfa 0.1.9 Processing regex2dfa-0.1.9-py2.7-linux-x86_64.egg regex2dfa 0.1.9 is already the active version in easy-install.pth

Using /usr/local/lib/python2.7/dist-packages/regex2dfa-0.1.9-py2.7-linux-x86_64.egg Searching for fte==0.1.3 Best match: fte 0.1.3 Processing fte-0.1.3-py2.7-linux-x86_64.egg fte 0.1.3 is already the active version in easy-install.pth

Using /usr/local/lib/python2.7/dist-packages/fte-0.1.3-py2.7-linux-x86_64.egg Searching for gnupg==2.0.2 Best match: gnupg 2.0.2 Processing gnupg-2.0.2-py2.7.egg gnupg 2.0.2 is already the active version in easy-install.pth Installing versioneer.py script to /usr/local/bin

Using /usr/local/lib/python2.7/dist-packages/gnupg-2.0.2-py2.7.egg Searching for scrypt==0.8.0 Best match: scrypt 0.8.0 Processing scrypt-0.8.0-py2.7-linux-x86_64.egg scrypt 0.8.0 is already the active version in easy-install.pth

Using /usr/local/lib/python2.7/dist-packages/scrypt-0.8.0-py2.7-linux-x86_64.egg Searching for Twisted==16.4.1 Best match: Twisted 16.4.1 Processing Twisted-16.4.1-py2.7-linux-x86_64.egg Twisted 16.4.1 is already the active version in easy-install.pth Installing trial script to /usr/local/bin Installing conch script to /usr/local/bin Installing ckeygen script to /usr/local/bin Installing twist script to /usr/local/bin Installing pyhtmlizer script to /usr/local/bin Installing mailmail script to /usr/local/bin Installing tkconch script to /usr/local/bin Installing twistd script to /usr/local/bin Installing cftp script to /usr/local/bin

Using /usr/local/lib/python2.7/dist-packages/Twisted-16.4.1-py2.7-linux-x86_64.egg Searching for importlib==1.0.4 Best match: importlib 1.0.4 Processing importlib-1.0.4-py2.7.egg importlib 1.0.4 is already the active version in easy-install.pth

Using /usr/local/lib/python2.7/dist-packages/importlib-1.0.4-py2.7.egg Searching for cffi==1.8.3 Best match: cffi 1.8.3 Processing cffi-1.8.3-py2.7-linux-x86_64.egg Removing cffi 0.8.6 from easy-install.pth file cffi 1.8.3 is already the active version in easy-install.pth

Using /usr/local/lib/python2.7/dist-packages/cffi-1.8.3-py2.7-linux-x86_64.egg Searching for pycrypto==2.6.1 Best match: pycrypto 2.6.1 Processing pycrypto-2.6.1-py2.7-linux-x86_64.egg pycrypto 2.6.1 is already the active version in easy-install.pth

Using /usr/local/lib/python2.7/dist-packages/pycrypto-2.6.1-py2.7-linux-x86_64.egg Searching for psutil==4.3.1 Best match: psutil 4.3.1 Processing psutil-4.3.1-py2.7-linux-x86_64.egg psutil 4.3.1 is already the active version in easy-install.pth

Using /usr/local/lib/python2.7/dist-packages/psutil-4.3.1-py2.7-linux-x86_64.egg Searching for zope.interface==4.3.2 Best match: zope.interface 4.3.2 Processing zope.interface-4.3.2-py2.7-linux-x86_64.egg zope.interface 4.3.2 is already the active version in easy-install.pth

Using /usr/local/lib/python2.7/dist-packages/zope.interface-4.3.2-py2.7-linux-x86_64.egg Searching for pycparser==2.10 Best match: pycparser 2.10 Adding pycparser 2.10 to easy-install.pth file

Using /usr/lib/python2.7/dist-packages Searching for setuptools==5.5.1 Best match: setuptools 5.5.1 setuptools 5.5.1 is already the active version in easy-install.pth Installing easy_install script to /usr/local/bin Installing easy_install-2.7 script to /usr/local/bin

Using /usr/lib/python2.7/dist-packages Finished processing dependencies for marionette-tg==0.0.3 now you just have to configure it :)

Clone this wiki locally