分页: 1 / 1

[已解决]debian8升级错误 现在没有locale-gen

发表于 : 2018-03-21 9:57
handyw
debian8升级debian9时报错导致现在没有locale-gen命令

sudo apt-cache search locale-gen结果什么都没有

locale-gen在哪个包里我安装了locales包也没有

Re: debian8升级错误 现在没有locale-gen

发表于 : 2018-03-21 12:32
poloshiao
locale-gen在哪个包里我安装了locales包也没有
https://packages.debian.org/jessie/all/locales/filelist
File list of package locales in jessie of architecture all
/usr/sbin/locale-gen

https://packages.debian.org/stretch/all ... s/filelist
File list of package locales in stretch of architecture all
/usr/sbin/locale-gen
sudo apt-cache search locale-gen结果什么都没有
這個方法是搜尋套件 不是搜尋指令
已安裝的指令 如果它有 manpage 可以從終端機使用
man locale-gen
也可以上網搜尋
使用關鍵字
debian jessie manpage locale-gen
搜尋
https://manpages.debian.org/jessie/loca ... .5.en.html

使用
sudo dpkg -L locales | grep bin
可以找到 locale-gen 及其路徑

Re: debian8升级错误 现在没有locale-gen

发表于 : 2018-03-21 18:14
handyw
poloshiao 写了:
locale-gen在哪个包里我安装了locales包也没有
https://packages.debian.org/jessie/all/locales/filelist
File list of package locales in jessie of architecture all
/usr/sbin/locale-gen

https://packages.debian.org/stretch/all ... s/filelist
File list of package locales in stretch of architecture all
/usr/sbin/locale-gen
sudo apt-cache search locale-gen结果什么都没有
這個方法是搜尋套件 不是搜尋指令
已安裝的指令 如果它有 manpage 可以從終端機使用
man locale-gen
也可以上網搜尋
使用關鍵字
debian jessie manpage locale-gen
搜尋
https://manpages.debian.org/jessie/loca ... .5.en.html

使用
sudo dpkg -L locales | grep bin
可以找到 locale-gen 及其路徑

我忘了在locale-gen前加sudo了