aptd crashed with UnicodeDecodeError in _emit_acquire_item(): 'ascii' codec can't decode byte 0xd0 in position 0: ordinal not in range(128)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
aptdaemon (Ubuntu) |
Fix Released
|
Critical
|
Unassigned | ||
Precise |
Fix Released
|
Critical
|
Steve Langasek |
Bug Description
[Impact]
Regression introduced in the previous SRU because a format string is now a unicode while one of the arguments is still a string. This generally causes aptd to crash for all users who are running in a locale where either their language name or the name of the English language contains non-ASCII characters.
[Test case]
1. Using gnome-language-
2. Install aptdaemon from precise-proposed.
3. Run update-manager and choose "Update" (listed as "Проверить")
4. Verify that aptdaemon does not crash, and the package lists are updated successfully from the
[Regression potential]
Minimal. The patch includes a test case, which has been manually run to verify it succeeds and there are no other regressions in the test suite (the test suite is not run at build time in precise). This is a fix for a regression introduced in a previous -proposed upload, and the bug can be considered resolved as soon as the problem is confirmed to be addressed in precise-proposed.
just crashed, don't know why, lol.
ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: aptdaemon 0.43+bzr805-
ProcVersionSign
Uname: Linux 3.2.0-29-generic x86_64
ApportVersion: 2.0.1-0ubuntu12
Architecture: amd64
Date: Thu Aug 9 13:27:54 2012
ExecutablePath: /usr/sbin/aptd
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
InterpreterPath: /usr/bin/python2.7
PackageArchitec
ProcCmdline: /usr/bin/python /usr/sbin/aptd
ProcEnviron:
PythonArgs: ['/usr/sbin/aptd']
SourcePackage: aptdaemon
Title: aptd crashed with UnicodeDecodeError in _emit_acquire_
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:
Related branches
- Colin Watson (community): Approve
-
Diff: 11606 lines (+11326/-22)25 files modified.pc/.quilt_patches (+1/-0)
.pc/.quilt_series (+1/-0)
.pc/.version (+1/-0)
.pc/applied-patches (+5/-0)
.pc/fix-lp-900982.patch/aptdaemon/enums.py (+698/-0)
.pc/fix-lp-932581.patch/aptdaemon/pkcompat.py (+2937/-0)
.pc/fix-lp-971748.patch/aptdaemon/networking.py (+262/-0)
.pc/fix-lp-971748.patch/aptdaemon/pkcompat.py (+2940/-0)
.pc/fix-lp-981124.patch/aptdaemon/client.py (+1697/-0)
.pc/fix_gettext_return_value_type.patch/aptdaemon/core.py (+2201/-0)
.pc/fix_gettext_return_value_type.patch/aptdaemon/utils.py (+88/-0)
aptdaemon/client.py (+8/-6)
aptdaemon/core.py (+20/-8)
aptdaemon/enums.py (+1/-1)
aptdaemon/networking.py (+11/-4)
aptdaemon/pkcompat.py (+10/-2)
aptdaemon/utils.py (+7/-1)
debian/changelog (+29/-0)
debian/patches/fix-lp-900982.patch (+19/-0)
debian/patches/fix-lp-932581.patch (+20/-0)
debian/patches/fix-lp-971748.patch (+87/-0)
debian/patches/fix-lp-981124.patch (+44/-0)
debian/patches/fix_gettext_return_value_type.patch (+171/-0)
debian/patches/series (+5/-0)
tests/regressions/test_lp768691.py (+63/-0)
- Aptdaemon Developers: Pending requested
-
Diff: 158 lines (+92/-9)3 files modifiedaptdaemon/core.py (+20/-8)
aptdaemon/utils.py (+7/-1)
tests/regressions/test_lp768691.py (+65/-0)
tags: | removed: need-duplicate-check |
Changed in aptdaemon (Ubuntu): | |
importance: | Undecided → Medium |
visibility: | private → public |
Changed in aptdaemon (Ubuntu): | |
importance: | Medium → Critical |
status: | New → Incomplete |
status: | Incomplete → Triaged |
Changed in aptdaemon (Ubuntu Precise): | |
status: | New → Incomplete |
status: | Incomplete → Triaged |
importance: | Undecided → Critical |
Changed in aptdaemon (Ubuntu): | |
status: | Triaged → Invalid |
tags: | added: regression-potential |
Changed in aptdaemon (Ubuntu Precise): | |
assignee: | nobody → Steve Langasek (vorlon) |
description: | updated |
Hello Kirill, or anyone else affected,
Accepted aptdaemon into precise-proposed. The package will build now and be available at http:// launchpad. net/ubuntu/ +source/ aptdaemon/ 0.43+bzr805- 0ubuntu4 in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See https:/ /wiki.ubuntu. com/Testing/ EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.
If this package fixes the bug for you, please change the bug tag from verification-needed to verification-done. If it does not, change the tag to verification- failed. In either case, details of your testing will help us make a better decision.
Further information regarding the verification process can be found at https:/ /wiki.ubuntu. com/QATeam/ PerformingSRUVe rification . Thank you in advance!