Preparing to unpack .../gnupg-agent_2.2.4-1ubuntu1_all.deb ... Unpacking gnupg-agent (2.2.4-1ubuntu1) over (2.1.11-6ubuntu2) ... Selecting previously unselected package gpg-agent. Preparing to unpack .../gpg-agent_2.2.4-1ubuntu1_amd64.deb ... Unpacking gpg-agent (2.2.4-1ubuntu1) ... Preparing to unpack .../dirmngr_2.2.4-1ubuntu1_amd64.deb ... Unpacking dirmngr (2.2.4-1ubuntu1) over (2.1.11-6ubuntu2) ... Preparing to unpack .../gnupg2_2.2.4-1ubuntu1_all.deb ... Unpacking gnupg2 (2.2.4-1ubuntu1) over (2.1.11-6ubuntu2) ... Preparing to unpack .../python-apt_1.6.0~rc2ubuntu2_amd64.deb ... Unpacking python-apt (1.6.0~rc2ubuntu2) over (1.1.0~beta1ubuntu0.16.04.1) ... Preparing to unpack .../python3-apt_1.6.0~rc2ubuntu2_amd64.deb ... /var/lib/dpkg/info/python3-apt.prerm: 6: /var/lib/dpkg/info/python3-apt.prerm: py3clean: not found dpkg: warning: subprocess old pre-removal script returned error exit status 127 dpkg: trying script from the new package instead ... /var/lib/dpkg/tmp.ci/prerm: 6: /var/lib/dpkg/tmp.ci/prerm: py3clean: not found dpkg: error processing archive /var/cache/apt/archives/python3-apt_1.6.0~rc2ubuntu2_amd64.deb (--unpack): subprocess new pre-removal script returned error exit status 127