does not block follow up errors from earlier reports
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
update-manager (Ubuntu) |
Fix Released
|
High
|
Brian Murray | ||
Oneiric |
Won't Fix
|
High
|
Unassigned | ||
Precise |
Fix Released
|
High
|
Brian Murray |
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/
# we do not report followup errors from earlier failures
if gettext.
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/
- set DPKG_UNTRANSLAT
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.
Changed in update-manager (Ubuntu): | |
assignee: | nobody → Brian Murray (brian-murray) |
importance: | Undecided → High |
status: | New → Triaged |
Changed in update-manager (Ubuntu Oneiric): | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in update-manager (Ubuntu Precise): | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in update-manager (Ubuntu Precise): | |
status: | Triaged → In Progress |
assignee: | nobody → Brian Murray (brian-murray) |
This bug was fixed in the package update-manager - 1:0.160
---------------
update-manager (1:0.160) quantal; urgency=low
[ Colin Watson ] parsedate (with a DST handling correction) rather than gnupginterface is not likely to be ported to Python 3, and er/auto- install- tester. py er/auto- install- tester. py dist-upgrade. py; these have no __package__ and so cannot newlines= True when expecting to read key(key) ".
* Use Python 3-style print functions.
* Use "except Exception as e" syntax rather than the old-style "except
Exception, e".
* Fix a few assorted pyflakes warnings.
* Use string methods rather than functions from the string module.
* Replace most uses of filter and map with list comprehensions or for
loops.
* Use open() rather than file().
* Use Python 3 renaming of ConfigParser if available.
* Use "raise Exception(value)" syntax rather than the old-style "raise
Exception, value".
* Remove duplicate imports of os.path; 'import os' is enough.
* Use Python 3 renamings of urllib, urllib2, and urlparse if available.
* Remove all hard tabs from Python code. Python 3 no longer tolerates
mixing tabs and spaces for indentation.
* Use Python 3 renaming of httplib if available.
* Use email.utils.
the long-deprecated rfc822.parsedate.
* Use the threading module instead of thread (renamed to _thread in Python
3).
* Tell Python to use absolute imports by default, and annotate cases where
we need relative imports.
* Update test_proxy to use gsettings and the python-apt 0.8 API.
* Use new-style octal literals.
* Drop use of deprecated statvfs module.
* Use Python 3 renamings of BaseHTTPServer and SocketServer if available.
* Modernise use of unittest methods.
* Use python-apt 0.8 API spellings of apt_pkg.config methods.
* Fix several ResourceWarnings with Python 3.
* Port to python-apt 0.8 progress classes.
* Since python-
since it's almost just as easy to call gpg directly via subprocess, do
so.
* Use gettext if ugettext does not exist (as in Python 3).
* Ignore __pycache__ directories, and exclude them from dist-upgrader
tarballs.
* Fix up module path when running AutoUpgradeTest
from the build tree.
* Add a DistUpgrade -> . symlink in DistUpgrade/, to make it possible to
have compatible imports both in update-manager proper and in
dist-upgrader tarballs.
* Use only absolute imports in AutoUpgradeTest
and DistUpgrade/
use relative imports.
* Open subprocesses with universal_
text from them. On Python 2, this only enables \r\n conversion and the
like, but on Python 3 this also causes subprocess-related file objects
to read str rather than bytes.
* Use "key in dict" rather than "dict.has_
* Pass globals() to __import__ so that relative imports work.
[ Michael Vogt ] er/profile/ defaults. cfg.d/defaults. cfg:
* DistUpgrade/*.py:
- update for the 12.04 -> 12.10 upgrade
* AutoUpgradeTest
- update for precise->quantal
* fix some remaining python-apt 0.8+ API issues
[ Brian Murray ] DistUpgradeAppo rt.py
* DistUpgrade/
- check errormsg for the English version of the dependency problems error
first (LP: #...