Skip to content

Ubuntu trusty+utopic bitmask package should depend on python-twisted

otherwise, it won't start:


--- ~ » bitmask
Traceback (most recent call last):
  File "/usr/bin/bitmask", line 5, in 
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2876, in 
    working_set = WorkingSet._build_master()
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 449, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 745, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 639, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: twisted


--- ~ » dpkg -l|grep twisted
ii  python-twisted-bin                          14.0.2-1ubuntu1                                     amd64        Event-based framework for internet applications
ii  python-twisted-core                         14.0.2-1ubuntu1                                     all          Event-based framework for internet applications
ii  python-twisted-mail                         14.0.2-1ubuntu1                                     all          SMTP, IMAP and POP protocol implementation
ii  python-twisted-names                        14.0.2-1ubuntu1                                     all          DNS protocol implementation with client and server
ii  python-twisted-web                          14.0.2-1ubuntu1                                     all          HTTP protocol implementation together with clients and servers

--- ~ » sudo apt-get install python-twisted
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  python-twisted-conch python-twisted-lore python-twisted-news python-twisted-runner python-twisted-words
Suggested packages:
  python-twisted-runner-dbg
The following NEW packages will be installed:
  python-twisted python-twisted-conch python-twisted-lore python-twisted-news python-twisted-runner python-twisted-words
0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
Need to get 527 kB of archives.
After this operation, 3,294 kB of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 http://archive.ubuntu.com/ubuntu/ utopic/main python-twisted-lore all 14.0.2-1ubuntu1 [67.7 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ utopic/main python-twisted-news all 14.0.2-1ubuntu1 [22.7 kB]
Get:3 http://archive.ubuntu.com/ubuntu/ utopic/main python-twisted-runner amd64 14.0.2-1ubuntu1 [18.4 kB]
Get:4 http://archive.ubuntu.com/ubuntu/ utopic/main python-twisted-words all 14.0.2-1ubuntu1 [178 kB]
Get:5 http://archive.ubuntu.com/ubuntu/ utopic/main python-twisted-conch all 1:14.0.2-1ubuntu1 [235 kB]
Get:6 http://archive.ubuntu.com/ubuntu/ utopic/main python-twisted all 14.0.2-1ubuntu1 [4,082 B]
Fetched 527 kB in 0s (688 kB/s)            
Selecting previously unselected package python-twisted-lore.
(Reading database ... 324461 files and directories currently installed.)
Preparing to unpack .../python-twisted-lore_14.0.2-1ubuntu1_all.deb ...
Unpacking python-twisted-lore (14.0.2-1ubuntu1) ...
Selecting previously unselected package python-twisted-news.
Preparing to unpack .../python-twisted-news_14.0.2-1ubuntu1_all.deb ...
Unpacking python-twisted-news (14.0.2-1ubuntu1) ...
Selecting previously unselected package python-twisted-runner.
Preparing to unpack .../python-twisted-runner_14.0.2-1ubuntu1_amd64.deb ...
Unpacking python-twisted-runner (14.0.2-1ubuntu1) ...
Selecting previously unselected package python-twisted-words.
Preparing to unpack .../python-twisted-words_14.0.2-1ubuntu1_all.deb ...
Unpacking python-twisted-words (14.0.2-1ubuntu1) ...
Selecting previously unselected package python-twisted-conch.
Preparing to unpack .../python-twisted-conch_1%3a14.0.2-1ubuntu1_all.deb ...
Unpacking python-twisted-conch (1:14.0.2-1ubuntu1) ...
Selecting previously unselected package python-twisted.
Preparing to unpack .../python-twisted_14.0.2-1ubuntu1_all.deb ...
Unpacking python-twisted (14.0.2-1ubuntu1) ...
Processing triggers for man-db (2.7.0.2-2) ...
Setting up python-twisted-lore (14.0.2-1ubuntu1) ...
Setting up python-twisted-news (14.0.2-1ubuntu1) ...
Setting up python-twisted-runner (14.0.2-1ubuntu1) ...
Setting up python-twisted-words (14.0.2-1ubuntu1) ...
Setting up python-twisted-conch (1:14.0.2-1ubuntu1) ...
Setting up python-twisted (14.0.2-1ubuntu1) ...

--- ~ » bitmask
bitmask-root: done
…
--- /etc/apt » dpkg -l bitmask                                                                                                                   1 ↵
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                            Version              Architecture         Description
+++-===============================-====================-====================-===================================================================
ii  bitmask                         0.7.0.1+0~2014122607 all                  Provides the desktop client for the LEAP Encryption Access Project 


--- ~ » 
--- ~ » apt-cache policy bitmask            
bitmask:
  Installed: 0.7.0.1+0~20141226071510.116+utopic~1.gbp77b576
  Candidate: 0.7.0.1+0~20141226071510.116+utopic~1.gbp77b576
  Version table:
 *** 0.7.0.1+0~20141226071510.116+utopic~1.gbp77b576 0
       1000 http://deb.bitmask.net/debian/ utopic/main amd64 Packages
        100 /var/lib/dpkg/status

--- ~ » apt-cache show bitmask |grep Depends
Depends: python-psutil, python:any (<< 2.8), python-srp, python-openssl, python-zope.proxy, soledad-client (>= 0.6.0), leap-keymanager, leap-mail (>= 0.3.9), python-keyring (>= 0.9.2), python:any (>= 2.7.5-5~), python-dateutil, python-ipaddr, python-leap-common (>= 0.3.7), python-requests (>= 1.2.3-1), python, python-oauth, python-daemon, python2.7, python-zmq (>= 14.4.1-1.1), python-crypto, python-argparse, python-netifaces, python-xdg, python-jsonschema (>= 0.7.0), python-setuptools, openvpn, python-pyside.qtcore, python-pyside.qtgui, python-pyside.qtsvg, python-twisted-core

(from redmine: created on 2015-01-18, closed on 2015-01-20)