[Bug 999890] Re: does not block follow up errors from earlier reports

Jean-Baptiste Lallement jean-baptiste at ubuntu.com
Mon Aug 13 16:45:44 UTC 2012


SRU verification for Precise:
I have reproduced the problem with update-manager 1:0.156.14.6 in precise-updates and have verified that the version of update-manager 1:0.156.14.9 in -proposed fixes the issue.

TEST CASE
I intentionally corrupted the file /usr/sbin/update-mime which is frequently used in maintainer scripts and upgraded from Oneiric to Quantal and installed the system in French.

With the version from -proposed,  only the 1rst crash is reported.

Marking as verification-done


** Tags removed: verification-needed
** Tags added: verification-done

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-manager in Ubuntu.
https://bugs.launchpad.net/bugs/999890

Title:
  does not block follow up errors from earlier reports

Status in “update-manager” package in Ubuntu:
  Fix Released
Status in “update-manager” source package in Oneiric:
  Triaged
Status in “update-manager” source package in Precise:
  Fix Committed

Bug description:
  update-manager wants to prevent reporting apport-package problems
  regarding follow up errors from earlier reports, however it is failing
  to do so in some cases.

  In DistUpgrade/DistUpgraeApport.py  we have the code to block the
  reporting:

      # we do not report followup errors from earlier failures
      if gettext.dgettext('dpkg', "dependency problems - leaving unconfigured") in errormsg: 
          return False

  This works great if your dpkg error messages are in your native
  language.  However, they aren't by default since the following upload
  in update-manager:

  update-manager (1:0.151.8) oneiric; urgency=low

    * DistUpgrade/DistUpgradeViewGtk.py:
      - set DPKG_UNTRANSLATED_MESSAGES to force untranslated dpkg
        terminal messages for easier package failure duplication
        detection

  So if someone has their language set to a language other than English,
  then gettext.dgettext() will look up the translated version of the
  'dependency problems' error message.  The translated version won't
  appear in the errormsg because we don't translate them anymore.

  This should be fixed in Quantal, Precise and Oneiric to prevent
  reporting of bugs we aren't interested in.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/999890/+subscriptions




More information about the foundations-bugs mailing list