This repository was archived by the owner on Nov 2, 2024. It is now read-only.
failure on "every" lxc installation because of locales #1159
Unanswered
rootgremlin
asked this question in
Help Needed
Replies: 2 comments 6 replies
-
You can use the |
Beta Was this translation helpful? Give feedback.
5 replies
-
The script gets its information from Proxmox when running the command from the shell. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
i can not use most of the installations because near the end of the scripts it always fails with:
[ERROR] in line 48: exit code 1: while executing command sed -i "/$LANG/ s/(^# )//" /etc/locale.gen
the verbose output of one failed attempt:
msg_info "Cleaning up"
$STD apt-get autoremove
$STD apt-get autoclean
msg_ok "Cleaned"'
net.ipv6.conf.all.disable_ipv6 = 1
++ echo '\033[33m'
++ echo '\033[01;31m'
++ echo '\033[36m'
++ echo '\033[1;92m'
++ echo '\033[m'
sed: -e expression Created VM not initialize #1, char 0: no previous regular expression
++ error_handler 47 'sed -i "/$LANG/ s/(^# )//" /etc/locale.gen'
++ local exit_code=1
++ local line_number=47
++ local 'command=sed -i "/$LANG/ s/(^# )//" /etc/locale.gen'
++ local 'error_message=\033[01;31m[ERROR]\033[m in line \033[01;31m47\033[m: exit code \033[01;31m1\033[m: while executing command \033[33msed -i "/$LANG/ s/(^# )//" /etc/locale.gen\033[m'
++ echo -e '\n\033[01;31m[ERROR]\033[m in line \033[01;31m47\033[m: exit code \033[01;31m1\033[m: while executing command \033[33msed -i "/$LANG/ s/(^# )//" /etc/locale.gen\033[m\n'
[ERROR] in line 47: exit code 1: while executing command sed -i "/$LANG/ s/(^# )//" /etc/locale.gen
is there something wrong with my locales config on my proxmox host? at least i had no problem with it until now.
Yes the command sed -i "/$LANG/ s/(^# )//" /etc/locale.gen also fails inside the newly created LXC because $LANG is empty.
Where should it get populated, or what do i have to set for the installer to pick my language up?
Beta Was this translation helpful? Give feedback.
All reactions