what(): locale::facet::_S_create_c_locale name not valid
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I have a Kali Linux where I cannot install any packages. locale
is not working and I cannot install it what can I do? I changed sources.list
but it's of no help, I tried sudo dpkg-reconfigure locales
it tells me:
Can't exec "locale": No such file or directory at /usr/share/perl5/Debconf/Encoding.pm line 16.
Use of uninitialized value $Debconf::Encoding::charmap in scalar chomp at /usr/share/perl5/Debconf/Encoding.pm line 17.
dpkg: error: configuration error: /etc/dpkg/dpkg.cfg.d/multiarch:1: unknown option 'foreign-architecture'
/usr/sbin/dpkg-reconfigure: locales is not installed
debian kali-linux locale
add a comment |Â
up vote
0
down vote
favorite
I have a Kali Linux where I cannot install any packages. locale
is not working and I cannot install it what can I do? I changed sources.list
but it's of no help, I tried sudo dpkg-reconfigure locales
it tells me:
Can't exec "locale": No such file or directory at /usr/share/perl5/Debconf/Encoding.pm line 16.
Use of uninitialized value $Debconf::Encoding::charmap in scalar chomp at /usr/share/perl5/Debconf/Encoding.pm line 17.
dpkg: error: configuration error: /etc/dpkg/dpkg.cfg.d/multiarch:1: unknown option 'foreign-architecture'
/usr/sbin/dpkg-reconfigure: locales is not installed
debian kali-linux locale
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have a Kali Linux where I cannot install any packages. locale
is not working and I cannot install it what can I do? I changed sources.list
but it's of no help, I tried sudo dpkg-reconfigure locales
it tells me:
Can't exec "locale": No such file or directory at /usr/share/perl5/Debconf/Encoding.pm line 16.
Use of uninitialized value $Debconf::Encoding::charmap in scalar chomp at /usr/share/perl5/Debconf/Encoding.pm line 17.
dpkg: error: configuration error: /etc/dpkg/dpkg.cfg.d/multiarch:1: unknown option 'foreign-architecture'
/usr/sbin/dpkg-reconfigure: locales is not installed
debian kali-linux locale
I have a Kali Linux where I cannot install any packages. locale
is not working and I cannot install it what can I do? I changed sources.list
but it's of no help, I tried sudo dpkg-reconfigure locales
it tells me:
Can't exec "locale": No such file or directory at /usr/share/perl5/Debconf/Encoding.pm line 16.
Use of uninitialized value $Debconf::Encoding::charmap in scalar chomp at /usr/share/perl5/Debconf/Encoding.pm line 17.
dpkg: error: configuration error: /etc/dpkg/dpkg.cfg.d/multiarch:1: unknown option 'foreign-architecture'
/usr/sbin/dpkg-reconfigure: locales is not installed
debian kali-linux locale
debian kali-linux locale
edited Aug 24 '16 at 10:17
phk
3,88152147
3,88152147
asked Aug 24 '16 at 9:50
Giorgi Gavasheli
11
11
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
It's possible that your PATH
setting is bad. Make sure that echo $PATH
as a non-root user lists /usr/bin
and /bin
, and as the root user also /usr/sbin
and /sbin
. However, dpkg
emits a warning in that case so if that warning was absent then this isn't the problem.
The locale
command is part of a package that is marked as âÂÂessentialâ (libc-bin
). To uninstall it, you have to type a full sentence at the confirmation prompt. This isn't something you can do by accident.
You might have removed the binary. Once again this won't happen automatically, it has to be a consequence of something you did while running as root. Be careful when running as root, only use the root account to do things that you can't do from your normal account. To reinstall the libc-bin
package including the locale
command, run this command as root:
apt-get --reinstall install libc-bin
You don't appear to have a lot of Linux experience. Kali Linux is a distribution for experienced security professionals, designed to run security-related tools in a virtual machine easily. It isn't designed for a permanent installation and it isn't designed for beginners. If you aren't an experienced Linux user, use a more friendly distribution such as elementary OS, Linux Mint or Ubuntu.
apt-get is not working it says :root@mr00:~# apt-get --reinstall install libc-bin terminate called after throwing an instance of 'std::runtime_error' what(): locale::facet::_S_create_c_locale name not valid Aborted
â Giorgi Gavasheli
Aug 26 '16 at 20:20
@GiorgiGavasheli Runexport LC_ALL=C; unset LANGUAGE
and try again. If you still get this error, then there's something seriously broken and without knowing how you got there it's difficult to help you. I'd suggest reinstalling, and this time don't go about editing or removing files when you don't know what they're for.
â Gilles
Aug 26 '16 at 20:25
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
It's possible that your PATH
setting is bad. Make sure that echo $PATH
as a non-root user lists /usr/bin
and /bin
, and as the root user also /usr/sbin
and /sbin
. However, dpkg
emits a warning in that case so if that warning was absent then this isn't the problem.
The locale
command is part of a package that is marked as âÂÂessentialâ (libc-bin
). To uninstall it, you have to type a full sentence at the confirmation prompt. This isn't something you can do by accident.
You might have removed the binary. Once again this won't happen automatically, it has to be a consequence of something you did while running as root. Be careful when running as root, only use the root account to do things that you can't do from your normal account. To reinstall the libc-bin
package including the locale
command, run this command as root:
apt-get --reinstall install libc-bin
You don't appear to have a lot of Linux experience. Kali Linux is a distribution for experienced security professionals, designed to run security-related tools in a virtual machine easily. It isn't designed for a permanent installation and it isn't designed for beginners. If you aren't an experienced Linux user, use a more friendly distribution such as elementary OS, Linux Mint or Ubuntu.
apt-get is not working it says :root@mr00:~# apt-get --reinstall install libc-bin terminate called after throwing an instance of 'std::runtime_error' what(): locale::facet::_S_create_c_locale name not valid Aborted
â Giorgi Gavasheli
Aug 26 '16 at 20:20
@GiorgiGavasheli Runexport LC_ALL=C; unset LANGUAGE
and try again. If you still get this error, then there's something seriously broken and without knowing how you got there it's difficult to help you. I'd suggest reinstalling, and this time don't go about editing or removing files when you don't know what they're for.
â Gilles
Aug 26 '16 at 20:25
add a comment |Â
up vote
0
down vote
It's possible that your PATH
setting is bad. Make sure that echo $PATH
as a non-root user lists /usr/bin
and /bin
, and as the root user also /usr/sbin
and /sbin
. However, dpkg
emits a warning in that case so if that warning was absent then this isn't the problem.
The locale
command is part of a package that is marked as âÂÂessentialâ (libc-bin
). To uninstall it, you have to type a full sentence at the confirmation prompt. This isn't something you can do by accident.
You might have removed the binary. Once again this won't happen automatically, it has to be a consequence of something you did while running as root. Be careful when running as root, only use the root account to do things that you can't do from your normal account. To reinstall the libc-bin
package including the locale
command, run this command as root:
apt-get --reinstall install libc-bin
You don't appear to have a lot of Linux experience. Kali Linux is a distribution for experienced security professionals, designed to run security-related tools in a virtual machine easily. It isn't designed for a permanent installation and it isn't designed for beginners. If you aren't an experienced Linux user, use a more friendly distribution such as elementary OS, Linux Mint or Ubuntu.
apt-get is not working it says :root@mr00:~# apt-get --reinstall install libc-bin terminate called after throwing an instance of 'std::runtime_error' what(): locale::facet::_S_create_c_locale name not valid Aborted
â Giorgi Gavasheli
Aug 26 '16 at 20:20
@GiorgiGavasheli Runexport LC_ALL=C; unset LANGUAGE
and try again. If you still get this error, then there's something seriously broken and without knowing how you got there it's difficult to help you. I'd suggest reinstalling, and this time don't go about editing or removing files when you don't know what they're for.
â Gilles
Aug 26 '16 at 20:25
add a comment |Â
up vote
0
down vote
up vote
0
down vote
It's possible that your PATH
setting is bad. Make sure that echo $PATH
as a non-root user lists /usr/bin
and /bin
, and as the root user also /usr/sbin
and /sbin
. However, dpkg
emits a warning in that case so if that warning was absent then this isn't the problem.
The locale
command is part of a package that is marked as âÂÂessentialâ (libc-bin
). To uninstall it, you have to type a full sentence at the confirmation prompt. This isn't something you can do by accident.
You might have removed the binary. Once again this won't happen automatically, it has to be a consequence of something you did while running as root. Be careful when running as root, only use the root account to do things that you can't do from your normal account. To reinstall the libc-bin
package including the locale
command, run this command as root:
apt-get --reinstall install libc-bin
You don't appear to have a lot of Linux experience. Kali Linux is a distribution for experienced security professionals, designed to run security-related tools in a virtual machine easily. It isn't designed for a permanent installation and it isn't designed for beginners. If you aren't an experienced Linux user, use a more friendly distribution such as elementary OS, Linux Mint or Ubuntu.
It's possible that your PATH
setting is bad. Make sure that echo $PATH
as a non-root user lists /usr/bin
and /bin
, and as the root user also /usr/sbin
and /sbin
. However, dpkg
emits a warning in that case so if that warning was absent then this isn't the problem.
The locale
command is part of a package that is marked as âÂÂessentialâ (libc-bin
). To uninstall it, you have to type a full sentence at the confirmation prompt. This isn't something you can do by accident.
You might have removed the binary. Once again this won't happen automatically, it has to be a consequence of something you did while running as root. Be careful when running as root, only use the root account to do things that you can't do from your normal account. To reinstall the libc-bin
package including the locale
command, run this command as root:
apt-get --reinstall install libc-bin
You don't appear to have a lot of Linux experience. Kali Linux is a distribution for experienced security professionals, designed to run security-related tools in a virtual machine easily. It isn't designed for a permanent installation and it isn't designed for beginners. If you aren't an experienced Linux user, use a more friendly distribution such as elementary OS, Linux Mint or Ubuntu.
answered Aug 24 '16 at 23:23
Gilles
511k12010141543
511k12010141543
apt-get is not working it says :root@mr00:~# apt-get --reinstall install libc-bin terminate called after throwing an instance of 'std::runtime_error' what(): locale::facet::_S_create_c_locale name not valid Aborted
â Giorgi Gavasheli
Aug 26 '16 at 20:20
@GiorgiGavasheli Runexport LC_ALL=C; unset LANGUAGE
and try again. If you still get this error, then there's something seriously broken and without knowing how you got there it's difficult to help you. I'd suggest reinstalling, and this time don't go about editing or removing files when you don't know what they're for.
â Gilles
Aug 26 '16 at 20:25
add a comment |Â
apt-get is not working it says :root@mr00:~# apt-get --reinstall install libc-bin terminate called after throwing an instance of 'std::runtime_error' what(): locale::facet::_S_create_c_locale name not valid Aborted
â Giorgi Gavasheli
Aug 26 '16 at 20:20
@GiorgiGavasheli Runexport LC_ALL=C; unset LANGUAGE
and try again. If you still get this error, then there's something seriously broken and without knowing how you got there it's difficult to help you. I'd suggest reinstalling, and this time don't go about editing or removing files when you don't know what they're for.
â Gilles
Aug 26 '16 at 20:25
apt-get is not working it says :root@mr00:~# apt-get --reinstall install libc-bin terminate called after throwing an instance of 'std::runtime_error' what(): locale::facet::_S_create_c_locale name not valid Aborted
â Giorgi Gavasheli
Aug 26 '16 at 20:20
apt-get is not working it says :root@mr00:~# apt-get --reinstall install libc-bin terminate called after throwing an instance of 'std::runtime_error' what(): locale::facet::_S_create_c_locale name not valid Aborted
â Giorgi Gavasheli
Aug 26 '16 at 20:20
@GiorgiGavasheli Run
export LC_ALL=C; unset LANGUAGE
and try again. If you still get this error, then there's something seriously broken and without knowing how you got there it's difficult to help you. I'd suggest reinstalling, and this time don't go about editing or removing files when you don't know what they're for.â Gilles
Aug 26 '16 at 20:25
@GiorgiGavasheli Run
export LC_ALL=C; unset LANGUAGE
and try again. If you still get this error, then there's something seriously broken and without knowing how you got there it's difficult to help you. I'd suggest reinstalling, and this time don't go about editing or removing files when you don't know what they're for.â Gilles
Aug 26 '16 at 20:25
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f305424%2fwhat-localefacet-s-create-c-locale-name-not-valid%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password