[Bug 1506971] Re: ubuntu-release-upgrader bugs regarding dpkg crashes lack useful information

Brian Murray brian at ubuntu.com
Fri Oct 16 17:59:20 UTC 2015


Looking at the ubuntu-release-upgrader package hook there is the
following code:

48     if problem_type == 'Crash':
 49         tmpdir = re.compile('ubuntu-release-upgrader-\w+')
 50         tb = report.get("Traceback", None)
 51         if tb: 
 52             dupe_sig = ''
 53             for line in tb.splitlines():
 54                 scrub_line = tmpdir.sub('ubuntu-release-upgrader-tmpdir', line)
 55                 dupe_sig += scrub_line + '\n'
 56             report["DuplicateSignature"] = dupe_sig

There is nothing abnormal there, scrubbing is just to replace the tmp
path in which the ubuntu-release-upgrader ones with one that is generic
enough so that upgrades from different systems will have not a unique
path in the traceback.

** Tags added: rls-x-incoming trusty vivid wily

-- 
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/1506971

Title:
  ubuntu-release-upgrader bugs regarding dpkg crashes lack useful
  information

Status in ubuntu-release-upgrader package in Ubuntu:
  New

Bug description:
  If we look at the following problem in the Ubuntu Error Tracker we can
  see hundreds of issues with the following duplicate signature -
  "SystemError ( E) Sub-process /usr/bin/dpkg returned an error code
  (1)".

  https://errors.ubuntu.com/problem/d2dd8ddd68b15cbf2c7a6e1dea241adf4a051ac0

  If we look at any specific instance of that problem
  (https://errors.ubuntu.com/oops/887de81c-7421-11e5-a1b7-fa163e4ccdf2)
  we see nothing more informative. This needs to be sorted out so that
  we don't keep binning crashes in that bucket and can create some
  actionable problems.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1506971/+subscriptions



More information about the foundations-bugs mailing list