On Saturday, 15 June 2024 18:24:27 BST Dale wrote:
> Howdy,
>
> I got down to the time zone part. When I try to run emerge --config
> sys-libs/timezone-data I get this output.
>
>
>
> (chroot) livecd / # emerge --config sys-libs/timezone-data
>
>
> Configuring pkg...
>
> Traceback (most recent call last):
> File "/usr/lib/python-exec/python3.12/emerge", line 57, in main
> retval = emerge_main()
> ^^^^^^^^^^^^^
> File "/usr/lib/python3.12/site-packages/_emerge/main.py", line 1308,
> in emerge_main
> return run_action(emerge_config)
> ^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3.12/site-packages/_emerge/actions.py", line
> 3876, in run_action
> return action_config(
> ^^^^^^^^^^^^^^
> File "/usr/lib/python3.12/site-packages/_emerge/actions.py", line 758,
> in action_config
> retval = portage.doebuild(
> ^^^^^^^^^^^^^^^^^
> File
> "/usr/lib/python3.12/site-packages/portage/package/ebuild/doebuild.py",
> line 1218, in doebuild
> rval = _prepare_env_file(mysettings)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File
> "/usr/lib/python3.12/site-packages/portage/package/ebuild/doebuild.py",
> line 1686, in _prepare_env_file
> env_extractor.start()
> File "/usr/lib/python3.12/site-packages/_emerge/AsynchronousTask.py",
> line 34, in start
> self._start()
> File
> "/usr/lib/python3.12/site-packages/_emerge/BinpkgEnvExtractor.py", line
> 43, in _start
> env=self.settings.environ(),
> ^^^^^^^^^^^^^^^^^^^^^^^
> File
> "/usr/lib/python3.12/site-packages/portage/package/ebuild/config.py",
> line 3378, in environ
> raise AssertionError(
> AssertionError: LC_ALL=en_US.UTF8 for posixish locale. It seems that
> split_LC_ALL was not called for phase config?
> (chroot) livecd / #
>
>
>
> The next section is locale so I skipped ahead to set the locale settings
> but nothing I do gets me past this error. Did I miss a step somewhere?
> I'm currently booted from the Gentoo LiveGUI USB Image and am in the
> chroot. I been following the handbook with the parts that apply to me
> but maybe I missed something??? This is the current setting.
>
>
> (chroot) livecd / # eselect locale list
> Available targets for the LANG variable:
> [1] C
> [2] C.utf8
> [3] en_US
> [4] en_US.iso88591
> [5] en_US.utf8
> [6] POSIX
> [7] en_US.UTF8 *
> [ ] (free form)
> (chroot) livecd / #
>
>
> I also tried setting it to #5. Same error but works on current rig.
> Anyone know what I missed? I even tried copying settings from my
> current rig but same error. I've also ran the following after each
> setting I tried.
>
>
> env-update && source /etc/profile && export PS1="(chroot) ${PS1}"
>
>
> Any thoughts?
>
> Dale
>
> :-) :-) Please share: $ cat /etc/locale.gen $ locale -a $ locale
signature.asc
Description: This is a digitally signed message part.

