0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

WSL DockerのUbuntuでlibc-binのエラー

Posted at

下記のコマンドで日本語の文字化け対策しようとしたときのエラー

apt-get install language-pack-ja-base language-pack-ja

こんな感じのエラーが出た。

dpkg: error processing package libc-bin (--configure):
 installed libc-bin package post-installation script subprocess returned error exit status 139

ネットを探すと下記をせよとのことで実行

rm /var/lib/dpkg/info/libc-bin.*
apt-get clean
apt-get update
apt-get install libc-bin

あとは下記を行うが.bashrcでもいいかと思う。

locale-gen ja_JP.UTF-8
echo export LANG=ja_JP.UTF-8 >> ~/.profile
source ~/.profile
echo $LANG
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?