This bug was fixed in the package apt - 1.7.0~rc2ubuntu1
--------------- apt (1.7.0~rc2ubuntu1) cosmic; urgency=medium
* Fix calculation of elapsed usec in downloads * pkgCacheFile: Only unlock in destructor if locked before (LP: #1794053)
-- Julian Andres Klode <email address hidden> Mon, 24 Sep 2018 12:18:26 +0200
This bug was fixed in the package apt - 1.7.0~rc2ubuntu1
---------------
apt (1.7.0~rc2ubuntu1) cosmic; urgency=medium
* Fix calculation of elapsed usec in downloads
* pkgCacheFile: Only unlock in destructor if locked before (LP: #1794053)
-- Julian Andres Klode <email address hidden> Mon, 24 Sep 2018 12:18:26 +0200