The problem can be corrected by updating your system to the following package versions: Ubuntu 19.10: python-apt 1.9.0ubuntu1.3 python3-apt 1.9.0ubuntu1.3 Ubuntu 19.04: python-apt 1.8.5~ubuntu0.3 python3-apt 1.8.5~ubuntu0.3 Ubuntu 18.04 LTS: python-apt 1.6.5ubuntu0.2 python3-apt 1.6.5ubuntu0.2 Ubuntu 16.04 LTS: python-apt 1.1.0~beta1ubuntu0.16.04.8 python3-apt 1.1.0~beta1ubuntu0.16.04.8 In general, a standard system update will make all the necessary changes.
https://ubuntu.com/security/notices/USN-4247-2
https://ubuntu.com/security/notices/USN-4247-1
https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/1860606
https://launchpad.net/ubuntu/+source/python-apt/1.9.0ubuntu1.3 https://launchpad.net/ubuntu/+source/python-apt/1.8.5~ubuntu0.3 https://launchpad.net/ubuntu/+source/python-apt/1.6.5ubuntu0.2 https://launchpad.net/ubuntu/+source/python-apt/1.1.0~beta1ubuntu0.16.04.8
Get the latest Linux and open source security news straight to your inbox.