Bug 25070 - Doesn't check if a locale is supported before setting it
Summary: Doesn't check if a locale is supported before setting it
Alias: None
Product: PackageKit
Classification: Unclassified
Component: backend-apt (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Richard Hughes
QA Contact:
Depends on:
Reported: 2009-11-13 02:47 UTC by Sebastian Heinlein
Modified: 2012-01-05 10:54 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Description Sebastian Heinlein 2009-11-13 02:47:41 UTC
The transaction allows to set a specific locale. Packagekitd uses this value to set the LANG env for spawned backends.

But on Debian/Ubuntu not all locale definitions of libc are shipped by default. They get generated from source by request.

If the daemon sets a not supported locale this will lead in a crash of a spawned python backend - which uses the locale settings for decoding stdin correctly.
Comment 1 Jean-François Fortin Tam 2012-01-05 10:54:07 UTC
Hi there,
This bug report is very old and based on a version not supported anymore. By upgrading to a newer version of PackageKit you could receive bug fixes and new functionality. You may need to upgrade your Linux distribution to obtain a newer version of PackageKit.
Please feel free to reopen this bug if the problem still occurs with the latest version.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.