日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

missing locales

發(fā)布時間:2024/3/24 编程问答 44 豆豆
生活随笔 收集整理的這篇文章主要介紹了 missing locales 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.

原文地址:http://codewut.de/content/missing-locales-under-debian

This drives me crazy! Every time I debootstrap a debian or ubuntu machine the resulting root system will lack properly set up locales. dpkg-reconfigure locales & derivates won't help since the system does not know what locales it should generate - and for some reason it does not show that nice ncurses UI where you were able to pick the locales you would like to have the support for.

So, there goes another blog entry which should act as my personal notepad for future accidents like this:

?

  • root@baracus:# cat /usr/share/i18n/SUPPORTED | egrep en_US > /var/lib/locales/supported.d/en
  • root@baracus:# cat /usr/share/i18n/SUPPORTED | egrep de_DE > /var/lib/locales/supported.d/de
  • root@baracus:# locale-gen
  • Generating locales...
  • de_DE.ISO-8859-1... up-to-date
  • de_DE.UTF-8... up-to-date
  • de_DE.ISO-8859-15@euro... up-to-date
  • en_US.ISO-8859-1... done
  • en_US.UTF-8... done
  • Generation complete.
  • P.S.

    You might need to reinstall the locales package afterwards:

  • sudo apt-get install --reinstall locales
  • export LANG="de_DE.utf8"
  • YAY!
  • 轉載于:https://www.cnblogs.com/zhangjun516/p/3216650.html

    總結

    以上是生活随笔為你收集整理的missing locales的全部內容,希望文章能夠幫你解決所遇到的問題。

    如果覺得生活随笔網(wǎng)站內容還不錯,歡迎將生活随笔推薦給好友。