[Bug 1768379] Re: python3-minimal should predepend on versioned version of python3-minimal
Ćukasz Zemczak
1768379 at bugs.launchpad.net
Thu Jun 28 14:57:14 UTC 2018
Hello Seth, or anyone else affected,
Accepted python3-defaults into bionic-proposed. The package will build
now and be available at
https://launchpad.net/ubuntu/+source/python3-defaults/3.6.5-3ubuntu1 in
a few hours, and then in the -proposed repository.
Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.Your feedback will aid us getting this
update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-bionic to verification-done-bionic. If it does not
fix the bug for you, please add a comment stating that, and change the
tag to verification-failed-bionic. In either case, without details of
your testing we will not be able to proceed.
Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance!
** Changed in: python3-defaults (Ubuntu Bionic)
Status: In Progress => Fix Committed
** Tags added: verification-needed verification-needed-bionic
** Changed in: python3-defaults (Ubuntu Artful)
Status: In Progress => Fix Committed
** Tags added: verification-needed-artful
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, 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:
Fix Committed
Status in ubuntu-release-upgrader source package in Artful:
Invalid
Status in python3-defaults source package in Bionic:
Fix Committed
Status in ubuntu-release-upgrader source package in Bionic:
Invalid
Status in python3-defaults package in Debian:
Fix Released
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
More information about the foundations-bugs
mailing list