[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debconf and PackageKit



On Tue, Sep 29, 2009 at 10:26:01 -0700, Daniel Nicoletti wrote:

> >>>This solution is not implemented as I don't know debconf verry well
> but there is one problem that I'd like to know if there is a already a way
> to deal with this:
> when aptcc backend starts installing packages it's status are in a fd
> which might be localized is LANG is set, so I clean LANG
> and get dpkg to give strings like
> removing, unpacking, that can be converted to an enum.
> The problem is if i unset LANG debconf is not localized too
> so the user will see debconf dialog in english.
> 
I don't understand this part.  Why would you have to unset LANG?  What
exactly do you want to avoid being localized?

> My solution would be to have an extra env var like
> DEBCONF_LANG or DPKG_LANG
> (sorry if they already exist but i could not find it)
> This way dpkg can run not localized and debconf
> will have the right locale.
> 
> Please be kind as I'm not familiar with this list :P
> and don't know debconf and dpkg internals...
> If you want download PackageKit and please
> try aptcc :D
> 
> (BTW please send me links with intesreting
> info about debconf protocol, I could only find it
> from a package maintainer POV)
> 
/usr/share/doc/debian-policy/debconf_specification.html

Cheers,
Julien


Reply to: