• Locale setting

    From Adrian@21:1/5 to All on Sun Mar 5 16:16:28 2023
    I've got 8 Pis running. 7 of them SSH or SCP to the other one at
    various times. One of them (pi5) is now running Bullseye, and seems to
    have the locale set to en_US.UTF8, whereas the other 7 are on older OS
    versions and have the locale set to en_GB.UTF-8.

    When I try to SSH from pi5 to any of the others, I get :

    -bash: warning setlocale: LC_ALL: cannot change locale (en_US.UTF-8)

    I've tried using locale-gen to change the default on pi5 to the en_GB
    version, but it seems to hang. using raspi-config fails, generating a
    pile of error messages ending "No such file or directory"

    Altering $HOME/.profile and adding :

    LANG=en_GB.UTF-8

    seems to work, to the extend that echo $LANG now gives me the right
    value, but the SSH still gives me the same error.

    Running locale gives me :

    locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or
    directory
    locale: Cannot set LC_ALL to default locale: No such file or directory LANG=en_GB.UTF8

    but all other entries are en_US.UTF-8

    So what to try next ?

    Adrian
    --
    To Reply :
    replace "bulleid" with "adrian" - all mail to bulleid is rejected
    Sorry for the rigmarole, If I want spam, I'll go to the shops
    Every time someone says "I don't believe in trolls", another one dies.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Adrian@21:1/5 to All on Sun Mar 5 19:02:19 2023
    In message <393fdj-dge62.ln1@esprimo.zbmc.eu>, Chris Green <cl@isbd.net>
    writes
    It does take a *long* time to run, maybe you weren't patient enough.

    I just tried it on my (only) Pi 4:-

    root@pimedia:~# vi /etc/locale.gen
    root@pimedia:~# locale-gen
    Generating locales (this might take a while)...
    en_GB.UTF-8... done
    en_US.UTF-8... done
    Generation complete.
    root@pimedia:~#

    It took a fairly long time, maybe 30 seconds or more.



    Thanks. I know a Pi 3 is a bit slower than a Pi 4, but this was still
    running after ~10 minutes when I killed it. I'll try it again with the
    time command, and see what it comes up with. I doubt it makes any
    difference, but I was running it via sudo rather than from root.

    <goes off to play on pi5>

    OK, having had another look, what I'd run, that I ended up Crtl-Cing was locale-gen en_GB.UTF-8. Running what you did, it took 20 seconds, but
    didn't make any difference to the locale settings.

    Adrian
    --
    To Reply :
    replace "bulleid" with "adrian" - all mail to bulleid is rejected
    Sorry for the rigmarole, If I want spam, I'll go to the shops
    Every time someone says "I don't believe in trolls", another one dies.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Green@21:1/5 to Adrian on Sun Mar 5 18:22:59 2023
    Adrian <bulleid@ku.gro.lioff> wrote:
    I've got 8 Pis running. 7 of them SSH or SCP to the other one at
    various times. One of them (pi5) is now running Bullseye, and seems to
    have the locale set to en_US.UTF8, whereas the other 7 are on older OS versions and have the locale set to en_GB.UTF-8.

    When I try to SSH from pi5 to any of the others, I get :

    -bash: warning setlocale: LC_ALL: cannot change locale (en_US.UTF-8)

    I've tried using locale-gen to change the default on pi5 to the en_GB version, but it seems to hang.

    It does take a *long* time to run, maybe you weren't patient enough.

    I just tried it on my (only) Pi 4:-

    root@pimedia:~# vi /etc/locale.gen
    root@pimedia:~# locale-gen
    Generating locales (this might take a while)...
    en_GB.UTF-8... done
    en_US.UTF-8... done
    Generation complete.
    root@pimedia:~#

    It took a fairly long time, maybe 30 seconds or more.



    using raspi-config fails, generating a
    pile of error messages ending "No such file or directory"

    Altering $HOME/.profile and adding :

    LANG=en_GB.UTF-8

    seems to work, to the extend that echo $LANG now gives me the right
    value, but the SSH still gives me the same error.

    Running locale gives me :

    locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or
    directory
    locale: Cannot set LC_ALL to default locale: No such file or directory LANG=en_GB.UTF8

    but all other entries are en_US.UTF-8

    So what to try next ?

    Adrian
    --
    To Reply :
    replace "bulleid" with "adrian" - all mail to bulleid is rejected
    Sorry for the rigmarole, If I want spam, I'll go to the shops
    Every time someone says "I don't believe in trolls", another one dies.

    --
    Chris Green
    ·

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From jeshgrca@21:1/5 to All on Sun Mar 5 14:18:50 2023
    If I had to guess, I would say this is due to missing locale files as
    both raspi-config and locale are complaining about "No such file or
    directory". I would check the folder where your locale definitions are
    stored (on my system /usr/lib/locale) for the en_GB.UTF-8 locale
    definition. If it isn't there, that could be your problem.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Doc O'Leary ,@21:1/5 to Adrian on Sun Mar 5 20:52:47 2023
    For your reference, records indicate that
    Adrian <bulleid@ku.gro.lioff> wrote:

    So what to try next ?

    dpkg-reconfigure locales

    --
    "Also . . . I can kill you with my brain."
    River Tam, Trash, Firefly

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From NY@21:1/5 to Adrian on Sun Mar 5 21:41:43 2023
    On 05/03/2023 19:02, Adrian wrote:
    In message <393fdj-dge62.ln1@esprimo.zbmc.eu>, Chris Green <cl@isbd.net> writes
    It does take a *long* time to run, maybe you weren't patient enough.

    I just tried it on my (only) Pi 4:-

       root@pimedia:~# vi /etc/locale.gen
       root@pimedia:~# locale-gen
       Generating locales (this might take a while)...
         en_GB.UTF-8... done
         en_US.UTF-8... done
         Generation complete.
       root@pimedia:~#

    It took a fairly long time, maybe 30 seconds or more.



    Thanks.  I know a Pi 3 is a bit slower than a Pi 4, but this was still running after ~10 minutes when I killed it.  I'll try it again with the
    time command, and see what it comes up with.  I doubt it makes any difference, but I was running it via sudo rather than from root.

    <goes off to play on pi5>

    OK, having had another look, what I'd run, that I ended up Crtl-Cing was locale-gen en_GB.UTF-8.  Running what you did, it took 20 seconds, but didn't make any difference to the locale settings.

    If it took > 10 minutes, then something was wrong. I sometimes have to
    run localegen after a software update, because I prefer the "date"
    command to put the fields in a logical order "Sun 5 Mar 2023 21:33:49
    GMT" rather than the bizarre UNIX default of (I think) "Sun 5 Mar
    21:33:49 GMT 2023" (*); although I edit the file within the i18n tree structure, sometimes an update causes it to revert.

    I think localegen on both my Pi3 and Pi4 takes less than a minute to run
    - maybe quite a bit less.


    (*) Who decided that it was a good idea to separate the year from the
    day and month, with the time and timezone in between? It makes no more
    sense for UK DD MMM YYYY format than it does for US MMM DD YYYY format.
    For countries that use YYYY-MMM-DD format, I wonder how "date" listed it
    - maybe "Sun 2023 21:33:49 GMT 5 Mar" ;-)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Adrian@21:1/5 to ?.usenet@2023.impossiblystupid.com. on Sun Mar 5 22:55:13 2023
    In message <tu2vev$1edl5$1@dont-email.me>, Doc O'Leary <?.usenet@2023.impossiblystupid.com.invalid> writes
    For your reference, records indicate that
    Adrian <bulleid@ku.gro.lioff> wrote:

    So what to try next ?

    dpkg-reconfigure locales


    Thanks, but no joy there.
    perl: warning: setting locale failed.
    perl: warning: Please check that your locale setting:
    LANGUAGE = "en_US.UTF-8",
    LC_ALL = "en_US.UTF-8",
    LANG = = "en_US.UTF-8"
    are supported and installed on your system.
    perl: warning: falling back to a default locale ("en_GB.UTF-8")
    locale: cannot set LC_CTYPE to default locale: No such file or directory locale: cannot set LC_MESSAGES to default locale: No such file or
    directory
    locale: cannot set LC_ALL to default locale: No such file or directory /usr/bin/locale: Cannot set LC_TYPES to default locale: No such file or directory
    /usr/bin/locale: Cannot set LC_MESSAGES to default locale: No such file
    or directory
    /usr/bin/locale: Cannot set LC_ALL to default locale: No such file or
    directory
    Generating locales (this might take a while)...
    en-GB.UTF-8... done
    Generation complete.
    *** update-locale: Error: invalid locale settings: LANGUAGE=en_US.UTF-8 LC_ALL=en_US.UTF-8 LANG=en_GB.UTF-8

    Adrian
    --
    To Reply :
    replace "bulleid" with "adrian" - all mail to bulleid is rejected
    Sorry for the rigmarole, If I want spam, I'll go to the shops
    Every time someone says "I don't believe in trolls", another one dies.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Adrian@21:1/5 to All on Sun Mar 5 22:58:21 2023
    In message <871qm3q7dh.fsf@gmail.com>, jeshgrca <jeshgrca@gmail.com>
    writes
    If I had to guess, I would say this is due to missing locale files as
    both raspi-config and locale are complaining about "No such file or >directory". I would check the folder where your locale definitions are
    stored (on my system /usr/lib/locale) for the en_GB.UTF-8 locale
    definition. If it isn't there, that could be your problem.

    Thanks.
    You might be onto something there.

    ls -l /usr/lib/locale
    total 2900
    drwxr-xr-x 3 root root 4096 Mar 1 15:49 C.UTF-8
    -rw-r--r-- 1 root root 3041504 Mar 5 19:01 locale-archive

    And that is it. So where have the others gone ?

    Adrian
    --
    To Reply :
    replace "bulleid" with "adrian" - all mail to bulleid is rejected
    Sorry for the rigmarole, If I want spam, I'll go to the shops
    Every time someone says "I don't believe in trolls", another one dies.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From jeshgrca@21:1/5 to Adrian on Sun Mar 5 19:47:36 2023
    Adrian <bulleid@ku.gro.lioff> writes:

    And that is it. So where have the others gone ?

    Looks like they might be in 'locale-archive', possibly compressed. If
    so, you should just be able to decompress them, copy them out of 'locale-archive', and reconfigure your locale settings.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Adrian@21:1/5 to All on Mon Mar 6 14:32:19 2023
    In message <87356iy7k7.fsf@gmail.com>, jeshgrca <jeshgrca@gmail.com>
    writes
    Adrian <bulleid@ku.gro.lioff> writes:

    And that is it. So where have the others gone ?

    Looks like they might be in 'locale-archive', possibly compressed. If
    so, you should just be able to decompress them, copy them out of >'locale-archive', and reconfigure your locale settings.

    Thanks.

    It may well be a compressed archive, but I've been unable to work out
    what type :

    file locale-archive
    locale-archive: locale archive 11 strings

    tar, unzip and ar don't know what to do with it.

    Strings shows a whole load of stuff, which could well be right for
    en_GB, but how to get the system to use it is a different matter.

    Adrian
    --
    To Reply :
    replace "bulleid" with "adrian" - all mail to bulleid is rejected
    Sorry for the rigmarole, If I want spam, I'll go to the shops
    Every time someone says "I don't believe in trolls", another one dies.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From jeshgrca@21:1/5 to All on Mon Mar 6 09:20:41 2023
    Having done a bit of research, locale-archive appears to be some sort of special file. According to 'man localedef' you can list the locales in
    said special file and add new locales to it if necessary.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Charlie Gibbs@21:1/5 to me@privacy.net on Mon Mar 6 16:32:17 2023
    On 2023-03-05, NY <me@privacy.net> wrote:

    (*) Who decided that it was a good idea to separate the year from the
    day and month, with the time and timezone in between? It makes no more
    sense for UK DD MMM YYYY format than it does for US MMM DD YYYY format.
    For countries that use YYYY-MMM-DD format, I wonder how "date" listed it
    - maybe "Sun 2023 21:33:49 GMT 5 Mar" ;-)

    The year being tacked onto the end looks like an afterthought.
    "Oh, I guess some people do need the year after all..."

    I've converted all my stuff to ISO 8601, and preach its virtues
    at every opportunity (like now :-).

    --
    /~\ Charlie Gibbs | You can't save the earth
    \ / <cgibbs@kltpzyxm.invalid> | unless you're willing to
    X I'm really at ac.dekanfrus | make other people sacrifice.
    / \ if you read it the right way. | -- Dogbert the green consultant

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Adrian@21:1/5 to All on Mon Mar 6 15:32:49 2023
    In message <87ilfdgb3q.fsf@gmail.com>, jeshgrca <jeshgrca@gmail.com>
    writes
    Having done a bit of research, locale-archive appears to be some sort of >special file. According to 'man localedef' you can list the locales in
    said special file and add new locales to it if necessary.

    Thanks

    $ localedef --list-archive
    en_GB.UTF8

    So it looks as though I've got the right one available, but how do I get
    it to use it ?

    Adrian
    --
    To Reply :
    replace "bulleid" with "adrian" - all mail to bulleid is rejected
    Sorry for the rigmarole, If I want spam, I'll go to the shops
    Every time someone says "I don't believe in trolls", another one dies.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Brian Gregory@21:1/5 to Adrian on Mon Mar 6 18:17:01 2023
    On 05/03/2023 16:16, Adrian wrote:
    I've got 8 Pis running.  7 of them SSH or SCP to the other one at
    various times.  One of them (pi5) is now running Bullseye, and seems to
    have the locale set to en_US.UTF8, whereas the other 7 are on older OS versions and have the locale set to en_GB.UTF-8.

    When I try to SSH from pi5 to any of the others, I get :

    -bash: warning setlocale: LC_ALL: cannot change locale (en_US.UTF-8)

    I've tried using locale-gen to change the default on pi5 to the en_GB version, but it seems to hang.  using raspi-config fails, generating a
    pile of error messages ending  "No such file or directory"

    Altering $HOME/.profile and adding :

    LANG=en_GB.UTF-8

    seems to work, to the extend that echo $LANG now gives me the right
    value, but the SSH still gives me the same error.

    Running locale gives me :

    locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory LANG=en_GB.UTF8

    but all other entries are en_US.UTF-8

    So what to try next ?

    Adrian

    Surely you're supposed to use raspi-config for this.

    sudo raspi-config

    --
    Brian Gregory (in England).

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Adrian@21:1/5 to void-invalid-dead-dontuse@email.inv on Mon Mar 6 19:10:16 2023
    In message <k6mp0tFc3bmU1@mid.individual.net>, Brian Gregory <void-invalid-dead-dontuse@email.invalid> writes
    Surely you're supposed to use raspi-config for this.

    sudo raspi-config


    I've tried that. I select the locale that I want, and then "OK". It
    thinks about it for a while, and then comes up with the following in a
    grey box :

    There was an error running option L1 Locale

    <Ok>

    That was my first option, when that failed, I started exploring the
    other options, which whilst failing, at least give some more helpful
    error messages.

    Adrian
    --
    To Reply :
    replace "bulleid" with "adrian" - all mail to bulleid is rejected
    Sorry for the rigmarole, If I want spam, I'll go to the shops
    Every time someone says "I don't believe in trolls", another one dies.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Brian Gregory@21:1/5 to Adrian on Mon Mar 6 21:58:54 2023
    On 06/03/2023 19:10, Adrian wrote:
    In message <k6mp0tFc3bmU1@mid.individual.net>, Brian Gregory <void-invalid-dead-dontuse@email.invalid> writes
    Surely you're supposed to use raspi-config for this.

    sudo raspi-config


    I've tried that.  I select the locale that I want, and then "OK".  It thinks about it for a while, and then comes up with the following in a
    grey box :

    There was an error running option L1 Locale

                                <Ok>

    That was my first option, when that failed, I started exploring the
    other options, which whilst failing, at least give some more helpful
    error messages.

    Adrian

    I would say that probably means your Raspberry Pi OS installation has
    been customised in some way or is corrupt.

    --
    Brian Gregory (in England).

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Adrian@21:1/5 to void-invalid-dead-dontuse@email.inv on Mon Mar 6 23:07:04 2023
    In message <k6n60uFdv1pU1@mid.individual.net>, Brian Gregory <void-invalid-dead-dontuse@email.invalid> writes
    I would say that probably means your Raspberry Pi OS installation has
    been customised in some way or is corrupt.


    Could be.

    I downloaded the Bullseye distro, and then copied (is that the right
    word) it onto a SD card. So far as I can tell, everything else works
    OK.

    Adrian
    --
    To Reply :
    replace "bulleid" with "adrian" - all mail to bulleid is rejected
    Sorry for the rigmarole, If I want spam, I'll go to the shops
    Every time someone says "I don't believe in trolls", another one dies.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From jeshgrca@21:1/5 to me@privacy.net on Mon Mar 6 18:11:08 2023
    NY <me@privacy.net> writes:

    On 06/03/2023 16:32, Charlie Gibbs wrote:
    On 2023-03-05, NY <me@privacy.net> wrote:

    (*) Who decided that it was a good idea to separate the year from the
    day and month, with the time and timezone in between? It makes no more
    sense for UK DD MMM YYYY format than it does for US MMM DD YYYY format.
    For countries that use YYYY-MMM-DD format, I wonder how "date" listed it >>> - maybe "Sun 2023 21:33:49 GMT 5 Mar" ;-)
    The year being tacked onto the end looks like an afterthought.
    "Oh, I guess some people do need the year after all..."
    I've converted all my stuff to ISO 8601, and preach its virtues
    at every opportunity (like now :-).

    I certainly use ISO 8601 (YYYY-MM-DD) when including a date in a
    filename, so the files sort by name into date order.

    And in newsgroup postings which might be seen outside the UK, I tend
    to write dates as 06 Mar 2023 rather than 06/03/2023 to avoid any
    confusion with June 3 2023 in US format: 6 Mar 2023 is understandable "everywhere" (even in France and Germany which abbreviate Mars or Marz
    to Mar) even if American might write it Mar 6 2023.

    As an American myself, I don't really have a preference for the order of
    terms, whether it be MM/DD/YYYY or YYYY-MM-DD or whatever else. I just
    wish we could all agree an a standard so Europeans aren't confused about
    not seeing 9/11 memes on November 9 anymore.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From NY@21:1/5 to Charlie Gibbs on Mon Mar 6 23:56:19 2023
    On 06/03/2023 16:32, Charlie Gibbs wrote:
    On 2023-03-05, NY <me@privacy.net> wrote:

    (*) Who decided that it was a good idea to separate the year from the
    day and month, with the time and timezone in between? It makes no more
    sense for UK DD MMM YYYY format than it does for US MMM DD YYYY format.
    For countries that use YYYY-MMM-DD format, I wonder how "date" listed it
    - maybe "Sun 2023 21:33:49 GMT 5 Mar" ;-)

    The year being tacked onto the end looks like an afterthought.
    "Oh, I guess some people do need the year after all..."

    I've converted all my stuff to ISO 8601, and preach its virtues
    at every opportunity (like now :-).

    I certainly use ISO 8601 (YYYY-MM-DD) when including a date in a
    filename, so the files sort by name into date order.

    And in newsgroup postings which might be seen outside the UK, I tend to
    write dates as 06 Mar 2023 rather than 06/03/2023 to avoid any confusion
    with June 3 2023 in US format: 6 Mar 2023 is understandable "everywhere"
    (even in France and Germany which abbreviate Mars or Marz to Mar) even
    if American might write it Mar 6 2023.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From jeshgrca@21:1/5 to Adrian on Mon Mar 6 18:06:08 2023
    Adrian <bulleid@ku.gro.lioff> writes:

    copied (is that the right word)

    dd'd?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From jeshgrca@21:1/5 to me@privacy.net on Mon Mar 6 18:16:47 2023
    NY <me@privacy.net> writes:

    On 06/03/2023 16:32, Charlie Gibbs wrote:
    On 2023-03-05, NY <me@privacy.net> wrote:

    (*) Who decided that it was a good idea to separate the year from the
    day and month, with the time and timezone in between? It makes no more
    sense for UK DD MMM YYYY format than it does for US MMM DD YYYY format.
    For countries that use YYYY-MMM-DD format, I wonder how "date" listed it >>> - maybe "Sun 2023 21:33:49 GMT 5 Mar" ;-)
    The year being tacked onto the end looks like an afterthought.
    "Oh, I guess some people do need the year after all..."
    I've converted all my stuff to ISO 8601, and preach its virtues
    at every opportunity (like now :-).

    I certainly use ISO 8601 (YYYY-MM-DD) when including a date in a
    filename, so the files sort by name into date order.

    And in newsgroup postings which might be seen outside the UK, I tend
    to write dates as 06 Mar 2023 rather than 06/03/2023 to avoid any
    confusion with June 3 2023 in US format: 6 Mar 2023 is understandable "everywhere" (even in France and Germany which abbreviate Mars or Marz
    to Mar) even if American might write it Mar 6 2023.

    As an American myself, I don't really have a preference for the order of
    terms, whether it be MM/DD/YYYY or YYYY-MM-DD or whatever else. I just
    wish we could all agree an a standard so Europeans aren't confused about
    not seeing 9/11 memes on November 9 anymore.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Adrian@21:1/5 to All on Tue Mar 7 14:55:04 2023
    In message <878rg9e87j.fsf@gmail.com>, jeshgrca <jeshgrca@gmail.com>
    writes
    Adrian <bulleid@ku.gro.lioff> writes:

    copied (is that the right word)

    dd'd?

    Sort of I think. I did it on my Ubuntu box, and the file manager has an
    option to do a form of install rather than just copy.

    Adrian
    --
    To Reply :
    replace "bulleid" with "adrian" - all mail to bulleid is rejected
    Sorry for the rigmarole, If I want spam, I'll go to the shops
    Every time someone says "I don't believe in trolls", another one dies.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Brian Gregory@21:1/5 to All on Wed Mar 8 02:43:48 2023
    https://twitter.com/nixcraft/status/1620828493071417345

    --
    Brian Gregory (in England).

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Adrian@21:1/5 to void-invalid-dead-dontuse@email.inv on Wed Mar 8 16:04:17 2023
    In message <k6n60uFdv1pU1@mid.individual.net>, Brian Gregory <void-invalid-dead-dontuse@email.invalid> writes
    On 06/03/2023 19:10, Adrian wrote:
    In message <k6mp0tFc3bmU1@mid.individual.net>, Brian Gregory >><void-invalid-dead-dontuse@email.invalid> writes
    Surely you're supposed to use raspi-config for this.

    sudo raspi-config

    I've tried that.  I select the locale that I want, and then "OK". 
    It thinks about it for a while, and then comes up with the following
    in a grey box :
    There was an error running option L1 Locale
                                <Ok>
    That was my first option, when that failed, I started exploring the
    other options, which whilst failing, at least give some more helpful
    error messages.
    Adrian

    I would say that probably means your Raspberry Pi OS installation has
    been customised in some way or is corrupt.


    I've started again from scratch.

    I re-imaged the SD card from my local copy of Bullseye, and then
    restarted the Pi. The first boot up asks you to do the locale setup
    (although it isn't named as such). That was set with the British
    settings. Once past that (and creating a user), I ran locale, and en_GB
    was used, so far so good. I then ran raspi-config to set hostname,
    timezone (I use UTC rather than a local one) and various other bits. I
    then ran locale again, and it was still good. I updated the software,
    then set up ssh keys and installed the stuff I wanted on the pi, and
    again all was good.

    So the Pi is now happily chugging away doing what it is supposed to do,
    and I don't get error/warning messages when I ssh to my other Pis.

    Thanks

    Adrian
    --
    To Reply :
    replace "bulleid" with "adrian" - all mail to bulleid is rejected
    Sorry for the rigmarole, If I want spam, I'll go to the shops
    Every time someone says "I don't believe in trolls", another one dies.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)