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
Status: RESOLVED INVALID
Alias: None
Product: PackageKit
Classification: Unclassified
Component: backend-apt (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Richard Hughes
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
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:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.


bug/show.html.tmpl processed on Mar 29, 2017 at 18:55:43.
(provided by the Example extension).