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

Launchpad Bug Tracker 999890 at bugs.launchpad.net
Sat Jun 2 01:05:37 UTC 2012


** Branch linked: lp:ubuntu/update-manager

-- 
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:
  Triaged

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