Comment 19 for bug 1768379

Revision history for this message
Julian Andres Klode (juliank) wrote : Re: failed 16.04 LTS -> 18.04 LTS upgrade

Minimal test case, unpacking python3-minimal and python3-apt from artful on xenial:

root@lp1768379:~# dpkg --unpack /home/jak/Downloads/python3-minimal_3.6.3-0ubuntu2_amd64.deb
(Reading database ... 25653 files and directories currently installed.)
Preparing to unpack .../python3-minimal_3.6.3-0ubuntu2_amd64.deb ...
Unpacking python3-minimal (3.6.3-0ubuntu2) over (3.5.1-3) ...
Processing triggers for man-db (2.7.5-1) ...
root@lp1768379:~# dpkg --unpack /home/jak/Downloads/python3-apt_1.4.0_beta3build2_amd64.deb
(Reading database ... 25653 files and directories currently installed.)
Preparing to unpack .../python3-apt_1.4.0_beta3build2_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 /home/jak/Downloads/python3-apt_1.4.0_beta3build2_amd64.deb (--unpack):
 subprocess new pre-removal script returned error exit status 127
/var/lib/dpkg/info/python3-apt.postinst: 6: /var/lib/dpkg/info/python3-apt.postinst: py3compile: not found
dpkg: error while cleaning up:
 subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:
 /home/jak/Downloads/python3-apt_1.4.0_beta3build2_amd64.deb