Can't install language pack

南笙酒味 提交于 2019-12-25 01:32:30

问题


I'm trying to install italian language pack on a VM instance with Debian. I've tried almost everything but it still can't find the language pack.

$ apt-get update
$ apt-get install language-pack-it-base
$ apt-get install language-pack-it

It returns:

E: Unable to locate package language-pack-it

It's the same with other languages. Any hint?


回答1:


To install language-pack-it-base:

$ wget http://archive.ubuntu.com/ubuntu/pool/main/l/language-pack-it-base/language-pack-it-base_14.10+20141020_all.deb

$ sudo dpkg -i language-pack-it-base_14.10+20141020_all.deb

To install language-pack-it:

$ wget http://archive.ubuntu.com/ubuntu/pool/main/l/language-pack-it/language-pack-it_14.10+20141020_all.deb

$ sudo dpkg -i language-pack-it_14.10+20141020_all.deb

Verify the installation of the packages using dpkg -l

$ dpkg -l | grep language-pack-it

‘ii’ status indicates a successful installation.

If you get dependency errors during the installation, run the command below and re-install the packages.

$ sudo dpkg --configure -a



来源:https://stackoverflow.com/questions/26908887/cant-install-language-pack

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!