Package: apt-p2p
Version: 0.1.6
Severity: important
File: /usr/sbin/apt-p2p
Starting apt-p2p
/usr/lib/pymodules/python2.6/apt_p2p_Khashmir/DHT.py:8: DeprecationWarning: the
sha module is deprecated; use the hashlib module instead
import os, sha, random
Unhandled Error
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/twisted/application/app.py", line 622,
in run
runApp(config)
File "/usr/lib/python2.6/dist-packages/twisted/scripts/twistd.py", line 23,
in runApp
_SomeApplicationRunner(config).run()
File "/usr/lib/python2.6/dist-packages/twisted/application/app.py", line 376,
in run
self.application = self.createOrGetApplication()
File "/usr/lib/python2.6/dist-packages/twisted/application/app.py", line 441,
in createOrGetApplication
application = getApplication(self.config, passphrase)
--- <exception caught here> ---
File "/usr/lib/python2.6/dist-packages/twisted/application/app.py", line 452,
in getApplication
application = service.loadApplication(filename, style, passphrase)
File "/usr/lib/python2.6/dist-packages/twisted/application/service.py", line
400, in loadApplication
application = sob.loadValueFromFile(filename, 'application', passphrase)
File "/usr/lib/python2.6/dist-packages/twisted/persisted/sob.py", line 210,
in loadValueFromFile
exec fileObj in d, d
File "/usr/sbin/apt-p2p", line 73, in <module>
from apt_p2p.apt_p2p import AptP2P
File "/usr/lib/pymodules/python2.6/apt_p2p/apt_p2p.py", line 19, in <module>
from MirrorManager import MirrorManager
File "/usr/lib/pymodules/python2.6/apt_p2p/MirrorManager.py", line 16, in
<module>
from AptPackages import AptPackages
File "/usr/lib/pymodules/python2.6/apt_p2p/AptPackages.py", line 40, in
<module>
from apt import OpProgress
exceptions.ImportError: cannot import name OpProgress
Failed to load application: cannot import name OpProgress
-----------
If I install "python-debian" to version "0.7.100.1+squeeze", this solves the
problem
----------
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (990, 'unstable'), (980, 'stable-updates'), (980, 'testing'),
(970, 'stable'), (90, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.0.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages apt-p2p depends on:
ii adduser 3.113 add and remove users and groups
ii python 2.6.7-2 interactive high-level object-orie
ii python-apt 0.8.0 Python interface to libapt-pkg
ii python-debian 0.1.20 Python modules to work with Debian
ii python-pysqlite2 2.6.3-2 Python interface to SQLite 3
ii python-support 1.0.14 automated rebuilding support for P
ii python-twisted-web2 8.1.0-3 An HTTP/1.1 Server Framework
apt-p2p recommends no packages.
apt-p2p suggests no packages.
-- Configuration Files:
/etc/init.d/apt-p2p changed [not included]
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]