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

最大的社区版本,Ubuntu的发源地
回复
handyw
帖子: 352
注册时间: 2007-06-11 13:06

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

#1

帖子 handyw » 2018-03-21 9:57

debian8升级debian9时报错导致现在没有locale-gen命令

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

locale-gen在哪个包里我安装了locales包也没有
上次由 handyw 在 2018-03-26 13:53,总共编辑 1 次。
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

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

#2

帖子 poloshiao » 2018-03-21 12:32

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 及其路徑
handyw
帖子: 352
注册时间: 2007-06-11 13:06

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

#3

帖子 handyw » 2018-03-21 18:14

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了
回复