[Bug 1884148] Re: dist upgrade process passes a number along with package to apport

Brian Murray 1884148 at bugs.launchpad.net
Thu Jul 2 17:19:23 UTC 2020


Using the version of the dist-upgrader from focal-proposed I did not
encounter a Traceback and did end up with a crash file about the
installation of pure-ftpd-common. So I'm setting this to verification-
done.

bdmurray at clean-bionic-amd64:/tmp/u-r-u$ ls /var/crash/
pure-ftpd-common.0.crash
bdmurray at clean-bionic-amd64:/tmp/u-r-u$ head /var/log/dist-upgrade/main.log 
2020-07-02 09:55:51,371 INFO Using config files '['./DistUpgrade.cfg.bionic']'
2020-07-02 09:55:51,371 INFO uname information: 'Linux clean-bionic-amd64 4.15.0-109-generic #110-Ubuntu SMP Tue Jun 23 02:39:32 UTC 2020 x86_64'
2020-07-02 09:55:51,759 INFO apt version: '1.6.12ubuntu0.1'
2020-07-02 09:55:51,759 INFO python version: '3.6.9 (default, Apr 18 2020, 01:56:04) 
[GCC 8.4.0]'
2020-07-02 09:55:51,761 INFO release-upgrader version '20.04.20' started
2020-07-02 09:55:51,766 INFO locale: 'en_US' 'UTF-8'
2020-07-02 09:55:51,872 DEBUG Using 'DistUpgradeViewText' view
2020-07-02 09:55:51,912 DEBUG enable dpkg --force-overwrite
2020-07-02 09:55:51,941 DEBUG creating statefile: '/var/log/dist-upgrade/apt-clone_system_state.tar.gz'
bdmurray at clean-bionic-amd64:/tmp/u-r-u$ cat /etc/os-release 
NAME="Ubuntu"
VERSION="20.04 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04 LTS"


** Tags removed: verification-needed verification-needed-focal
** Tags added: verification-done verification-done-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