[Bug 1884148] Re: dist upgrade process passes a number along with package to apport
Brian Murray
1884148 at bugs.launchpad.net
Tue Jul 7 23:20:48 UTC 2020
Hello errors.ubuntu.com, or anyone else affected,
Accepted ubuntu-release-upgrader into focal-proposed. The package will
build now and be available at https://launchpad.net/ubuntu/+source
/ubuntu-release-upgrader/1:20.04.21 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, what testing has been
performed on the package and change the tag from verification-needed-
focal to verification-done-focal. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-focal. 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 for helping!
N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.
** Tags removed: verification-done verification-done-focal
** Tags added: verification-needed verification-needed-focal
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1884148
Title:
dist upgrade process passes a number along with package to apport
Status in ubuntu-release-upgrader package in Ubuntu:
Fix Released
Status in ubuntu-release-upgrader source package in Focal:
Fix Committed
Bug description:
[Impact]
The distribution upgrade process is passing to apport packages with numbers prepended to them, this then causes apport to crash and bugs about package installation failures not to be reported.
[Test Case]
1) Install the package pure-ftpd on an 18.04 LTS system
2) Run 'do-release-upgrade -d' to upgrade to 20.04 LTS
With the version of the dist-upgrader in the release pocket you'll
receive the Traceback in comment #2.
To test the dist-upgrader from -proposed you'll actually have to
download and use the dist-upgrader tarball from
http://archive.ubuntu.com/ubuntu/dists/focal-proposed/main/dist-
upgrader-all/current/focal.tar.gz. When running that version of the
dist-upgrader you should not receive a Traceback and have a pure-ftpd-
common crash file in /var/crash/.
This is actually also recreatable when upgrading from 19.10 to 20.04
and that would be easier as you can use 'do-release-upgrader -p' to
test the new version of the dist-upgrader.
[Regression Potential]
The code change is a just a simple check to see if the package name starts with a number which then removes the number. So the only chance of regression is the additional python code being bad which it isn't.
Original Description
--------------------
The Ubuntu Error Tracker has been receiving reports about a problem regarding apport. This problem was most recently seen with package version 2.20.11-0ubuntu40, the problem page at https://errors.ubuntu.com/problem/976abccbca7b548c9ccf155c80c8eb6f36efa7de contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports.
If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://forms.canonical.com/reports/.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1884148/+subscriptions
More information about the foundations-bugs
mailing list