I believe this is the same as this Debian bug https://bugs.debian.org /cgi-bin/bugreport.cgi?bug=755342
It should be fixed in the package python-apt - 0.9.3.5ubuntu2 --------------- python-apt (0.9.3.5ubuntu2) trusty-proposed; urgency=medium * Do not only look at Release files, but look at InRelease files as well. Change the code to open Release and InRelease files with apt_pkg.open_maybe_clear_signed_file() which will ignore the signature if it exists. (LP: #1503979) * tests/test_auth.py: update for gnupg 1.4.18 (Closes: #755342) -- Brian Murray <br...@ubuntu.com> Wed, 02 Dec 2015 10:51:58 -0800 ** Bug watch added: Debian Bug tracker #755342 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=755342 ** Also affects: python-apt (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=755342 Importance: Unknown Status: Unknown ** Tags added: trusty ** Changed in: python-apt (Ubuntu) Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to python-apt in Ubuntu. https://bugs.launchpad.net/bugs/1451531 Title: python-apt fails to build with python 2.7.9 in trusty Status in python-apt package in Ubuntu: Fix Released Status in python-apt package in Debian: Unknown Bug description: seen in a test rebuild: https://launchpad.net/ubuntu/+archive/test-rebuild-20150317/+build/7080384 debian/rules override_dh_auto_test make[1]: Entering directory `/build/buildd/python-apt-0.9.3.5' set -e; for python in python2.7 python3.4 ; do \ $python tests/test_all.py -q || [ "linux" = "hurd" ]; \ done; [tests] Running on 2.7.9 (default, Apr 29 2015, 20:22:58) [GCC 4.8.4] Using library_dir: '/build/buildd/python-apt-0.9.3.5/build/lib.linux-x86_64-2.7'====================================================================== FAIL: test_add_key_from_server_mitm (test_auth.TestAuthKeys) Verify that the key fingerprint is verified after download ---------------------------------------------------------------------- Traceback (most recent call last): File "/build/buildd/python-apt-0.9.3.5/tests/test_auth.py", line 216, in test_add_key_from_server_mitm cm.exception) AssertionError: recv from 'hkp://localhost:19191' failed for '0101010178F7FE5C3E65D8AF8B48AD6246925553' ---------------------------------------------------------------------- Ran 88 tests in 15.236s FAILED (failures=1) make[1]: *** [override_dh_auto_test] Error 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/1451531/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp