** Description changed:

- do-release-upgrade -d  on my 16.04 LTS unity laptop lead to an install
- failure:
+ [Impact]
+ Release upgrades from Ubuntu 16.04 LTS to either Ubuntu 17.10 or Ubuntu 18.04 
LTS can fail if python3-minimial is unpacked before python3.x-minimal so a 
system won't have a usable python3 symlink. Then upgrades will fail because 
py3clean, used in prerm scripts of python3 packages, will fail with "not found".
  
- Fetched 2,320 MB in 6s (27.8 MB/s)
+ [Test Case]
+ 1) on a Ubuntu 16.04 LTS system with python3-apt installed download debs for 
Ubuntu 17.10 or 18.04 LTS of python3-minimal and python3-apt
+ 2) dpkg --unpack python3-minimal...
+ 3) dpkg --unpack python3-apt...
  
- Upgrading
- Inhibiting until Ctrl+C is pressed...
- Fetched 0 B in 0s (0 B/s)                                                     
                                    
- Extracting templates from packages: 100%
- Preconfiguring packages ...
- setting xserver-xorg-legacy/xwrapper/allowed_users from configuration file
- Extracting templates from packages: 100%
- Preconfiguring packages ...
- setting xserver-xorg-legacy/xwrapper/allowed_users from configuration file
- Extracting templates from packages: 100%
- Preconfiguring packages ...
- setting xserver-xorg-legacy/xwrapper/allowed_users from configuration file
- Extracting templates from packages: 100%
- Preconfiguring packages ...
- setting xserver-xorg-legacy/xwrapper/allowed_users from configuration file
- (Reading database ... 373383 files and directories currently installed.)
- Preparing to unpack .../base-files_10.1ubuntu2_amd64.deb ...
- Unpacking base-files (10.1ubuntu2) over (9.4ubuntu4.6) ...
- Processing triggers for plymouth-theme-ubuntu-text (0.9.2-3ubuntu13.4) ...
- update-initramfs: deferring update (trigger activated)
- Processing triggers for cracklib-runtime (2.9.2-1ubuntu1) ...
- Processing triggers for install-info (6.1.0.dfsg.1-5) ...
- Processing triggers for man-db (2.7.5-1) ...
- Processing triggers for initramfs-tools (0.122ubuntu8.11) ...
- update-initramfs: Generating /boot/initrd.img-4.4.0-122-generic
- Setting up base-files (10.1ubuntu2) ...
- Installing new version of config file /etc/debian_version ...
- Installing new version of config file /etc/issue ...
- Installing new version of config file /etc/issue.net ...
- Installing new version of config file /etc/lsb-release ...
- Updating /etc/profile to current default.
- motd-news.service is a disabled or a static unit, not starting it.
- Processing triggers for plymouth-theme-ubuntu-text (0.9.2-3ubuntu13.4) ...
- update-initramfs: deferring update (trigger activated)
- Processing triggers for initramfs-tools (0.122ubuntu8.11) ...
- update-initramfs: Generating /boot/initrd.img-4.4.0-122-generic
- (Reading database ... 373388 files and directories currently installed.)
- Preparing to unpack .../debianutils_4.8.4_amd64.deb ...
- Unpacking debianutils (4.8.4) over (4.7) ...
- Processing triggers for man-db (2.7.5-1) ...
- Setting up debianutils (4.8.4) ...
- (Reading database ... 373388 files and directories currently installed.)
- Preparing to unpack .../bash_4.4.18-2ubuntu1_amd64.deb ...
- Unpacking bash (4.4.18-2ubuntu1) over (4.3-14ubuntu1.2) ...
- Processing triggers for install-info (6.1.0.dfsg.1-5) ...
- Processing triggers for man-db (2.7.5-1) ...
- Setting up bash (4.4.18-2ubuntu1) ...
- Installing new version of config file /etc/bash.bashrc ...
- Installing new version of config file /etc/skel/.profile ...
- update-alternatives: using /usr/share/man/man7/bash-builtins.7.gz to provide 
/usr/share/man/man7/builtins.7.gz (builtins.7.gz) in auto mode
- (Reading database ... 373388 files and directories currently installed.)
- Preparing to unpack .../libcomerr2_1.44.1-1_amd64.deb ...
- Unpacking libcomerr2:amd64 (1.44.1-1) over (1.42.13-1ubuntu1) ...
- Selecting previously unselected package libcom-err2:amd64.
- Preparing to unpack .../libcom-err2_1.44.1-1_amd64.deb ...
- Unpacking libcom-err2:amd64 (1.44.1-1) ...
- Processing triggers for libc-bin (2.23-0ubuntu10) ...
- Setting up libcom-err2:amd64 (1.44.1-1) ...
- Processing triggers for libc-bin (2.23-0ubuntu10) ...
- (Reading database ... 373391 files and directories currently installed.)
- Preparing to unpack .../libkeyutils1_1.5.9-9.2ubuntu2_amd64.deb ...
- Unpacking libkeyutils1:amd64 (1.5.9-9.2ubuntu2) over (1.5.9-8ubuntu1) ...
- Preparing to unpack .../libk5crypto3_1.16-2build1_amd64.deb ...
- Unpacking libk5crypto3:amd64 (1.16-2build1) over (1.13.2+dfsg-5ubuntu2) ...
- Preparing to unpack .../libkrb5support0_1.16-2build1_amd64.deb ...
- Unpacking libkrb5support0:amd64 (1.16-2build1) over (1.13.2+dfsg-5ubuntu2) ...
- Preparing to unpack .../libgssapi-krb5-2_1.16-2build1_amd64.deb ...
- Unpacking libgssapi-krb5-2:amd64 (1.16-2build1) over (1.13.2+dfsg-5ubuntu2) 
...
- Preparing to unpack .../libkrb5-3_1.16-2build1_amd64.deb ...
- Unpacking libkrb5-3:amd64 (1.16-2build1) over (1.13.2+dfsg-5ubuntu2) ...
- Preparing to unpack .../liblzma5_5.2.2-1.3_amd64.deb ...
- De-configuring liblzma5:i386 (5.1.1alpha+20120614-2ubuntu2) ...
- Unpacking liblzma5:amd64 (5.2.2-1.3) over (5.1.1alpha+20120614-2ubuntu2) ...
- Preparing to unpack .../liblzma5_5.2.2-1.3_i386.deb ...
- Unpacking liblzma5:i386 (5.2.2-1.3) over (5.1.1alpha+20120614-2ubuntu2) ...
- Selecting previously unselected package libzstd1:amd64.
- Preparing to unpack .../libzstd1_1.3.3+dfsg-2ubuntu1_amd64.deb ...
- Unpacking libzstd1:amd64 (1.3.3+dfsg-2ubuntu1) ...
- Processing triggers for libc-bin (2.23-0ubuntu10) ...
- Setting up libzstd1:amd64 (1.3.3+dfsg-2ubuntu1) ...
- Processing triggers for libc-bin (2.23-0ubuntu10) ...
- Selecting previously unselected package libunistring2:amd64.
- (Reading database ... 373397 files and directories currently installed.)
- Preparing to unpack .../libunistring2_0.9.9-0ubuntu1_amd64.deb ...
- Unpacking libunistring2:amd64 (0.9.9-0ubuntu1) ...
- Processing triggers for libc-bin (2.23-0ubuntu10) ...
- Setting up libunistring2:amd64 (0.9.9-0ubuntu1) ...
- Processing triggers for libc-bin (2.23-0ubuntu10) ...
- Selecting previously unselected package gcc-8-base:amd64.
- (Reading database ... 373402 files and directories currently installed.)
- Preparing to unpack .../gcc-8-base_8-20180414-1ubuntu2_amd64.deb ...
- Unpacking gcc-8-base:amd64 (8-20180414-1ubuntu2) ...
- Selecting previously unselected package gcc-8-base:i386.
- Preparing to unpack .../gcc-8-base_8-20180414-1ubuntu2_i386.deb ...
- Unpacking gcc-8-base:i386 (8-20180414-1ubuntu2) ...
- Setting up gcc-8-base:amd64 (8-20180414-1ubuntu2) ...
- Setting up gcc-8-base:i386 (8-20180414-1ubuntu2) ...
- (Reading database ... 373412 files and directories currently installed.)
- Preparing to unpack .../libgcc1_1%3a8-20180414-1ubuntu2_amd64.deb ...
- De-configuring libgcc1:i386 (1:6.0.1-0ubuntu1) ...
- Unpacking libgcc1:amd64 (1:8-20180414-1ubuntu2) over (1:6.0.1-0ubuntu1) ...
- Preparing to unpack .../libgcc1_1%3a8-20180414-1ubuntu2_i386.deb ...
- Unpacking libgcc1:i386 (1:8-20180414-1ubuntu2) over (1:6.0.1-0ubuntu1) ...
- Preparing to unpack .../libstdc++6_8-20180414-1ubuntu2_amd64.deb ...
- Unpacking libstdc++6:amd64 (8-20180414-1ubuntu2) over 
(5.4.0-6ubuntu1~16.04.9) ...
- Processing triggers for libc-bin (2.23-0ubuntu10) ...
- Setting up libgcc1:amd64 (1:8-20180414-1ubuntu2) ...
- Setting up libgcc1:i386 (1:8-20180414-1ubuntu2) ...
- Setting up libstdc++6:amd64 (8-20180414-1ubuntu2) ...
- Processing triggers for libc-bin (2.23-0ubuntu10) ...
- (Reading database ... 373412 files and directories currently installed.)
- Preparing to unpack .../libasprintf-dev_0.19.8.1-6_amd64.deb ...
- Unpacking libasprintf-dev:amd64 (0.19.8.1-6) over (0.19.7-2ubuntu3) ...
- Preparing to unpack .../libasprintf0v5_0.19.8.1-6_amd64.deb ...
- Unpacking libasprintf0v5:amd64 (0.19.8.1-6) over (0.19.7-2ubuntu3) ...
- Preparing to unpack .../libgettextpo-dev_0.19.8.1-6_amd64.deb ...
- Unpacking libgettextpo-dev:amd64 (0.19.8.1-6) over (0.19.7-2ubuntu3) ...
- Preparing to unpack .../libgettextpo0_0.19.8.1-6_amd64.deb ...
- Unpacking libgettextpo0:amd64 (0.19.8.1-6) over (0.19.7-2ubuntu3) ...
- Selecting previously unselected package libssl1.1:amd64.
- Preparing to unpack .../libssl1.1_1.1.0g-2ubuntu4_amd64.deb ...
- Unpacking libssl1.1:amd64 (1.1.0g-2ubuntu4) ...
- Selecting previously unselected package libpython3.6-minimal:amd64.
- Preparing to unpack .../libpython3.6-minimal_3.6.5-3_amd64.deb ...
- Unpacking libpython3.6-minimal:amd64 (3.6.5-3) ...
- Preparing to unpack .../libc6-dev_2.27-3ubuntu1_amd64.deb ...
- Unpacking libc6-dev:amd64 (2.27-3ubuntu1) over (2.23-0ubuntu10) ...
- Preparing to unpack .../libc-dev-bin_2.27-3ubuntu1_amd64.deb ...
- Unpacking libc-dev-bin (2.27-3ubuntu1) over (2.23-0ubuntu10) ...
- Selecting previously unselected package libip4tc0:amd64.
- Preparing to unpack .../libip4tc0_1.6.1-2ubuntu2_amd64.deb ...
- Unpacking libip4tc0:amd64 (1.6.1-2ubuntu2) ...
- Processing triggers for libc-bin (2.23-0ubuntu10) ...
- Processing triggers for man-db (2.7.5-1) ...
- Setting up libip4tc0:amd64 (1.6.1-2ubuntu2) ...
- Processing triggers for libc-bin (2.23-0ubuntu10) ...
- Selecting previously unselected package libiptc0:amd64.
- (Reading database ... 373708 files and directories currently installed.)
- Preparing to unpack .../libiptc0_1.6.1-2ubuntu2_amd64.deb ...
- Unpacking libiptc0:amd64 (1.6.1-2ubuntu2) ...
- Preparing to unpack .../iptables-dev_1.6.1-2ubuntu2_amd64.deb ...
- Unpacking iptables-dev:amd64 (1.6.1-2ubuntu2) over (1.6.0-2ubuntu3) ...
- Selecting previously unselected package libip4tc-dev:amd64.
- Preparing to unpack .../libip4tc-dev_1.6.1-2ubuntu2_amd64.deb ...
- Unpacking libip4tc-dev:amd64 (1.6.1-2ubuntu2) ...
- Selecting previously unselected package libip6tc0:amd64.
- Preparing to unpack .../libip6tc0_1.6.1-2ubuntu2_amd64.deb ...
- Unpacking libip6tc0:amd64 (1.6.1-2ubuntu2) ...
- Selecting previously unselected package libip6tc-dev:amd64.
- Preparing to unpack .../libip6tc-dev_1.6.1-2ubuntu2_amd64.deb ...
- Unpacking libip6tc-dev:amd64 (1.6.1-2ubuntu2) ...
- Selecting previously unselected package libiptc-dev:amd64.
- Preparing to unpack .../libiptc-dev_1.6.1-2ubuntu2_amd64.deb ...
- Unpacking libiptc-dev:amd64 (1.6.1-2ubuntu2) ...
- Selecting previously unselected package libxtables12:amd64.
- Preparing to unpack .../libxtables12_1.6.1-2ubuntu2_amd64.deb ...
- Unpacking libxtables12:amd64 (1.6.1-2ubuntu2) ...
- Selecting previously unselected package libxtables-dev:amd64.
- Preparing to unpack .../libxtables-dev_1.6.1-2ubuntu2_amd64.deb ...
- Unpacking libxtables-dev:amd64 (1.6.1-2ubuntu2) ...
- Preparing to unpack .../linux-libc-dev_4.15.0-20.21_amd64.deb ...
- Unpacking linux-libc-dev:amd64 (4.15.0-20.21) over (4.4.0-122.146) ...
- Preparing to unpack .../libexpat1-dev_2.2.5-3_amd64.deb ...
- Unpacking libexpat1-dev:amd64 (2.2.5-3) over (2.1.0-7ubuntu0.16.04.3) ...
- Preparing to unpack .../libexpat1_2.2.5-3_amd64.deb ...
- Unpacking libexpat1:amd64 (2.2.5-3) over (2.1.0-7ubuntu0.16.04.3) ...
- Preparing to unpack .../zlib1g-dev_1%3a1.2.11.dfsg-0ubuntu2_amd64.deb ...
- Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-0ubuntu2) over 
(1:1.2.8.dfsg-2ubuntu4.1) ...
- Preparing to unpack .../zlib1g_1%3a1.2.11.dfsg-0ubuntu2_amd64.deb ...
- De-configuring zlib1g:i386 (1:1.2.8.dfsg-2ubuntu4.1) ...
- Unpacking zlib1g:amd64 (1:1.2.11.dfsg-0ubuntu2) over 
(1:1.2.8.dfsg-2ubuntu4.1) ...
- Preparing to unpack .../zlib1g_1%3a1.2.11.dfsg-0ubuntu2_i386.deb ...
- Unpacking zlib1g:i386 (1:1.2.11.dfsg-0ubuntu2) over (1:1.2.8.dfsg-2ubuntu4.1) 
...
- Selecting previously unselected package libfcitx-gclient1:amd64.
- Preparing to unpack .../libfcitx-gclient1_1%3a4.2.9.6-1_amd64.deb ...
- Unpacking libfcitx-gclient1:amd64 (1:4.2.9.6-1) ...
- Preparing to unpack .../fonts-texgyre_20160520-1_all.deb ...
- Unpacking fonts-texgyre (20160520-1) over (20150923-1) ...
- Preparing to unpack .../fontconfig-config_2.12.6-0ubuntu2_all.deb ...
- Unpacking fontconfig-config (2.12.6-0ubuntu2) over (2.11.94-0ubuntu1.1) ...
- Preparing to unpack .../libfontconfig1_2.12.6-0ubuntu2_amd64.deb ...
- Unpacking libfontconfig1:amd64 (2.12.6-0ubuntu2) over (2.11.94-0ubuntu1.1) ...
- Preparing to unpack .../gnome-desktop3-data_3.28.1-1ubuntu1_all.deb ...
- Unpacking gnome-desktop3-data (3.28.1-1ubuntu1) over (3.18.2-1ubuntu1) ...
- Preparing to unpack .../libglib2.0-bin_2.56.1-2ubuntu1_amd64.deb ...
- Unpacking libglib2.0-bin (2.56.1-2ubuntu1) over (2.48.2-0ubuntu1) ...
- Selecting previously unselected package libidn2-0:amd64.
- Preparing to unpack .../libidn2-0_2.0.4-1.1build2_amd64.deb ...
- Unpacking libidn2-0:amd64 (2.0.4-1.1build2) ...
- Processing triggers for libc-bin (2.23-0ubuntu10) ...
- Processing triggers for doc-base (0.10.7) ...
- Processing 3 changed doc-base files...
- Error in `/usr/share/doc-base/netfilter-extensions', line 9: all `Format' 
sections are invalid.
- Error in `/usr/share/doc-base/netfilter-hacking', line 9: all `Format' 
sections are invalid.
- Note: `install-docs --verbose --check file_name' may give more details about 
the above errors.
- Processing triggers for tex-common (6.04) ...
- Running mktexlsr. This may take some time... done.
- Setting up libidn2-0:amd64 (2.0.4-1.1build2) ...
- Processing triggers for libc-bin (2.23-0ubuntu10) ...
- (Reading database ... 373848 files and directories currently installed.)
- Preparing to unpack .../libtasn1-6_4.13-2_amd64.deb ...
- Unpacking libtasn1-6:amd64 (4.13-2) over (4.7-3ubuntu0.16.04.3) ...
- Processing triggers for libc-bin (2.23-0ubuntu10) ...
- Setting up libtasn1-6:amd64 (4.13-2) ...
- Processing triggers for libc-bin (2.23-0ubuntu10) ...
- (Reading database ... 373847 files and directories currently installed.)
- Preparing to unpack .../libgnutls-openssl27_3.5.18-1ubuntu1_amd64.deb ...
- Unpacking libgnutls-openssl27:amd64 (3.5.18-1ubuntu1) over 
(3.4.10-4ubuntu1.4) ...
- Preparing to unpack .../locales_2.27-3ubuntu1_all.deb ...
- Unpacking locales (2.27-3ubuntu1) over (2.23-0ubuntu10) ...
- Preparing to unpack .../libc6_2.27-3ubuntu1_i386.deb ...
- De-configuring libc6:amd64 (2.23-0ubuntu10) ...
- Checking for services that may need to be restarted...
- Checking init scripts...
- Nothing to restart.
- Unpacking libc6:i386 (2.27-3ubuntu1) over (2.23-0ubuntu10) ...
- Preparing to unpack .../libc6_2.27-3ubuntu1_amd64.deb ...
- Checking for services that may need to be restarted...
- Checking init scripts...
- Nothing to restart.
- Unpacking libc6:amd64 (2.27-3ubuntu1) over (2.23-0ubuntu10) ...
- Setting up libc6:amd64 (2.27-3ubuntu1) ...
- Installing new version of config file /etc/ld.so.conf.d/x86_64-linux-gnu.conf 
...
- Checking for services that may need to be restarted...
- Checking init scripts...
- Nothing to restart.
- Setting up libc6:i386 (2.27-3ubuntu1) ...
- Installing new version of config file /etc/ld.so.conf.d/i386-linux-gnu.conf 
...
- Checking for services that may need to be restarted...
- Checking init scripts...
- Nothing to restart.
- (Reading database ... 373869 files and directories currently installed.)
- Preparing to unpack .../libc-bin_2.27-3ubuntu1_amd64.deb ...
- Unpacking libc-bin (2.27-3ubuntu1) over (2.23-0ubuntu10) ...
- Setting up libc-bin (2.27-3ubuntu1) ...
- (Reading database ... 373869 files and directories currently installed.)
- Preparing to unpack .../libgnutls30_3.5.18-1ubuntu1_amd64.deb ...
- Unpacking libgnutls30:amd64 (3.5.18-1ubuntu1) over (3.4.10-4ubuntu1.4) ...
- Processing triggers for libc-bin (2.27-3ubuntu1) ...
- Setting up zlib1g:amd64 (1:1.2.11.dfsg-0ubuntu2) ...
- Setting up zlib1g:i386 (1:1.2.11.dfsg-0ubuntu2) ...
- Setting up libgnutls30:amd64 (3.5.18-1ubuntu1) ...
- Processing triggers for man-db (2.7.5-1) ...
- Processing triggers for libc-bin (2.27-3ubuntu1) ...
- (Reading database ... 373870 files and directories currently installed.)
- Preparing to unpack .../libproxy1-plugin-networkmanager_0.4.15-1_amd64.deb ...
- Unpacking libproxy1-plugin-networkmanager:amd64 (0.4.15-1) over 
(0.4.11-5ubuntu1) ...
- Preparing to unpack .../libproxy1-plugin-gsettings_0.4.15-1_amd64.deb ...
- Unpacking libproxy1-plugin-gsettings:amd64 (0.4.15-1) over (0.4.11-5ubuntu1) 
...
- Preparing to unpack .../libproxy1v5_0.4.15-1_amd64.deb ...
- Unpacking libproxy1v5:amd64 (0.4.15-1) over (0.4.11-5ubuntu1) ...
- Preparing to unpack .../glib-networking-common_2.56.0-1_all.deb ...
- Unpacking glib-networking-common (2.56.0-1) over (2.48.2-1~ubuntu16.04.1) ...
- Preparing to unpack .../glib-networking-services_2.56.0-1_amd64.deb ...
- Unpacking glib-networking-services (2.56.0-1) over (2.48.2-1~ubuntu16.04.1) 
...
- Preparing to unpack .../glib-networking_2.56.0-1_amd64.deb ...
- Unpacking glib-networking:amd64 (2.56.0-1) over (2.48.2-1~ubuntu16.04.1) ...
- Preparing to unpack .../libgtop2-common_2.38.0-2_all.deb ...
- Unpacking libgtop2-common (2.38.0-2) over (2.32.0-1) ...
- Selecting previously unselected package libgtop-2.0-11:amd64.
- Preparing to unpack .../libgtop-2.0-11_2.38.0-2_amd64.deb ...
- Unpacking libgtop-2.0-11:amd64 (2.38.0-2) ...
- Preparing to unpack 
.../libunity-control-center1_15.04.0+18.04.20180216-0ubuntu1_amd64.deb ...
- Unpacking libunity-control-center1 (15.04.0+18.04.20180216-0ubuntu1) over 
(15.04.0+16.04.20171130-0ubuntu1) ...
- Preparing to unpack 
.../unity-control-center_15.04.0+18.04.20180216-0ubuntu1_amd64.deb ...
- Unpacking unity-control-center (15.04.0+18.04.20180216-0ubuntu1) over 
(15.04.0+16.04.20171130-0ubuntu1) ...
- Preparing to unpack .../libglib2.0-0_2.56.1-2ubuntu1_amd64.deb ...
- Unpacking libglib2.0-0:amd64 (2.56.1-2ubuntu1) over (2.48.2-0ubuntu1) ...
- Preparing to unpack .../libjson-glib-1.0-common_1.4.2-3_all.deb ...
- Unpacking libjson-glib-1.0-common (1.4.2-3) over (1.1.2-0ubuntu1) ...
- Preparing to unpack .../libjson-glib-1.0-0_1.4.2-3_amd64.deb ...
- Unpacking libjson-glib-1.0-0:amd64 (1.4.2-3) over (1.1.2-0ubuntu1) ...
- Selecting previously unselected package libsnapd-glib1:amd64.
- Preparing to unpack .../libsnapd-glib1_1.39-0ubuntu1_amd64.deb ...
- Unpacking libsnapd-glib1:amd64 (1.39-0ubuntu1) ...
- Preparing to unpack .../libgoa-backend-1.0-1_3.28.0-0ubuntu2_amd64.deb ...
- Unpacking libgoa-backend-1.0-1:amd64 (3.28.0-0ubuntu2) over (3.18.3-1ubuntu2) 
...
- Preparing to unpack .../libgoa-1.0-common_3.28.0-0ubuntu2_all.deb ...
- Unpacking libgoa-1.0-common (3.28.0-0ubuntu2) over (3.18.3-1ubuntu2) ...
- Preparing to unpack .../python3-minimal_3.6.5-3_amd64.deb ...
- Unpacking python3-minimal (3.6.5-3) over (3.5.1-3) ...
- Selecting previously unselected package libreadline7:amd64.
- Preparing to unpack .../libreadline7_7.0-3_amd64.deb ...
- Unpacking libreadline7:amd64 (7.0-3) ...
- Selecting previously unselected package libpython3.6-stdlib:amd64.
- Preparing to unpack .../libpython3.6-stdlib_3.6.5-3_amd64.deb ...
- Unpacking libpython3.6-stdlib:amd64 (3.6.5-3) ...
- Selecting previously unselected package python3.6.
- Preparing to unpack .../python3.6_3.6.5-3_amd64.deb ...
- Unpacking python3.6 (3.6.5-3) ...
- Preparing to unpack .../libpython3-stdlib_3.6.5-3_amd64.deb ...
- Unpacking libpython3-stdlib:amd64 (3.6.5-3) over (3.5.1-3) ...
- Preparing to unpack .../libgtk-3-common_3.22.30-1ubuntu1_all.deb ...
- Unpacking libgtk-3-common (3.22.30-1ubuntu1) over (3.18.9-1ubuntu3.3) ...
- Preparing to unpack .../libpangocairo-1.0-0_1.40.14-1_amd64.deb ...
- Unpacking libpangocairo-1.0-0:amd64 (1.40.14-1) over (1.38.1-1) ...
- Selecting previously unselected package libpng16-16:amd64.
- Preparing to unpack .../libpng16-16_1.6.34-1_amd64.deb ...
- Unpacking libpng16-16:amd64 (1.6.34-1) ...
- Preparing to unpack .../libfreetype6_2.8.1-2ubuntu2_amd64.deb ...
- Unpacking libfreetype6:amd64 (2.8.1-2ubuntu2) over (2.6.1-0.1ubuntu2.3) ...
- Preparing to unpack .../libharfbuzz0b_1.7.2-1ubuntu1_amd64.deb ...
- Unpacking libharfbuzz0b:amd64 (1.7.2-1ubuntu1) over (1.0.1-1ubuntu0.1) ...
- Preparing to unpack .../libpangoft2-1.0-0_1.40.14-1_amd64.deb ...
- Unpacking libpangoft2-1.0-0:amd64 (1.40.14-1) over (1.38.1-1) ...
- Preparing to unpack .../libpangoxft-1.0-0_1.40.14-1_amd64.deb ...
- Unpacking libpangoxft-1.0-0:amd64 (1.40.14-1) over (1.38.1-1) ...
- Preparing to unpack .../libpango1.0-0_1.40.14-1_amd64.deb ...
- Unpacking libpango1.0-0:amd64 (1.40.14-1) over (1.38.1-1) ...
- Preparing to unpack .../libpango-1.0-0_1.40.14-1_amd64.deb ...
- Unpacking libpango-1.0-0:amd64 (1.40.14-1) over (1.38.1-1) ...
- Preparing to unpack .../libgail-3-0_3.22.30-1ubuntu1_amd64.deb ...
- Unpacking libgail-3-0:amd64 (3.22.30-1ubuntu1) over (3.18.9-1ubuntu3.3) ...
- Preparing to unpack .../libgtk-3-0_3.22.30-1ubuntu1_amd64.deb ...
- Unpacking libgtk-3-0:amd64 (3.22.30-1ubuntu1) over (3.18.9-1ubuntu3.3) ...
- Preparing to unpack .../liblircclient0_0.10.0-2_amd64.deb ...
- Unpacking liblircclient0 (0.10.0-2) over (0.9.0-0ubuntu6) ...
- Selecting previously unselected package liblirc-client0:amd64.
- Preparing to unpack .../liblirc-client0_0.10.0-2_amd64.deb ...
- Unpacking liblirc-client0:amd64 (0.10.0-2) ...
- Preparing to unpack .../libclutter-gtk-1.0-0_1.8.4-3_amd64.deb ...
- Unpacking libclutter-gtk-1.0-0:amd64 (1.8.4-3) over (1.6.6-1) ...
- Selecting previously unselected package libgrilo-0.3-0:amd64.
- Preparing to unpack .../libgrilo-0.3-0_0.3.4-1_amd64.deb ...
- Unpacking libgrilo-0.3-0:amd64 (0.3.4-1) ...
- Preparing to unpack .../libgpg-error0_1.27-6_i386.deb ...
- De-configuring libgpg-error0:amd64 (1.21-2ubuntu1) ...
- Unpacking libgpg-error0:i386 (1.27-6) over (1.21-2ubuntu1) ...
- Preparing to unpack .../libgpg-error0_1.27-6_amd64.deb ...
- Unpacking libgpg-error0:amd64 (1.27-6) over (1.21-2ubuntu1) ...
- Processing triggers for libc-bin (2.27-3ubuntu1) ...
- Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
- Processing triggers for mime-support (3.59ubuntu1) ...
- Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ...
- Processing triggers for man-db (2.7.5-1) ...
- Processing triggers for doc-base (0.10.7) ...
- Processing 1 added doc-base file...
- Setting up libgpg-error0:amd64 (1.27-6) ...
- Setting up libgpg-error0:i386 (1.27-6) ...
- Processing triggers for libc-bin (2.27-3ubuntu1) ...
- (Reading database ... 374274 files and directories currently installed.)
- Preparing to unpack .../libgcrypt20_1.8.1-4ubuntu1_i386.deb ...
- De-configuring libgcrypt20:amd64 (1.6.5-2ubuntu0.4) ...
- Unpacking libgcrypt20:i386 (1.8.1-4ubuntu1) over (1.6.5-2ubuntu0.4) ...
- Preparing to unpack .../libgcrypt20_1.8.1-4ubuntu1_amd64.deb ...
- Unpacking libgcrypt20:amd64 (1.8.1-4ubuntu1) over (1.6.5-2ubuntu0.4) ...
- Processing triggers for libc-bin (2.27-3ubuntu1) ...
- Setting up libgcrypt20:amd64 (1.8.1-4ubuntu1) ...
- Setting up libgcrypt20:i386 (1.8.1-4ubuntu1) ...
- Processing triggers for libc-bin (2.27-3ubuntu1) ...
- (Reading database ... 374274 files and directories currently installed.)
- Preparing to unpack .../libassuan0_2.5.1-2_amd64.deb ...
- Unpacking libassuan0:amd64 (2.5.1-2) over (2.4.2-2) ...
- Processing triggers for libc-bin (2.27-3ubuntu1) ...
- Setting up libassuan0:amd64 (2.5.1-2) ...
- Processing triggers for libc-bin (2.27-3ubuntu1) ...
- (Reading database ... 374274 files and directories currently installed.)
- 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 .../debsig-verify_0.18_amd64.deb ...
- Unpacking debsig-verify (0.18) over (0.14) ...
- Preparing to unpack .../gnupg2_2.2.4-1ubuntu1_all.deb ...
- Unpacking gnupg2 (2.2.4-1ubuntu1) over (2.1.11-6ubuntu2) ...
- Preparing to unpack .../libgnupg-interface-perl_0.52-9_all.deb ...
- Unpacking libgnupg-interface-perl (0.52-9) over (0.52-2) ...
- Preparing to unpack .../python-apt_1.6.0_amd64.deb ...
- Unpacking python-apt (1.6.0) over (1.1.0~beta1ubuntu0.16.04.1) ...
- Preparing to unpack .../python3-apt_1.6.0_amd64.deb ...
+ Observe the following Traceback:
+ 
+ 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 
/var/cache/apt/archives/python3-apt_1.6.0_amd64.deb (--unpack):
+ 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
- Preparing to unpack .../software-properties-common_0.96.24.32.1_all.deb ...
- /var/lib/dpkg/info/software-properties-common.prerm: 6: 
/var/lib/dpkg/info/software-properties-common.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/software-properties-common_0.96.24.32.1_all.deb 
(--unpack):
-  subprocess new pre-removal script returned error exit status 127
- /var/lib/dpkg/info/software-properties-common.postinst: 6: 
/var/lib/dpkg/info/software-properties-common.postinst: py3compile: not found
- dpkg: error while cleaning up:
-  subprocess installed post-installation script returned error exit status 127
- Preparing to unpack .../gnupg_2.2.4-1ubuntu1_amd64.deb ...
- Unpacking gnupg (2.2.4-1ubuntu1) over (1.4.20-1ubuntu3.1) ...
- Selecting previously unselected package gpgconf.
- Preparing to unpack .../gpgconf_2.2.4-1ubuntu1_amd64.deb ...
- Unpacking gpgconf (2.2.4-1ubuntu1) ...
- Preparing to unpack .../libksba8_1.3.5-2_amd64.deb ...
- Unpacking libksba8:amd64 (1.3.5-2) over (1.3.3-1ubuntu0.16.04.1) ...
- Processing triggers for man-db (2.7.5-1) ...
- Processing triggers for install-info (6.1.0.dfsg.1-5) ...
- Processing triggers for libc-bin (2.27-3ubuntu1) ...
- Errors were encountered while processing:
-  /var/cache/apt/archives/python3-apt_1.6.0_amd64.deb
-  /var/cache/apt/archives/software-properties-common_0.96.24.32.1_all.deb
- Exception during pm.DoInstall():  E:Sub-process /usr/bin/dpkg returned an 
error code (1)
  
- Could not install the upgrades
+ With the deb python3-minimal from -proposed you won't be able to unpack
+ python3-minimal without first installing python3.6-minimal. While that
+ may qualify as verification it'd still be good to test unpacking
+ python3-apt. To do that you'll need to install python3.6-minimal from
+ the target release by editing you /etc/apt/sources.list to the new
+ release, running 'apt-get update', and then 'apt-get install
+ python3.6-minimal'. After that's all done you can try steps 2 and 3 from
+ the test case again and you should not receive a Traceback.
  
- The upgrade has aborted. Your system could be in an unusable state. A 
- recovery will run now (dpkg --configure -a). 
- 
- dpkg: dependency problems prevent configuration of unity-control-center:
-  unity-control-center depends on libgnome-desktop-3-17 (>= 3.27.90); however:
-   Package libgnome-desktop-3-17 is not installed.
- 
- dpkg: error processing package unity-control-center (--configure):
-  dependency problems - leaving unconfigured
- Setting up libexpat1:amd64 (2.2.5-3) ...
- dpkg: dependency problems prevent configuration of libgoa-backend-1.0-1:amd64:
-  libgoa-backend-1.0-1:amd64 depends on libgoa-1.0-0b (>= 3.25.4); however:
-   Version of libgoa-1.0-0b:amd64 on system is 3.18.3-1ubuntu2.
- 
- dpkg: error processing package libgoa-backend-1.0-1:amd64 (--configure):
-  dependency problems - leaving unconfigured
- Setting up liblzma5:amd64 (5.2.2-1.3) ...
- Setting up liblzma5:i386 (5.2.2-1.3) ...
- Setting up libjson-glib-1.0-common (1.4.2-3) ...
- Setting up fontconfig-config (2.12.6-0ubuntu2) ...
- Installing new version of config file /etc/fonts/conf.avail/10-antialias.conf 
...
- Installing new version of config file 
/etc/fonts/conf.avail/10-hinting-full.conf ...
- Installing new version of config file 
/etc/fonts/conf.avail/10-hinting-medium.conf ...
- Installing new version of config file 
/etc/fonts/conf.avail/10-hinting-slight.conf ...
- Installing new version of config file 
/etc/fonts/conf.avail/30-metric-aliases.conf ...
- Installing new version of config file /etc/fonts/conf.avail/40-nonlatin.conf 
...
- Installing new version of config file /etc/fonts/conf.avail/45-latin.conf ...
- Installing new version of config file 
/etc/fonts/conf.avail/53-monospace-lcd-filter.conf ...
- Installing new version of config file /etc/fonts/conf.avail/60-latin.conf ...
- Installing new version of config file /etc/fonts/conf.avail/65-nonlatin.conf 
...
- Installing new version of config file /etc/fonts/fonts.conf ...
- dpkg: dependency problems prevent configuration of python3.6:
-  python3.6 depends on python3.6-minimal (= 3.6.5-3); however:
-   Package python3.6-minimal is not installed.
- 
- dpkg: error processing package python3.6 (--configure):
-  dependency problems - leaving unconfigured
- dpkg: dependency problems prevent configuration of python3-apt:
-  gnupg (2.2.4-1ubuntu1) breaks python3-apt (<= 1.1.0~beta4) and is unpacked 
but not configured.
-   Version of python3-apt to be configured is 1.1.0~beta1ubuntu0.16.04.1.
- 
- dpkg: error processing package python3-apt (--configure):
-  dependency problems - leaving unconfigured
- Setting up glib-networking-common (2.56.0-1) ...
- Setting up libpng16-16:amd64 (1.6.34-1) ...
- Setting up libgtk-3-common (3.22.30-1ubuntu1) ...
- Setting up libreadline7:amd64 (7.0-3) ...
- Setting up libgtop2-common (2.38.0-2) ...
- Setting up gpgconf (2.2.4-1ubuntu1) ...
- Setting up libglib2.0-0:amd64 (2.56.1-2ubuntu1) ...
- dpkg: dependency problems prevent configuration of gnupg:
-  gnupg depends on dirmngr (= 2.2.4-1ubuntu1); however:
-   Package dirmngr is not installed.
-  gnupg depends on gnupg-l10n (= 2.2.4-1ubuntu1); however:
-   Package gnupg-l10n is not installed.
-  gnupg depends on gnupg-utils (= 2.2.4-1ubuntu1); however:
-   Package gnupg-utils is not installed.
-  gnupg depends on gpg (= 2.2.4-1ubuntu1); however:
-   Package gpg is not installed.
-  gnupg depends on gpg-wks-client (= 2.2.4-1ubuntu1); however:
-   Package gpg-wks-client is not installed.
-  gnupg depends on gpg-wks-server (= 2.2.4-1ubuntu1); however:
-   Package gpg-wks-server is not installed.
-  gnupg depends on gpgsm (= 2.2.4-1ubuntu1); however:
-   Package gpgsm is not installed.
-  gnupg depends on gpgv (= 2.2.4-1ubuntu1); however:
-   Version of gpgv on system is 1.4.20-1ubuntu3.1.
- 
- dpkg: error processing package gnupg (--configure):
-  dependency problems - leaving unconfigured
- Setting up libproxy1v5:amd64 (0.4.15-1) ...
- Setting up linux-libc-dev:amd64 (4.15.0-20.21) ...
- Setting up gpg-agent (2.2.4-1ubuntu1) ...
- Installing new version of config file /etc/X11/Xsession.d/90gpg-agent ...
- Setting up liblirc-client0:amd64 (0.10.0-2) ...
- Setting up libiptc0:amd64 (1.6.1-2ubuntu2) ...
- Setting up glib-networking-services (2.56.0-1) ...
- Setting up libksba8:amd64 (1.3.5-2) ...
- Setting up fonts-texgyre (20160520-1) ...
- Setting up liblircclient0 (0.10.0-2) ...
- Setting up libkrb5support0:amd64 (1.16-2build1) ...
- Setting up libfreetype6:amd64 (2.8.1-2ubuntu2) ...
- Setting up libjson-glib-1.0-0:amd64 (1.4.2-3) ...
- dpkg: dependency problems prevent configuration of gnupg2:
-  gnupg2 depends on gnupg (>= 2.2.4-1ubuntu1); however:
-   Package gnupg is not configured yet.
- 
- dpkg: error processing package gnupg2 (--configure):
-  dependency problems - leaving unconfigured
- Setting up libgettextpo0:amd64 (0.19.8.1-6) ...
- Setting up libsnapd-glib1:amd64 (1.39-0ubuntu1) ...
- Setting up libgrilo-0.3-0:amd64 (0.3.4-1) ...
- Setting up libxtables12:amd64 (1.6.1-2ubuntu2) ...
- Setting up libasprintf0v5:amd64 (0.19.8.1-6) ...
- Setting up libproxy1-plugin-gsettings:amd64 (0.4.15-1) ...
- Setting up libssl1.1:amd64 (1.1.0g-2ubuntu4) ...
- locale: Cannot set LC_ALL to default locale: No such file or directory
- Setting up glib-networking:amd64 (2.56.0-1) ...
- Setting up libpango-1.0-0:amd64 (1.40.14-1) ...
- dpkg: dependency problems prevent configuration of python3-minimal:
-  python3-minimal depends on python3.6-minimal (>= 3.6.5-2~); however:
-   Package python3.6-minimal is not installed.
- 
- dpkg: error processing package python3-minimal (--configure):
-  dependency problems - leaving unconfigured
- Setting up libgnutls-openssl27:amd64 (3.5.18-1ubuntu1) ...
- Setting up libproxy1-plugin-networkmanager:amd64 (0.4.15-1) ...
- Setting up libgettextpo-dev:amd64 (0.19.8.1-6) ...
- Setting up libasprintf-dev:amd64 (0.19.8.1-6) ...
- Setting up libgoa-1.0-common (3.28.0-0ubuntu2) ...
- Setting up libc-dev-bin (2.27-3ubuntu1) ...
- Setting up libcomerr2:amd64 (1.44.1-1) ...
- Setting up libkeyutils1:amd64 (1.5.9-9.2ubuntu2) ...
- Setting up gnupg-agent (2.2.4-1ubuntu1) ...
- dpkg: dependency problems prevent configuration of python-apt:
-  python-apt depends on libapt-inst2.0 (>= 1.4~beta3); however:
-   Version of libapt-inst2.0:amd64 on system is 1.2.26.
-  python-apt depends on libapt-pkg5.0 (>= 1.4~beta3); however:
-   Version of libapt-pkg5.0:amd64 on system is 1.2.26.
-  python-apt depends on gnupg; however:
-   Package gnupg is not configured yet.
-  python-apt depends on dirmngr | gnupg (<< 2); however:
-   Package dirmngr is not installed.
-   Version of gnupg on system is 2.2.4-1ubuntu1.
- 
- dpkg: error processing package python-apt (--configure):
-  dependency problems - leaving unconfigured
- Setting up libglib2.0-bin (2.56.1-2ubuntu1) ...
- Setting up libc6-dev:amd64 (2.27-3ubuntu1) ...
- Setting up gnome-desktop3-data (3.28.1-1ubuntu1) ...
- Setting up locales (2.27-3ubuntu1) ...
- Installing new version of config file /etc/locale.alias ...
- Generating locales (this might take a while)...
-   en_AG.UTF-8... done
-   en_AU.UTF-8... done
-   en_BW.UTF-8... done
-   en_CA.UTF-8... done
-   en_DK.UTF-8... done
-   en_GB.UTF-8... done
-   en_HK.UTF-8... done
-   en_IE.UTF-8... done
-   en_IN.UTF-8... done
-   en_NG.UTF-8... done
-   en_NZ.UTF-8... done
-   en_PH.UTF-8... done
-   en_SG.UTF-8... done
-   en_US.UTF-8... done
-   en_ZA.UTF-8... done
-   en_ZM.UTF-8... done
-   en_ZW.UTF-8... done
- Generation complete.
- Setting up libip6tc0:amd64 (1.6.1-2ubuntu2) ...
- dpkg: dependency problems prevent configuration of libgnupg-interface-perl:
-  libgnupg-interface-perl depends on gnupg | gnupg2; however:
-   Package gnupg is not configured yet.
-   Package gnupg2 is not configured yet.
- 
- dpkg: error processing package libgnupg-interface-perl (--configure):
-  dependency problems - leaving unconfigured
- Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-0ubuntu2) ...
- dpkg: dependency problems prevent configuration of software-properties-common:
-  gnupg (2.2.4-1ubuntu1) breaks software-properties-common (<= 0.96.24.3) and 
is unpacked but not configured.
-   Version of software-properties-common to be configured is 0.96.20.7.
- 
- dpkg: error processing package software-properties-common (--configure):
-  dependency problems - leaving unconfigured
- Setting up libfontconfig1:amd64 (2.12.6-0ubuntu2) ...
- Setting up libip4tc-dev:amd64 (1.6.1-2ubuntu2) ...
- Setting up libgtop-2.0-11:amd64 (2.38.0-2) ...
- dpkg: dependency problems prevent configuration of debsig-verify:
-  debsig-verify depends on gpg | gnupg; however:
-   Package gpg is not installed.
-   Package gnupg is not configured yet.
- 
- dpkg: error processing package debsig-verify (--configure):
-  dependency problems - leaving unconfigured
- Setting up libk5crypto3:amd64 (1.16-2build1) ...
- Setting up libip6tc-dev:amd64 (1.6.1-2ubuntu2) ...
- Setting up libxtables-dev:amd64 (1.6.1-2ubuntu2) ...
- Setting up libfcitx-gclient1:amd64 (1:4.2.9.6-1) ...
- Processing triggers for desktop-file-utils (0.22-1ubuntu5.1) ...
- Setting up libharfbuzz0b:amd64 (1.7.2-1ubuntu1) ...
- Setting up libpangoft2-1.0-0:amd64 (1.40.14-1) ...
- Setting up libpython3.6-minimal:amd64 (3.6.5-3) ...
- Setting up libiptc-dev:amd64 (1.6.1-2ubuntu2) ...
- Setting up libexpat1-dev:amd64 (2.2.5-3) ...
- Setting up libkrb5-3:amd64 (1.16-2build1) ...
- Processing triggers for fontconfig (2.11.94-0ubuntu1.1) ...
- Setting up libpython3.6-stdlib:amd64 (3.6.5-3) ...
- Setting up iptables-dev:amd64 (1.6.1-2ubuntu2) ...
- Setting up libpangoxft-1.0-0:amd64 (1.40.14-1) ...
- Setting up libpangocairo-1.0-0:amd64 (1.40.14-1) ...
- Setting up libgtk-3-0:amd64 (3.22.30-1ubuntu1) ...
- Setting up libgssapi-krb5-2:amd64 (1.16-2build1) ...
- Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20180209-0ubuntu1) ...
- Rebuilding /usr/share/applications/bamf-2.index...
- Setting up libclutter-gtk-1.0-0:amd64 (1.8.4-3) ...
- Setting up libgail-3-0:amd64 (3.22.30-1ubuntu1) ...
- Setting up libunity-control-center1 (15.04.0+18.04.20180216-0ubuntu1) ...
- Setting up libpython3-stdlib:amd64 (3.6.5-3) ...
- Setting up libpango1.0-0:amd64 (1.40.14-1) ...
- Processing triggers for libc-bin (2.27-3ubuntu1) ...
- Errors were encountered while processing:
-  unity-control-center
-  libgoa-backend-1.0-1:amd64
-  python3.6
-  python3-apt
-  gnupg
-  gnupg2
-  python3-minimal
-  python-apt
-  libgnupg-interface-perl
-  software-properties-common
-  debsig-verify
- 
- Upgrade complete
- 
- The upgrade has completed but there were errors during the upgrade 
- process. 
- 
- To continue please press [ENTER]
+ [Regression Potential]
+ Its possible this could cause or reveal different upgrade failures so some 
extensive (desktop, cloud, server) upgrade testing should be done.
  
  
- Thanks
+ [A Portion of the Original Description (it was a huge blob of failure)]
+ do-release-upgrade -d  on my 16.04 LTS unity laptop lead to an install 
failure:

** Changed in: python3-defaults (Ubuntu Artful)
     Assignee: (unassigned) => Brian Murray (brian-murray)

** Changed in: python3-defaults (Ubuntu Bionic)
     Assignee: (unassigned) => Brian Murray (brian-murray)

** Changed in: python3-defaults (Ubuntu Artful)
       Status: Triaged => In Progress

** Changed in: python3-defaults (Ubuntu Bionic)
       Status: Triaged => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to python3-defaults in
Ubuntu.
https://bugs.launchpad.net/bugs/1768379

Title:
  python3-minimal should predepend on versioned version of
  python3-minimal

Status in python3-defaults package in Ubuntu:
  Triaged
Status in ubuntu-release-upgrader package in Ubuntu:
  Invalid
Status in python3-defaults source package in Artful:
  In Progress
Status in ubuntu-release-upgrader source package in Artful:
  Invalid
Status in python3-defaults source package in Bionic:
  In Progress
Status in ubuntu-release-upgrader source package in Bionic:
  Invalid
Status in python3-defaults package in Debian:
  New

Bug description:
  [Impact]
  Release upgrades from Ubuntu 16.04 LTS to either Ubuntu 17.10 or Ubuntu 18.04 
LTS can fail if python3-minimial is unpacked before python3.x-minimal so a 
system won't have a usable python3 symlink. Then upgrades will fail because 
py3clean, used in prerm scripts of python3 packages, will fail with "not found".

  [Test Case]
  1) on a Ubuntu 16.04 LTS system with python3-apt installed download debs for 
Ubuntu 17.10 or 18.04 LTS of python3-minimal and python3-apt
  2) dpkg --unpack python3-minimal...
  3) dpkg --unpack python3-apt...

  Observe the following Traceback:

  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

  With the deb python3-minimal from -proposed you won't be able to
  unpack python3-minimal without first installing python3.6-minimal.
  While that may qualify as verification it'd still be good to test
  unpacking python3-apt. To do that you'll need to install
  python3.6-minimal from the target release by editing you
  /etc/apt/sources.list to the new release, running 'apt-get update',
  and then 'apt-get install python3.6-minimal'. After that's all done
  you can try steps 2 and 3 from the test case again and you should not
  receive a Traceback.

  [Regression Potential]
  Its possible this could cause or reveal different upgrade failures so some 
extensive (desktop, cloud, server) upgrade testing should be done.

  
  [A Portion of the Original Description (it was a huge blob of failure)]
  do-release-upgrade -d  on my 16.04 LTS unity laptop lead to an install 
failure:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3-defaults/+bug/1768379/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to