FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 02-02-2008, 08:00 AM
Alex Samad
 
Default debconf problem

Hi

I am trying to use debconf to setup some other packages from within a meta
package.


I have grabbed the desired debconf setting with

debconf-get-selections | grep -i locale

I get back

locales locales/locales_to_be_generated multiselect en_AU ISO-8859-1,
en_AU.UTF-8 UTF-8, en_GB ISO-8859-1, en_GB.ISO-8859-15 ISO-8859-15, en_GB.UTF-8
UTF-8, en_US ISO-8859-1, en_US.ISO-8859-15 ISO-8859-15, en_US.UTF-8 UTF-8


on the destination machine i tried

echo "locales locales/locales_to_be_generated multiselect en_AU ISO-8859-1,
en_AU.UTF-8 UTF-8, en_GB ISO-8859-1, en_GB.ISO-8859-15 ISO-8859-15, en_GB.UTF-8
UTF-8, en_US ISO-8859-1, en_US.ISO-8859-15 ISO-8859-15, en_US.UTF-8 UTF-8" |
debconf-set-selection

but I get an error

warning: Unknown type en_AU.UTF-8, skipping line 1

no win the man page for debconf-set-selection it reacons this will work
debconf-get-selections | ssh newhost debconf-set-selections

I guess I doing the above but just for locales





-- "We've tripled the amount of money -- I believe it's from $50 million up to
$195 million available."

- George W. Bush
03/23/2002
Lima, Peru
 
Old 02-02-2008, 08:02 AM
Alex Samad
 
Default debconf problem

On Sat, Feb 02, 2008 at 08:00:16PM +1100, Alex Samad wrote:
> Hi
>
> I am trying to use debconf to setup some other packages from within a meta
> package.
>
>
> I have grabbed the desired debconf setting with
>
> debconf-get-selections | grep -i locale
>
> I get back
>
> locales locales/locales_to_be_generated multiselect en_AU ISO-8859-1,
> en_AU.UTF-8 UTF-8, en_GB ISO-8859-1, en_GB.ISO-8859-15 ISO-8859-15, en_GB.UTF-8
> UTF-8, en_US ISO-8859-1, en_US.ISO-8859-15 ISO-8859-15, en_US.UTF-8 UTF-8
>
>
> on the destination machine i tried
>
> echo "locales locales/locales_to_be_generated multiselect en_AU ISO-8859-1,
> en_AU.UTF-8 UTF-8, en_GB ISO-8859-1, en_GB.ISO-8859-15 ISO-8859-15, en_GB.UTF-8
> UTF-8, en_US ISO-8859-1, en_US.ISO-8859-15 ISO-8859-15, en_US.UTF-8 UTF-8" |
> debconf-set-selection
>
> but I get an error
>
> warning: Unknown type en_AU.UTF-8, skipping line 1
>
> no win the man page for debconf-set-selection it reacons this will work
> debconf-get-selections | ssh newhost debconf-set-selections
>
> I guess I doing the above but just for locales

okay ignore this my cut and paste wasn't working properly, some space had been
chopped off!
>
>
>
>
>
> -- "We've tripled the amount of money -- I believe it's from $50 million up to
> $195 million available."
>
> - George W. Bush
> 03/23/2002
> Lima, Peru



--
"Take it from me, whenever you see a bunch of buggers puttering
around talking about truth and beauty and the best way of attacking
Ethics, you can bet your sandals it's all because dozens of other
poor buggers are doing all the real work around the place."
(Small Gods)
 
Old 02-02-2008, 11:46 AM
Alex Samad
 
Default debconf problem

On Sat, Feb 02, 2008 at 08:02:29PM +1100, Alex Samad wrote:
> On Sat, Feb 02, 2008 at 08:00:16PM +1100, Alex Samad wrote:
> > Hi
> >
> > I am trying to use debconf to setup some other packages from within a meta
> > package.
> >
> >
> > I have grabbed the desired debconf setting with
> >
> > debconf-get-selections | grep -i locale
> >
> > I get back
> >
> > locales locales/locales_to_be_generated multiselect en_AU ISO-8859-1,
> > en_AU.UTF-8 UTF-8, en_GB ISO-8859-1, en_GB.ISO-8859-15 ISO-8859-15, en_GB.UTF-8
> > UTF-8, en_US ISO-8859-1, en_US.ISO-8859-15 ISO-8859-15, en_US.UTF-8 UTF-8
> >
> >
> > on the destination machine i tried
> >
> > echo "locales locales/locales_to_be_generated multiselect en_AU ISO-8859-1,
> > en_AU.UTF-8 UTF-8, en_GB ISO-8859-1, en_GB.ISO-8859-15 ISO-8859-15, en_GB.UTF-8
> > UTF-8, en_US ISO-8859-1, en_US.ISO-8859-15 ISO-8859-15, en_US.UTF-8 UTF-8" |
> > debconf-set-selection
> >
[snip]

but this doesn't seem to work, when i try dpkg-reconfigure -pcritical locales
it has the original setting not the ones I have placed into debconf ?

what am i missing

--
One learns to itch where one can scratch.
-- Ernest Bramah
 

Thread Tools




All times are GMT. The time now is 12:59 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org