ubuntu手动安装语言的方法
2011-12-26 17:31
281 查看
有一次在开发的时候,需要安装一服务器,安装好之后报了一个错误:
Couldn't find the en language message file!
小可不才,这名英文还是懂得的。当时就郁闷了,因为用的系统是直接拷的虚拟机,竟然里面没能安装英文!
面对吧,只能想办法装了。
首先,想通过Ubuntu的系统安装管理工具自动安装,真的被我找到了。无奈的发现,由于系统太长时间不更新,己经找不到相应的更新源,
需要两个关键的资源:language-pack-en,language-pack-en-base。
没办法,手动更新吧。
首先我在http://packages.ubuntu.com/ 找,真的被我找到这两个安装包了。
窃喜!
赶忙下载,通过程序安装工具来安装。
安装:language-pack-en,发现该安装包依赖,language-pack-en-base
安装:language-pack-en-base,发现该安装包依赖language-pack-en。
好了,到这里,快被打败了。
灵光一闪,真达九宵。
dpkg!
dpkg - i language-pack-en-base<TAB>
回车之后,心里笑了!
dpkg - i language-pack-en<TAB>
回车之后,脸上露出来久违的笑容!!!
电脑重启,在登录的界面选择语言之后,突然觉得那二十六个字符很亲切啊!!!!
如果事情到此结束?
没有。
后来我又通过多方求证,原来有 utuntu 更新源这一说。
具体做法就是:
sudo gedit /etc/apt/sources.list
添加提供源的网站:
*仅把需要的代码拷进去就行了。
sudo apt-get update
解决了这个问题之后,发现我的服务器的问题还没有解决,
但这己经超出了本文所能理解的范围了,不作缀述。感兴趣的,请关注我的 Darwing Streaming Server的安装 一文。
Couldn't find the en language message file!
小可不才,这名英文还是懂得的。当时就郁闷了,因为用的系统是直接拷的虚拟机,竟然里面没能安装英文!
面对吧,只能想办法装了。
首先,想通过Ubuntu的系统安装管理工具自动安装,真的被我找到了。无奈的发现,由于系统太长时间不更新,己经找不到相应的更新源,
需要两个关键的资源:language-pack-en,language-pack-en-base。
没办法,手动更新吧。
首先我在http://packages.ubuntu.com/ 找,真的被我找到这两个安装包了。
窃喜!
赶忙下载,通过程序安装工具来安装。
安装:language-pack-en,发现该安装包依赖,language-pack-en-base
安装:language-pack-en-base,发现该安装包依赖language-pack-en。
好了,到这里,快被打败了。
灵光一闪,真达九宵。
dpkg!
dpkg - i language-pack-en-base<TAB>
回车之后,心里笑了!
dpkg - i language-pack-en<TAB>
回车之后,脸上露出来久违的笑容!!!
电脑重启,在登录的界面选择语言之后,突然觉得那二十六个字符很亲切啊!!!!
如果事情到此结束?
没有。
后来我又通过多方求证,原来有 utuntu 更新源这一说。
具体做法就是:
sudo gedit /etc/apt/sources.list
添加提供源的网站:
网易开源镜像站,提供FreeBSD,OpenBSD,archlinux,centos,cygwin,debian,fedora,gentoo,kernel,openSUSE,slackware,ubuntu 代码: deb http://mirrors.163.com/ubuntu/ oneiric main universe restricted multiverse deb-src http://mirrors.163.com/ubuntu/ oneiric main universe restricted multiverse deb http://mirrors.163.com/ubuntu/ oneiric-security universe main multiverse restricted deb-src http://mirrors.163.com/ubuntu/ oneiric-security universe main multiverse restricted deb http://mirrors.163.com/ubuntu/ oneiric-updates universe main multiverse restricted deb http://mirrors.163.com/ubuntu/ oneiric-proposed universe main multiverse restricted deb-src http://mirrors.163.com/ubuntu/ oneiric-proposed universe main multiverse restricted deb http://mirrors.163.com/ubuntu/ oneiric-backports universe main multiverse restricted deb-src http://mirrors.163.com/ubuntu/ oneiric-backports universe main multiverse restricted deb-src http://mirrors.163.com/ubuntu/ oneiric-updates universe main multiverse restricted 台湾源 代码: deb http://tw.archive.ubuntu.com/ubuntu/ oneiric main universe restricted multiverse deb-src http://tw.archive.ubuntu.com/ubuntu/ oneiric main universe restricted multiverse deb http://tw.archive.ubuntu.com/ubuntu/ oneiric-security universe main multiverse restricted deb-src http://tw.archive.ubuntu.com/ubuntu/ oneiric-security universe main multiverse restricted deb http://tw.archive.ubuntu.com/ubuntu/ oneiric-updates universe main multiverse restricted deb-src http://tw.archive.ubuntu.com/ubuntu/ oneiric-updates universe main multiverse restricted SRT Sources 代码: deb http://ubuntu.srt.cn/ubuntu/ oneiric main restricted universe multiverse deb http://ubuntu.srt.cn/ubuntu/ oneiric-security main restricted universe multiverse deb http://ubuntu.srt.cn/ubuntu/ oneiric-updates main restricted universe multiverse deb http://ubuntu.srt.cn/ubuntu/ oneiric-proposed main restricted universe multiverse deb http://ubuntu.srt.cn/ubuntu/ oneiric-backports main restricted universe multiverse deb-src http://ubuntu.srt.cn/ubuntu/ oneiric main restricted universe multiverse deb-src http://ubuntu.srt.cn/ubuntu/ oneiric-security main restricted universe multiverse deb-src http://ubuntu.srt.cn/ubuntu/ oneiric-updates main restricted universe multiverse deb-src http://ubuntu.srt.cn/ubuntu/ oneiric-proposed main restricted universe multiverse deb-src http://ubuntu.srt.cn/ubuntu/ oneiric-backports main restricted universe multiverse 网易 Ubuntu 11.10 源(速度很快) 代码: deb http://mirrors.163.com/ubuntu/ oneiric main universe restricted multiverse deb-src http://mirrors.163.com/ubuntu/ oneiric main universe restricted multiverse deb http://mirrors.163.com/ubuntu/ oneiric-security universe main multiverse restricted deb-src http://mirrors.163.com/ubuntu/ oneiric-security universe main multiverse restricted deb http://mirrors.163.com/ubuntu/ oneiric-updates universe main multiverse restricted deb http://mirrors.163.com/ubuntu/ oneiric-proposed universe main multiverse restricted deb-src http://mirrors.163.com/ubuntu/ oneiric-proposed universe main multiverse restricted deb http://mirrors.163.com/ubuntu/ oneiric-backports universe main multiverse restricted deb-src http://mirrors.163.com/ubuntu/ oneiric-backports universe main multiverse restricted deb-src http://mirrors.163.com/ubuntu/ oneiric-updates universe main multiverse restricted ubuntu 11.10 上海源,提供 Kernel,Hiweed,ubuntu 代码: deb http://mirror.rootguide.org/ubuntu/ oneiric main universe restricted multiverse deb-src http://mirror.rootguide.org/ubuntu/ oneiric main universe restricted multiverse deb http://mirror.rootguide.org/ubuntu/ oneiric-security universe main multiverse restricted deb-src http://mirror.rootguide.org/ubuntu/ oneiric-security universe main multiverse restricted deb http://mirror.rootguide.org/ubuntu/ oneiric-updates universe main multiverse restricted deb http://mirror.rootguide.org/ubuntu/ oneiric-proposed universe main multiverse restricted deb-src http://mirror.rootguide.org/ubuntu/ oneiric-proposed universe main multiverse restricted deb http://mirror.rootguide.org/ubuntu/ oneiric-backports universe main multiverse restricted deb-src http://mirror.rootguide.org/ubuntu/ oneiric-backports universe main multiverse restricted deb-src http://mirror.rootguide.org/ubuntu/ oneiric-updates universe main multiverse restricted 搜狐 Ubuntu 11.10 源 代码: deb http://mirrors.shlug.org/ubuntu/ oneiric main universe restricted multiverse deb-src http://mirrors.shlug.org/ubuntu/ oneiric main universe restricted multiverse deb http://mirrors.shlug.org/ubuntu/ oneiric-security universe main multiverse restricted deb-src http://mirrors.shlug.org/ubuntu/ oneiric-security universe main multiverse restricted deb http://mirrors.shlug.org/ubuntu/ oneiric-updates universe main multiverse restricted deb http://mirrors.shlug.org/ubuntu/ oneiric-proposed universe main multiverse restricted deb-src http://mirrors.shlug.org/ubuntu/ oneiric-proposed universe main multiverse restricted deb http://mirrors.shlug.org/ubuntu/ oneiric-backports universe main multiverse restricted deb-src http://mirrors.shlug.org/ubuntu/ oneiric-backports universe main multiverse restricted deb-src http://mirrors.shlug.org/ubuntu/ oneiric-updates universe main multiverse restricted 骨头源,骨头源是bones7456架设的一个Ubuntu源 ,提供ubuntu,deepin 代码: deb http://ubuntu.srt.cn/ubuntu/ oneiric main universe restricted multiverse deb-src http://ubuntu.srt.cn/ubuntu/ oneiric main universe restricted multiverse deb http://ubuntu.srt.cn/ubuntu/ oneiric-security universe main multiverse restricted deb-src http://ubuntu.srt.cn/ubuntu/ oneiric-security universe main multiverse restricted deb http://ubuntu.srt.cn/ubuntu/ oneiric-updates universe main multiverse restricted deb http://ubuntu.srt.cn/ubuntu/ oneiric-proposed universe main multiverse restricted deb-src http://ubuntu.srt.cn/ubuntu/ oneiric-proposed universe main multiverse restricted deb http://ubuntu.srt.cn/ubuntu/ oneiric-backports universe main multiverse restricted deb-src http://ubuntu.srt.cn/ubuntu/ oneiric-backports universe main multiverse restricted deb-src http://ubuntu.srt.cn/ubuntu/ oneiric-updates universe main multiverse restricted lupaworld Ubuntu 11.10源,提供 ArchLinux,Everest,FreeBSD,Fedora,LFS,Magiclinux,Mandriva,OpenOffice,openSUSE,Puppy,Red Hat,Slitaz,Turbolinux,Ubuntu,中标普华 代码: deb http://mirror.lupaworld.com/ubuntu/ oneiric main universe restricted multiverse deb-src http://mirror.lupaworld.com/ubuntu/ oneiric main universe restricted multiverse deb http://mirror.lupaworld.com/ubuntu/ oneiric-security universe main multiverse restricted deb-src http://mirror.lupaworld.com/ubuntu/ oneiric-security universe main multiverse restricted deb http://mirror.lupaworld.com/ubuntu/ oneiric-updates universe main multiverse restricted deb http://mirror.lupaworld.com/ubuntu/ oneiric-proposed universe main multiverse restricted deb-src http://mirror.lupaworld.com/ubuntu/ oneiric-proposed universe main multiverse restricted deb http://mirror.lupaworld.com/ubuntu/ oneiric-backports universe main multiverse restricted deb-src http://mirror.lupaworld.com/ubuntu/ oneiric-backports universe main multiverse restricted deb-src http://mirror.lupaworld.com/ubuntu/ oneiric-updates universe main multiverse restricted rootguide源,ubuntu官方上海源,提供 Kernel,Hiweed,ubuntu 代码: deb http://mirror.rootguide.org/ubuntu/ oneiric main universe restricted multiverse deb-src http://mirror.rootguide.org/ubuntu/ oneiric main universe restricted multiverse deb http://mirror.rootguide.org/ubuntu/ oneiric-security universe main multiverse restricted deb-src http://mirror.rootguide.org/ubuntu/ oneiric-security universe main multiverse restricted deb http://mirror.rootguide.org/ubuntu/ oneiric-updates universe main multiverse restricted deb http://mirror.rootguide.org/ubuntu/ oneiric-proposed universe main multiverse restricted deb-src http://mirror.rootguide.org/ubuntu/ oneiric-proposed universe main multiverse restricted deb http://mirror.rootguide.org/ubuntu/ oneiric-backports universe main multiverse restricted deb-src http://mirror.rootguide.org/ubuntu/ oneiric-backports universe main multiverse restricted deb-src http://mirror.rootguide.org/ubuntu/ oneiric-updates universe main multiverse restricted 搜狐开源镜像站,提供 CPAN,FreeBSD,NetBSD,OpenBSD,apache,archlinux,centos,cygwin,dag,debian,fedora,gentoo,kernel,lfs,mysql,nginx,openSUSE,php,rpmfusion,slackware,ubuntu 代码: deb http://mirrors.shlug.org/ubuntu/ oneiric main universe restricted multiverse deb-src http://mirrors.shlug.org/ubuntu/ oneiric main universe restricted multiverse deb http://mirrors.shlug.org/ubuntu/ oneiric-security universe main multiverse restricted deb-src http://mirrors.shlug.org/ubuntu/ oneiric-security universe main multiverse restricted deb http://mirrors.shlug.org/ubuntu/ oneiric-updates universe main multiverse restricted deb http://mirrors.shlug.org/ubuntu/ oneiric-proposed universe main multiverse restricted deb-src http://mirrors.shlug.org/ubuntu/ oneiric-proposed universe main multiverse restricted deb http://mirrors.shlug.org/ubuntu/ oneiric-backports universe main multiverse restricted deb-src http://mirrors.shlug.org/ubuntu/ oneiric-backports universe main multiverse restricted deb-src http://mirrors.shlug.org/ubuntu/ oneiric-updates universe main multiverse restricted |
sudo apt-get update
解决了这个问题之后,发现我的服务器的问题还没有解决,
但这己经超出了本文所能理解的范围了,不作缀述。感兴趣的,请关注我的 Darwing Streaming Server的安装 一文。
相关文章推荐
- 已成功安装ubuntu系统后,再次手动增加swap分区大小的方法
- Ubuntu安装系统手动分区步骤详细方法技巧
- 手动安装ubuntu视频播放器插件的方法
- 为使用securecrt在ubuntu系统下手动安装lrzsz的方法
- Ubuntu10.04中手动安装最新jdk(第一种方法)
- ubuntu 13.04 安装手动安装flash方法
- 虚拟机安装ubuntu不能更改系统语言为中文解决方法
- 已成功安装ubuntu系统后,再次手动增加swap分区大小的方法
- Ubuntu10.04中手动安装最新jdk的方法 转自:http://www.pczpg.com/a/2010/0907/19192.html
- ubuntu怎么设置成中文界面 Ubuntu安装中文语言方法详解
- Ubuntu中安装sqldeveloper出现的问题及其解决方法
- Ubuntu10.04下手动安装gcc4.5.0
- thinkpad E570 安装ubuntu16.04后wifi及无声音的问题和解决方法
- Ubuntu下安装net-snmp5.7.1的方法
- Windows和Ubuntu双系统完全独立的安装方法
- 在Ubuntu 10.10上安装JDK的方法
- ubuntu14.04下手动安装eclipse
- 在Ubuntu中安装rpm包的方法
- ceph ubuntu14.10 手动安装 修正版
- 把Ubuntu安装进U盘的方法步骤