Public bug reported:
1) $ lsb_release -rd
Description: Ubuntu 11.04
Release: 11.04
2) $ apt-cache policy tahoe-lafs
tahoe-lafs:
Installed: 1.8.2-0ubuntu1.1
Candidate: 1.8.2-0ubuntu1.1
Version table:
*** 1.8.2-0ubuntu1.1 0
500 http://be.archive.ubuntu.com/ubuntu/ natty-updates/universe amd64
Packages
500 http://security.ubuntu.com/ubuntu/ natty-security/universe amd64
Packages
100 /var/lib/dpkg/status
1.8.2-0ubuntu1 0
500 http://be.archive.ubuntu.com/ubuntu/ natty/universe amd64 Packages
3-4) the following command should create a client, instead it complains
about the version of python-pycryptopp
$ tahoe create-client
Traceback (most recent call last):
File "/usr/bin/tahoe", line 9, in <module>
load_entry_point('allmydata-tahoe==1.8.2', 'console_scripts', 'tahoe')()
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 305, in
load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2244, in
load_entry_point
return ep.load()
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1954, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
File "/usr/lib/pymodules/python2.7/allmydata/__init__.py", line 369, in
<module>
check_all_requirements()
File "/usr/lib/pymodules/python2.7/allmydata/__init__.py", line 367, in
check_all_requirements
raise PackagingError(get_error_string(errors, debug=True))
allmydata.PackagingError:
PackagingError: We require pycryptopp >= 0.5.20, but could only find version
0.5.17.
The version we found is from '/usr/lib/pymodules/python2.7'.
To resolve this problem, uninstall that version, either using your
operating system's package manager or by moving aside the directory.
For debugging purposes, the PYTHONPATH was
None
install_requires was
['setuptools >= 0.6c6', 'zfec >= 1.1.0', 'simplejson >= 1.4',
'zope.interface', 'Twisted >= 2.4.0', 'foolscap[secure_connections] >= 0.6.1',
'Nevow >= 0.6.0', 'pycrypto == 2.0.1, == 2.1.0, >= 2.3', 'pyasn1 >= 0.0.8a',
'mock', 'pycryptopp >= 0.5.20']
sys.path after importing pkg_resources was
/usr/bin:
/usr/lib/python2.7:
/usr/lib/python2.7/plat-linux2:
/usr/lib/python2.7/lib-tk:
/usr/lib/python2.7/lib-old:
/usr/lib/python2.7/lib-dynload:
/usr/local/lib/python2.7/dist-packages:
/usr/lib/python2.7/dist-packages:
/usr/lib/python2.7/dist-packages/PIL:
/usr/lib/pymodules/python2.7/gtk-2.0:
/usr/lib/python2.7/dist-packages/gtk-2.0:
/usr/lib/pymodules/python2.7:
/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode
The dependecies imposed by the program (see install_requires above) are
different (stricter) than those imposed by the package, as you see here:
$ apt-cache show tahoe-lafs
Package: tahoe-lafs
Priority: optional
Section: universe/utils
Installed-Size: 4932
Maintainer: Ubuntu Developers <[email protected]>
Original-Maintainer: Brian Warner <[email protected]>
Architecture: all
Version: 1.8.2-0ubuntu1
Depends: python (>= 2.5), python-support (>= 0.90.0), python-twisted,
python-foolscap (>= 0.4.1), python-openssl, python-nevow, python-simplejson (>=
1.4), python-zfec (>= 1.1), python-pycryptopp (>= 0.5.14), python-setuptools
Filename: pool/universe/t/tahoe-lafs/tahoe-lafs_1.8.2-0ubuntu1_all.deb
Size: 995110
MD5sum: 9720e948e890279bb4d90ff0455153dc
SHA1: db6a1a2fadd04e1a45506981011f150f28c54b99
SHA256: 6a33d01de68c04ad71bb52f10327b3179dcc6c454686f288949ef9485b4aaaca
Description: Secure distributed filesystem
Tahoe, the Least Authority File System, is a distributed filesystem that
features high reliability, strong security properties, and a fine-grained
sharing model. Files are encrypted, signed, erasure-coded, then distributed
over multiple servers, such that any (configurable) subset of the servers
will be sufficient to recover the data. The default 3-of-10 configuration
tolerates up to 7 server failures before data becomes unrecoverable.
.
Tahoe offers "provider-independent security": the confidentiality and
integrity of your data do not depend upon the behavior of the servers. The
use of erasure-coding means that reliability and availability depend only
upon a subset of the servers.
.
Tahoe files are accessed through a RESTful web API, a human-oriented web
server interface, and CLI tools.
Homepage: http://allmydata.org/trac/tahoe
Python-Version: >= 2.5
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Package: tahoe-lafs
Priority: optional
Section: universe/utils
Installed-Size: 4936
Maintainer: Ubuntu Developers <[email protected]>
Original-Maintainer: Brian Warner <[email protected]>
Architecture: all
Version: 1.8.2-0ubuntu1.1
Depends: python (>= 2.5), python-support (>= 0.90.0), python-twisted,
python-foolscap (>= 0.4.1), python-openssl, python-nevow, python-simplejson (>=
1.4), python-zfec (>= 1.1), python-pycryptopp (>= 0.5.14), python-setuptools
Filename: pool/universe/t/tahoe-lafs/tahoe-lafs_1.8.2-0ubuntu1.1_all.deb
Size: 996508
MD5sum: 32d8bbdada8065ed930e2779722785ba
SHA1: a45da289756b87bfb2e4ac37cccaef11ac70ff2c
SHA256: dec5fe61e7c8609276a74fa63271e80753ea563530c0ac53158bb4f6fa363713
Description: Secure distributed filesystem
Tahoe, the Least Authority File System, is a distributed filesystem that
features high reliability, strong security properties, and a fine-grained
sharing model. Files are encrypted, signed, erasure-coded, then distributed
over multiple servers, such that any (configurable) subset of the servers
will be sufficient to recover the data. The default 3-of-10 configuration
tolerates up to 7 server failures before data becomes unrecoverable.
.
Tahoe offers "provider-independent security": the confidentiality and
integrity of your data do not depend upon the behavior of the servers. The
use of erasure-coding means that reliability and availability depend only
upon a subset of the servers.
.
Tahoe files are accessed through a RESTful web API, a human-oriented web
server interface, and CLI tools.
Homepage: http://allmydata.org/trac/tahoe
Python-Version: >= 2.5
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Here I cutnpaste the different dependencies for clarity:
tahoe-lafs: ['setuptools >= 0.6c6', 'zfec >= 1.1.0', 'simplejson >= 1.4',
'zope.interface', 'Twisted >= 2.4.0', 'foolscap[secure_connections] >= 0.6.1',
'Nevow >= 0.6.0', 'pycrypto == 2.0.1, == 2.1.0, >= 2.3', 'pyasn1 >= 0.0.8a',
'mock', 'pycryptopp >= 0.5.20']
apt-cache: Depends: python (>= 2.5), python-support (>= 0.90.0),
python-twisted, python-foolscap (>= 0.4.1), python-openssl, python-nevow,
python-simplejson (>= 1.4), python-zfec (>= 1.1), python-pycryptopp (>=
0.5.14), python-setuptools
Note: missing dependency on mock is already filed in this bug:
https://bugs.launchpad.net/ubuntu/+source/tahoe-lafs/+bug/782379
maybe the two bugs should be merged
** Affects: tahoe-lafs (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/868491
Title:
tahoe-lafs: package dependencies different from actual dependencies
(python-pycryptopp version)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tahoe-lafs/+bug/868491/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs