我创build了一个chroot监狱,当我login时,我得到一个bash警告bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
我试图谷歌错误,但无法find解决scheme
听起来就像你在你的chroot中缺less了/usr/lib/locale 。 尝试将它们从非chroot'd /usr/lib/locale或者使用LANG=C chroot复制到位。
/usr/lib/locale
LANG=C