Re: default language setting on a fresh system [was: Re: base-config cruft cleanup]

2001-05-24 Thread Arthur Korn
Marcin Owsiany schrieb: > > Something like ~/.environment would probably make more sense, > > Right. Good idea. Now we need to think of a name that isn't > already used by some shell. (that shell'd better use ~/._environment ...) And of a way to make it useable with bourne, C and other shells (

Re: default language setting on a fresh system [was: Re: base-config cruft cleanup]

2001-05-24 Thread Marcin Owsiany
On Thu, May 24, 2001 at 01:40:39AM +0200, Arthur Korn wrote: > Marcin Owsiany schrieb: > > The problem is that for bash by default, > > > > login shells source _only_ .bash_profile, and > > interactive _non-login_ shells source _only_ .bashrc > > > > I suggest that we wri

dbootstrap_settings (was Re: base-config cruft cleanup)

2001-05-24 Thread Adam Di Carlo
FYI, I suppose you already know, but he did manage to do this. I show the following dbootstrap_settings settings: KEYBD='i386/qwerty/us' DEBUG='true' DEBIAN_MIRROR_HOSTNAME='http.us.debian.org' DEBIAN_MIRROR_PATH='debian' DEBIAN_MIRROR_PORT='80' note that LANGUAGE issue isn't yet coming u

Re: default language setting on a fresh system [was: Re: base-config cruft cleanup]

2001-05-23 Thread Arthur Korn
Marcin Owsiany schrieb: > The problem is that for bash by default, > > login shells source _only_ .bash_profile, and > interactive _non-login_ shells source _only_ .bashrc > > I suggest that we write the language used for installation to > /etc/default/language and work with

default language setting on a fresh system [was: Re: base-config cruft cleanup]

2001-05-23 Thread Marcin Owsiany
On Tue, May 15, 2001 at 10:41:03AM -0400, Adam Di Carlo wrote: > > > Well the form I want it in is the correct form. "ll" is not a valid > > language code setting, "ll_LL" is. > > Ok -- are you saying dbootstrap *must* set it in the xx_YY form? > > > But I had been thinking that the > > boot-fl

Re: base-config cruft cleanup

2001-05-15 Thread peter karlsson
Joey Hess: > Don't you get tired of seeing those messages everywhere? Well, they are overridden by my LC_ALL setting (sv_SE.ISO8859-1). However, LANG=sv is a correct setting, setting LANG to sv_SE is just stupid, because there's no difference in the *written language* between the two locales tha

Re: base-config cruft cleanup

2001-05-15 Thread Anthony Towns
On Tue, May 15, 2001 at 10:57:37AM -0400, Joey Hess wrote: > > Also, for cdrom installs, and maybe for file:/ installs, the sources.list > > debootstrap writes may well be broken. :( > Ugh. Then apt-setup will need to test it and comment it out if it's > broken. Or is this something fixable in deb

Re: base-config cruft cleanup

2001-05-15 Thread Joey Hess
Adam Di Carlo wrote: > Ok -- are you saying dbootstrap *must* set it in the xx_YY form? Well, I know that just the ll form is going to cause breakage. There are certianly other forms that arn't ll_LL that do not, but that seems easiest. > > Should I change it to do something? What? > > It shoul

Re: base-config cruft cleanup

2001-05-15 Thread Joey Hess
peter karlsson wrote: > It is indeed valid to specify a language code without a qualifier, for > my LANG setting, I always use "sv", whereas I have "sv_SE.ISO8859-1" > set for my LC_ALL. When it comes to the language settings (LANG, > LC_MESSAGES), most languaegs don't need a qualifier at all, sin

Re: base-config cruft cleanup

2001-05-15 Thread Joey Hess
Anthony Towns wrote: > Nope, but I only create it if it doesn't already exist. (So if > b-f's/dbootstrap create a dummy file, debootstrap won't touch it) Oh, I see -- if you do this _before_ installing apt, it will never copy in its example sources.list in its postinst. If that's it, then all sh

Re: base-config cruft cleanup

2001-05-15 Thread Adam Di Carlo
Joey Hess <[EMAIL PROTECTED]> writes: > Well the form I want it in is the correct form. "ll" is not a valid > language code setting, "ll_LL" is. Ok -- are you saying dbootstrap *must* set it in the xx_YY form? > But I had been thinking that the > boot-floppies were possibly setting this in /etc

Re: base-config cruft cleanup

2001-05-14 Thread peter karlsson
Joey Hess: > Well the form I want it in is the correct form. "ll" is not a valid > language code setting, "ll_LL" is. It is indeed valid to specify a language code without a qualifier, for my LANG setting, I always use "sv", whereas I have "sv_SE.ISO8859-1" set for my LC_ALL. When it comes to th

Re: base-config cruft cleanup

2001-05-14 Thread Anthony Towns
On Tue, May 15, 2001 at 12:27:11AM -0400, Joey Hess wrote: > Anthony Towns wrote: > > > Oh, is that the form debootstrap uses? Not particularly good on my end, > > > but I can parse it if necessary, I suppose. > > FWIW, debootstrap dumps the settings it used to > > $TARGET/etc/apt/sources.list, to

Re: base-config cruft cleanup

2001-05-14 Thread Joey Hess
David Whedon wrote: > > Not particularly good on my end, > > but I can parse it if necessary, I suppose. > I do have host and path available separately without effort, you want > DEBIAN_MIRROR_HOSTNAME > and > DEBIAN_MIRROR_PATH > ? I would prefer that if it is truely no additional effort. --

Re: base-config cruft cleanup

2001-05-14 Thread Joey Hess
Anthony Towns wrote: > > Oh, is that the form debootstrap uses? Not particularly good on my end, > > but I can parse it if necessary, I suppose. > > FWIW, debootstrap dumps the settings it used to > $TARGET/etc/apt/sources.list, too. Oh, hmm. That would be great except I suppose you append to th

Re: base-config cruft cleanup

2001-05-14 Thread David Whedon
Mon, May 14, 2001 at 10:42:15PM -0400 wrote: > David Whedon wrote: > > http://debian.gnaps.com/debian/ > > > > I say in theory because last time I tried debootstrap exited with an error (even > > though the install appeared to work) so the variable wasn't written, but it > > probably does work. >

Re: base-config cruft cleanup

2001-05-14 Thread Anthony Towns
On Mon, May 14, 2001 at 10:42:15PM -0400, Joey Hess wrote: > David Whedon wrote: > > http://debian.gnaps.com/debian/ > > I say in theory because last time I tried debootstrap exited with an error (even > > though the install appeared to work) so the variable wasn't written, but it > > probably doe

Re: base-config cruft cleanup

2001-05-14 Thread Joey Hess
David Whedon wrote: > http://debian.gnaps.com/debian/ > > I say in theory because last time I tried debootstrap exited with an error (even > though the install appeared to work) so the variable wasn't written, but it > probably does work. Oh, is that the form debootstrap uses? Not particularly g

Re: base-config cruft cleanup

2001-05-14 Thread David Whedon
Mon, May 14, 2001 at 09:46:20PM -0400 wrote: > David Whedon wrote: > > > - From my TODO: > > > > > > * Aph can add dboostrap_settings info that says where they got base.tgz > > > from. This might be able to be used to tell where the archive they used is. > > > > > > Updating that thought

Re: base-config cruft cleanup

2001-05-14 Thread Joey Hess
David Whedon wrote: > > - From my TODO: > > > > * Aph can add dboostrap_settings info that says where they got base.tgz > > from. This might be able to be used to tell where the archive they used is. > > > > Updating that thought to the present, if debootstrap downloads packages from > >

Re: base-config cruft cleanup

2001-05-14 Thread Joey Hess
Adam Di Carlo wrote: > Joey Hess <[EMAIL PROTECTED]> writes: > > > I want to check and see if some of the uglier cruft in base-config can > > be removed for the woody boot-floppies. Can anyone verify: > > > > - If LANG is set, will it be properly set to a ll_LL form? Base-config > > had some c

Re: base-config cruft cleanup

2001-05-12 Thread Adam Di Carlo
Joey Hess <[EMAIL PROTECTED]> writes: > I want to check and see if some of the uglier cruft in base-config can > be removed for the woody boot-floppies. Can anyone verify: > > - If LANG is set, will it be properly set to a ll_LL form? Base-config > had some code to deal with the ll form, which

Re: base-config cruft cleanup

2001-05-09 Thread David Whedon
> - From my TODO: > > * Aph can add dboostrap_settings info that says where they got base.tgz > from. This might be able to be used to tell where the archive they used is. > > Updating that thought to the present, if debootstrap downloads packages from > the net, we know whatever serve

base-config cruft cleanup

2001-05-09 Thread Joey Hess
I want to check and see if some of the uglier cruft in base-config can be removed for the woody boot-floppies. Can anyone verify: - If LANG is set, will it be properly set to a ll_LL form? Base-config had some code to deal with the ll form, which broke perl. (I've already removed that code.)