debian8升级debian9时报错导致现在没有locale-gen命令
sudo apt-cache search locale-gen结果什么都没有
locale-gen在哪个包里我安装了locales包也没有
[已解决]debian8升级错误 现在没有locale-gen
-
- 帖子: 353
- 注册时间: 2007-06-11 13:06
[已解决]debian8升级错误 现在没有locale-gen
上次由 handyw 在 2018-03-26 13:53,总共编辑 1 次。
-
- 论坛版主
- 帖子: 18279
- 注册时间: 2009-08-04 16:33
Re: debian8升级错误 现在没有locale-gen
https://packages.debian.org/jessie/all/locales/filelistlocale-gen在哪个包里我安装了locales包也没有
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 及其路徑
-
- 帖子: 353
- 注册时间: 2007-06-11 13:06
Re: debian8升级错误 现在没有locale-gen
poloshiao 写了:https://packages.debian.org/jessie/all/locales/filelistlocale-gen在哪个包里我安装了locales包也没有
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了