Similar issue was just fixed in ubuntu-release-upgrader (https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1727472). It would be great if the issue could be fixed in python-apt as well.
Similar issue was just fixed in ubuntu- release- upgrader (https:/ /bugs.launchpad .net/ubuntu/ +source/ ubuntu- release- upgrader/ +bug/1727472). It would be great if the issue could be fixed in python-apt as well.