[Bug 680328] Re: Many postinst scripts fail using either AptDaemon, PackageKit, or QApt

Colin Watson cjwatson at canonical.com
Mon Jan 24 23:55:52 UTC 2011


Thanks!

Matthias, regarding your comment on the upstream list (I have delivery
disabled on the packagekit list, so didn't get a copy of your message,
so this is the easiest way to reply ... sorry):

> I'll apply them to the Debian packaging, as well as 0002, but I don't know
> why the current LC_ALL approach is wrong...

I went into some detail in the patch itself, although not in the
covering letter.  The best way I can think of to put it is that
setlocale(LC_ALL, NULL) *may* return a composite name
("category=value;category=value;..."), while setlocale(LC_anythingelse,
NULL) *may not* return a composite name, and you may only give a
composite name back as the value of LC_ALL, not as the value of any
other locale category.  PackageKit was trying to take the value of
LC_ALL and set it as the value of LANG, which is not guaranteed to work.

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to qapt in ubuntu.
https://bugs.launchpad.net/bugs/680328

Title:
  Many postinst scripts fail using either AptDaemon, PackageKit, or QApt




More information about the kubuntu-bugs mailing list