/usr/sbin/update-info-dir: 2: /etc/default/locale: UTF-8: not found dpkg
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
0
down vote
favorite
I am a linux beginner. when I install any software in Ubuntu16.04,I come across the same error. For example,when I install smplayer(sudo apt-get install smplayer
) ,then I come across the error below:
/usr/sbin/update-info-dir: 2: /etc/default/locale: UTF-8: not found
dpkg: error processing package install-info (--configure):
subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing: install-info
E: Sub-process /usr/bin/dpkg returned an error code (1)
Below are the outputs of locale
and ls -ld /etc/default/locale
robert@robert-ThinkPad:~$ locale
LANG=zh_CN. UTF-8
LANGUAGE=en_US:en
LC_CTYPE="zh_CN. UTF-8"
LC_NUMERIC="zh_CN. UTF-8"
LC_TIME="zh_CN. UTF-8"
LC_COLLATE="zh_CN. UTF-8"
LC_MONETARY="zh_CN. UTF-8"
LC_MESSAGES="zh_CN. UTF-8"
LC_PAPER="zh_CN. UTF-8"
LC_NAME="zh_CN. UTF-8"
LC_ADDRESS="zh_CN. UTF-8"
LC_TELEPHONE="zh_CN. UTF-8"
LC_MEASUREMENT="zh_CN. UTF-8"
LC_IDENTIFICATION="zh_CN. UTF-8"
LC_ALL=
robert@robert-ThinkPad:~$ ls -ld /etc/default/locale
-rw-r--r-- 1 root root 76 2æ 22 2017 /etc/default/locale
file locale seems werid
How can I solve this problem?
apt package-management dpkg locale
add a comment |Â
up vote
0
down vote
favorite
I am a linux beginner. when I install any software in Ubuntu16.04,I come across the same error. For example,when I install smplayer(sudo apt-get install smplayer
) ,then I come across the error below:
/usr/sbin/update-info-dir: 2: /etc/default/locale: UTF-8: not found
dpkg: error processing package install-info (--configure):
subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing: install-info
E: Sub-process /usr/bin/dpkg returned an error code (1)
Below are the outputs of locale
and ls -ld /etc/default/locale
robert@robert-ThinkPad:~$ locale
LANG=zh_CN. UTF-8
LANGUAGE=en_US:en
LC_CTYPE="zh_CN. UTF-8"
LC_NUMERIC="zh_CN. UTF-8"
LC_TIME="zh_CN. UTF-8"
LC_COLLATE="zh_CN. UTF-8"
LC_MONETARY="zh_CN. UTF-8"
LC_MESSAGES="zh_CN. UTF-8"
LC_PAPER="zh_CN. UTF-8"
LC_NAME="zh_CN. UTF-8"
LC_ADDRESS="zh_CN. UTF-8"
LC_TELEPHONE="zh_CN. UTF-8"
LC_MEASUREMENT="zh_CN. UTF-8"
LC_IDENTIFICATION="zh_CN. UTF-8"
LC_ALL=
robert@robert-ThinkPad:~$ ls -ld /etc/default/locale
-rw-r--r-- 1 root root 76 2æ 22 2017 /etc/default/locale
file locale seems werid
How can I solve this problem?
apt package-management dpkg locale
When did the problem started?
â Arun
Mar 21 at 9:45
1
Could you please edit your question to include the output oflocale
andls -ld /etc/default/locale
? Please use thebutton in the editor toolbar to format code and command output listings. Thanks.
â David Foerster
Mar 21 at 10:47
Something must be wrong with the file locale.Thanks.
â RobertXu
Mar 23 at 13:51
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I am a linux beginner. when I install any software in Ubuntu16.04,I come across the same error. For example,when I install smplayer(sudo apt-get install smplayer
) ,then I come across the error below:
/usr/sbin/update-info-dir: 2: /etc/default/locale: UTF-8: not found
dpkg: error processing package install-info (--configure):
subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing: install-info
E: Sub-process /usr/bin/dpkg returned an error code (1)
Below are the outputs of locale
and ls -ld /etc/default/locale
robert@robert-ThinkPad:~$ locale
LANG=zh_CN. UTF-8
LANGUAGE=en_US:en
LC_CTYPE="zh_CN. UTF-8"
LC_NUMERIC="zh_CN. UTF-8"
LC_TIME="zh_CN. UTF-8"
LC_COLLATE="zh_CN. UTF-8"
LC_MONETARY="zh_CN. UTF-8"
LC_MESSAGES="zh_CN. UTF-8"
LC_PAPER="zh_CN. UTF-8"
LC_NAME="zh_CN. UTF-8"
LC_ADDRESS="zh_CN. UTF-8"
LC_TELEPHONE="zh_CN. UTF-8"
LC_MEASUREMENT="zh_CN. UTF-8"
LC_IDENTIFICATION="zh_CN. UTF-8"
LC_ALL=
robert@robert-ThinkPad:~$ ls -ld /etc/default/locale
-rw-r--r-- 1 root root 76 2æ 22 2017 /etc/default/locale
file locale seems werid
How can I solve this problem?
apt package-management dpkg locale
I am a linux beginner. when I install any software in Ubuntu16.04,I come across the same error. For example,when I install smplayer(sudo apt-get install smplayer
) ,then I come across the error below:
/usr/sbin/update-info-dir: 2: /etc/default/locale: UTF-8: not found
dpkg: error processing package install-info (--configure):
subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing: install-info
E: Sub-process /usr/bin/dpkg returned an error code (1)
Below are the outputs of locale
and ls -ld /etc/default/locale
robert@robert-ThinkPad:~$ locale
LANG=zh_CN. UTF-8
LANGUAGE=en_US:en
LC_CTYPE="zh_CN. UTF-8"
LC_NUMERIC="zh_CN. UTF-8"
LC_TIME="zh_CN. UTF-8"
LC_COLLATE="zh_CN. UTF-8"
LC_MONETARY="zh_CN. UTF-8"
LC_MESSAGES="zh_CN. UTF-8"
LC_PAPER="zh_CN. UTF-8"
LC_NAME="zh_CN. UTF-8"
LC_ADDRESS="zh_CN. UTF-8"
LC_TELEPHONE="zh_CN. UTF-8"
LC_MEASUREMENT="zh_CN. UTF-8"
LC_IDENTIFICATION="zh_CN. UTF-8"
LC_ALL=
robert@robert-ThinkPad:~$ ls -ld /etc/default/locale
-rw-r--r-- 1 root root 76 2æ 22 2017 /etc/default/locale
file locale seems werid
How can I solve this problem?
apt package-management dpkg locale
apt package-management dpkg locale
edited Mar 23 at 14:08
asked Mar 21 at 8:42
RobertXu
213
213
When did the problem started?
â Arun
Mar 21 at 9:45
1
Could you please edit your question to include the output oflocale
andls -ld /etc/default/locale
? Please use thebutton in the editor toolbar to format code and command output listings. Thanks.
â David Foerster
Mar 21 at 10:47
Something must be wrong with the file locale.Thanks.
â RobertXu
Mar 23 at 13:51
add a comment |Â
When did the problem started?
â Arun
Mar 21 at 9:45
1
Could you please edit your question to include the output oflocale
andls -ld /etc/default/locale
? Please use thebutton in the editor toolbar to format code and command output listings. Thanks.
â David Foerster
Mar 21 at 10:47
Something must be wrong with the file locale.Thanks.
â RobertXu
Mar 23 at 13:51
When did the problem started?
â Arun
Mar 21 at 9:45
When did the problem started?
â Arun
Mar 21 at 9:45
1
1
Could you please edit your question to include the output of
locale
and ls -ld /etc/default/locale
? Please use the
button in the editor toolbar to format code and command output listings. Thanks.â David Foerster
Mar 21 at 10:47
Could you please edit your question to include the output of
locale
and ls -ld /etc/default/locale
? Please use the
button in the editor toolbar to format code and command output listings. Thanks.â David Foerster
Mar 21 at 10:47
Something must be wrong with the file locale.Thanks.
â RobertXu
Mar 23 at 13:51
Something must be wrong with the file locale.Thanks.
â RobertXu
Mar 23 at 13:51
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
1
down vote
I changed the /etc/default/locale
with
LANG="zh_CN.UTF-8"
LANGUAGE="zh_CN:en"
and then the probelm was solved
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
I changed the /etc/default/locale
with
LANG="zh_CN.UTF-8"
LANGUAGE="zh_CN:en"
and then the probelm was solved
add a comment |Â
up vote
1
down vote
I changed the /etc/default/locale
with
LANG="zh_CN.UTF-8"
LANGUAGE="zh_CN:en"
and then the probelm was solved
add a comment |Â
up vote
1
down vote
up vote
1
down vote
I changed the /etc/default/locale
with
LANG="zh_CN.UTF-8"
LANGUAGE="zh_CN:en"
and then the probelm was solved
I changed the /etc/default/locale
with
LANG="zh_CN.UTF-8"
LANGUAGE="zh_CN:en"
and then the probelm was solved
answered Apr 3 at 7:45
RobertXu
213
213
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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%2faskubuntu.com%2fquestions%2f1017871%2fusr-sbin-update-info-dir-2-etc-default-locale-utf-8-not-found-dpkg%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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
When did the problem started?
â Arun
Mar 21 at 9:45
1
Could you please edit your question to include the output of
locale
andls -ld /etc/default/locale
? Please use thebutton in the editor toolbar to format code and command output listings. Thanks.
â David Foerster
Mar 21 at 10:47
Something must be wrong with the file locale.Thanks.
â RobertXu
Mar 23 at 13:51