This bug was fixed in the package python-apt - 1.6.4
--------------- python-apt (1.6.4) bionic; urgency=medium
* apt.Cache: Fix (un)locking of archives (Closes: #922416) (LP: #1826870) * apt.Cache: Use explicit, more safe locking in update() * Update mirror lists
-- Julian Andres Klode <email address hidden> Mon, 29 Apr 2019 13:49:15 +0200
This bug was fixed in the package python-apt - 1.6.4
---------------
python-apt (1.6.4) bionic; urgency=medium
* apt.Cache: Fix (un)locking of archives (Closes: #922416) (LP: #1826870)
* apt.Cache: Use explicit, more safe locking in update()
* Update mirror lists
-- Julian Andres Klode <email address hidden> Mon, 29 Apr 2019 13:49:15 +0200