Bug 25070

Summary: Doesn't check if a locale is supported before setting it
Product: PackageKit Reporter: Sebastian Heinlein <devel>
Component: backend-aptAssignee: Richard Hughes <richard>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
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.