schloss / insecurity-demos

A packaged, graphical user interface for demonstrating various digital security threats and mitigations in a training room context.
4 stars 2 forks source link

Python-pip dependencies problematic for Kali? #23

Closed poser closed 10 years ago

poser commented 10 years ago
$ sudo dpkg -i insecurity-demos_2013122700_all.deb 

Selecting previously unselected package insecurity-demos.
(Reading database ... 328185 files and directories currently installed.)
Unpacking insecurity-demos (from insecurity-demos_2013122700_all.deb) ...
dpkg: dependency problems prevent configuration of insecurity-demos:
 insecurity-demos depends on python-pip; however:
  Package python-pip is not installed.

dpkg: error processing insecurity-demos (--install):
 dependency problems - leaving unconfigured
Processing triggers for man-db ...
Errors were encountered while processing:
 insecurity-demos
$ sudo apt-get -u install python-pip

Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 python-pip : Depends: python-setuptools (>= 0.6c1) but it is not going to be installed
              Recommends: python-dev-all (>= 2.6) but it is not installable
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
$ insecdem 

Traceback (most recent call last):
  File "/usr/share/insecuritydemos/insecdem.py", line 12, in <module>
    from wireless_demo_set import WirelessDemoSet
  File "/usr/share/insecuritydemos/wireless_demo_set.py", line 4, in <module>
    from ObjectListView import ObjectListView, ColumnDefn
ImportError: No module named ObjectListView

After removing and reinstalling, however, everything works fine.

poser commented 10 years ago

Unable to reproduce

joncamfield commented 10 years ago

I came across a similar hiccup in Ubuntu (14.04) - dkpg handling on the postinstall script tripped over the pip install ObjectListView component

I had to add both --allow-external ObjectListView and --allow-unverified ObjectListView (which I wasn't as happy about)

to the pip command (I ran it manually) to get apt to be happy with the installation.