this patch resolv this bug please check the impact on another version of Debian
thanks Tathar
diff --git a/apt_p2p/AptPackages.py b/apt_p2p/AptPackages.py index ac966a9..556db51 100644 --- a/apt_p2p/AptPackages.py +++ b/apt_p2p/AptPackages.py @@ -37,7 +37,7 @@ from twisted.python.filepath import FilePath from twisted.trial import unittest import apt_pkg, apt_inst -from apt import OpProgress +from apt.progress.old import OpProgress from debian import deb822 from apt_p2p_conf import config