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

Brian Murray brian at ubuntu.com
Tue May 15 19:33:28 UTC 2012


Public bug reported:

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.

** Affects: update-manager (Ubuntu)
     Importance: High
     Assignee: Brian Murray (brian-murray)
         Status: Triaged

** Changed in: update-manager (Ubuntu)
     Assignee: (unassigned) => Brian Murray (brian-murray)

** Changed in: update-manager (Ubuntu)
   Importance: Undecided => High

** Changed in: update-manager (Ubuntu)
       Status: New => Triaged

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