add-apt-repository crashed with Error in setlocale()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
software-properties (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
$ add-apt-repository [Enter]
Traceback (most recent call last):
File "/usr/bin/
locale.
File "/usr/lib/
return _setlocale(
locale.Error: unsupported locale setting
ProblemType: Crash
Architecture: i386
Date: Sat Oct 31 21:24:50 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/bin/
InterpreterPath: /usr/bin/python2.6
NonfreeKernelMo
Package: python-
PackageArchitec
ProcCmdline: /usr/bin/python /usr/bin/
ProcEnviron:
SHELL=/bin/bash
PATH=(custom, user)
LANG=en_US.UTF-8
LC_TIME=
ProcVersionSign
PythonArgs: ['/usr/
SourcePackage: software-properties
Title: add-apt-repository crashed with Error in setlocale()
Uname: Linux 2.6.31-14-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare svn
Related branches
- No reviews requested
tags: | removed: need-duplicate-check |
Changed in software-properties (Ubuntu): | |
status: | New → Fix Committed |
importance: | Undecided → Medium |
visibility: | private → public |
This bug was fixed in the package software-properties - 0.75.8
---------------
software-properties (0.75.8) lucid; urgency=low
[ Michael Vogt ] ies/gtk/ SoftwarePropert iesGtk. py: manpages/ software- properties- gtk.1: properties- gtk: properties- gtk.desktop. in: manpages/ add-apt- repository. 1: ies/SoftwarePro perties. py:
* softwarepropert
- do not crash if tranient parent can not be set (LP: #83914)
* debian/
- add man-page (thanks to Gabe Gorelick) LP: #290308
* add-apt-repository:
- better help output (LP: #407779)
- do not crash if setlocale fails (LP: #467369)
* software-
- ensure newly created ppa files are readalbe (LP: #497778)
* data/software-
- fix desktop file location (thanks to Ricardo Pérez López)
LP: #543637
* provide apt-add-repository link (LP: #547194)
* debian/
- add man-page, thanks to Chow Loong Jin (LP: #407779)
* fix lintian warnings
* softwarepropert
- show summary in addition to comment for disabled entries
(LP: #543207)
[ Harald Sitter ]
* [KDE] Fix bug in I18nHelper, where it would trigger a crash if unicode()
to UTF-8 fails. Fallback to latin1 in this case. This for example happens
when the APT keyring contains a key with non-latin characters, which can
happen with PPA keys, since those contain the owner's name.
-- Michael Vogt <email address hidden> Fri, 26 Mar 2010 13:51:20 +0100