View previous topic :: View next topic |
Author |
Message |
picarica Guru
Joined: 11 Aug 2018 Posts: 326
|
Posted: Fri May 31, 2024 7:58 am Post subject: mysql 5.7 unable to install ==config fails |
|
|
it seems it doesnt like my locale but how can i keep my locale and mysql?
Code: |
sudo emerge --config dev-db/mysql
Configuring pkg...
Traceback (most recent call last):
File "/usr/lib/python-exec/python3.11/emerge", line 57, in main
retval = emerge_main()
^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/_emerge/main.py", line 1308, in emerge_main
return run_action(emerge_config)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/_emerge/actions.py", line 3876, in run_action
return action_config(
^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/_emerge/actions.py", line 758, in action_config
retval = portage.doebuild(
^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/portage/package/ebuild/doebuild.py", line 1218, in doebuild
rval = _prepare_env_file(mysettings)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/portage/package/ebuild/doebuild.py", line 1686, in _prepare_env_file
env_extractor.start()
File "/usr/lib/python3.11/site-packages/_emerge/AsynchronousTask.py", line 34, in start
self._start()
File "/usr/lib/python3.11/site-packages/_emerge/BinpkgEnvExtractor.py", line 43, in _start
env=self.settings.environ(),
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/portage/package/ebuild/config.py", line 3378, in environ
raise AssertionError(
AssertionError: LC_ALL=en_IE.utf-8 for posixish locale. It seems that split_LC_ALL was not called for phase config?
|
Code: |
locale
LANG=en_IE.utf8
LC_CTYPE="en_IE.utf-8"
LC_NUMERIC="en_IE.utf-8"
LC_TIME="en_IE.utf-8"
LC_COLLATE="en_IE.utf-8"
LC_MONETARY="en_IE.utf-8"
LC_MESSAGES="en_IE.utf-8"
LC_PAPER="en_IE.utf-8"
LC_NAME="en_IE.utf-8"
LC_ADDRESS="en_IE.utf-8"
LC_TELEPHONE="en_IE.utf-8"
LC_MEASUREMENT="en_IE.utf-8"
LC_IDENTIFICATION="en_IE.utf-8"
LC_ALL=en_IE.utf-8 |
|
|
Back to top |
|
|
Banana Moderator
Joined: 21 May 2004 Posts: 1722 Location: Germany
|
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22626
|
Posted: Fri May 31, 2024 12:53 pm Post subject: |
|
|
To expand on Banana's post, your locale output looks to me like LC_ALL is unnecessary at best, and as Banana suggests, harmful at worst. Remove LC_ALL (and only that one), leave your other LC_ variables set as-is, and retry. |
|
Back to top |
|
|
picarica Guru
Joined: 11 Aug 2018 Posts: 326
|
Posted: Tue Jun 04, 2024 9:47 am Post subject: |
|
|
Hu wrote: | To expand on Banana's post, your locale output looks to me like LC_ALL is unnecessary at best, and as Banana suggests, harmful at worst. Remove LC_ALL (and only that one), leave your other LC_ variables set as-is, and retry. |
thank you that fixed it, i changeld LC_ALL to an empty string and it works fine i set it up in the first place because even when i had correct locale set using eselect it would still use different one, but now i have this issue with mysql
it says it got error to check log, but logs are empty? kinda confused it said permission denied, but it seems it got correct permissions it even created the file should i open new issue about this ? |
|
Back to top |
|
|
Banana Moderator
Joined: 21 May 2004 Posts: 1722 Location: Germany
|
|
Back to top |
|
|
picarica Guru
Joined: 11 Aug 2018 Posts: 326
|
Posted: Tue Jun 04, 2024 1:16 pm Post subject: |
|
|
Banana wrote: | As the error message says permissions are missing.
Make sure you run the command with the correct user.
Please provide which command you did run and as which user. |
well i tried running as my user, it says superacces required, so i tried sudo emerge --config dev-db/mysql the error is
Code: | * Failed to initialize mysql data directory. Please review '/tmp/install_db.111112312.log'!
|
and the same error is when i do sudo -i and run it again |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|