如何让树莓派显示中文

root@raspberrypi:~# cat /etc/apt/sources.list deb http://mirrroot@raspberrypi:~# cat /etc/apt/sources.list deb http://mirrors.neusoft.edu.cn/raspbian/raspbian wheezy main contrib non-free rpi root@raspberrypi:~#

ors.neusoft.edu.cn/raspbian/raspbian wheezy main contrib non-free rpiroot@raspberrypi:~#

修该源文件之后,开始我们的工作:

    root@raspberrypi:~# vi /etc/apt/sources.listroot@raspberrypi:~# apt-get updateE: Malformed line 3 in source list /etc/apt/sources.list (dist)E: The list of sources could not be read.root@raspberrypi:~# vi /etc/apt/sources.listroot@raspberrypi:~# apt-get updateE: Malformed line 1 in source list /etc/apt/sources.list (dist)E: The list of sources could not be read.root@raspberrypi:~# vi /etc/apt/sources.listroot@raspberrypi:~# apt-get updateErr http://raspberrypi.collabora.com wheezy Release.gpg Could not resolve ‘raspberrypi.collabora.com’Err http://repository.wolfram.com stable Release.gpg Could not resolve ‘repository.wolfram.com’Err http://archive.raspberrypi.org wheezy Release.gpg Could not resolve ‘archive.raspberrypi.org’Hit http://mirrors.neusoft.edu.cn wheezy Release.gpgHit http://mirrors.neusoft.edu.cn wheezy ReleaseHit http://mirrors.neusoft.edu.cn wheezy/main armhf PackagesHit http://mirrors.neusoft.edu.cn wheezy/contrib armhf PackagesHit http://mirrors.neusoft.edu.cn wheezy/non-free armhf PackagesHit http://mirrors.neusoft.edu.cn wheezy/rpi armhf PackagesIgn http://mirrors.neusoft.edu.cn wheezy/contrib Translation-en_GBIgn http://mirrors.neusoft.edu.cn wheezy/contrib Translation-enIgn http://mirrors.neusoft.edu.cn wheezy/main Translation-en_GBIgn http://mirrors.neusoft.edu.cn wheezy/main Translation-enIgn http://mirrors.neusoft.edu.cn wheezy/non-free Translation-en_GBIgn http://mirrors.neusoft.edu.cn wheezy/non-free Translation-enIgn http://mirrors.neusoft.edu.cn wheezy/rpi Translation-en_GBIgn http://mirrors.neusoft.edu.cn wheezy/rpi Translation-enReading package lists… DoneW: Failed to fetch http://raspberrypi.collabora.com/dists/wheezy/Release.gpg Could not resolve ‘raspberrypi.collabora.com’W: Failed to fetch http://archive.raspberrypi.org/debian/dists/wheezy/Release.gpg Could not resolve ‘archive.raspberrypi.org’W: Failed to fetch http://repository.wolfram.com/raspbian/dists/stable/Release.gpg Could not resolve ‘repository.wolfram.com’W: Some index files failed to download. They have been ignored, or old ones used instead.root@raspberrypi:~# apt-get upgradeReading package lists… DoneBuilding dependency treeReading state information… DoneThe following packages have been kept back: libgail-3-0 libgcc1 libgfortran3 libgomp1 libgtk-3-0 libgtk-3-bin libgtk-3-common libjavascriptcoregtk-3.0-0 libpango1.0-0 libstdc++6 libwebkitgtk-3.0-0 zenity zenity-commonThe following packages will be upgraded: apt apt-utils base-files binutils cups-bsd cups-client cups-common curl dbus dbus-x11 dpkg dpkg-dev file firmware-brcm80211 gir1.2-glib-2.0 glib-networking glib-networking-common glib-networking-services gnome-themes-standard-data gnupg gpgv krb5-locales libapt-inst1.5 libapt-pkg-dev libapt-pkg4.12 libatk1.0-0 libatk1.0-data libc-bin libc-dev-bin libc6 libc6-dev libcairo-gobject2 libcairo2 libcups2 libcupsimage2 libcurl3 libcurl3-gnutls libdbus-1-3 libdpkg-perl libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-common libgirepository-1.0-1 libglib2.0-0 libglib2.0-data libgssapi-krb5-2 libjpeg8 libk5crypto3 libkrb5-3 libkrb5support0 libmagic1 liborc-0.4-0 libpcre3 libpixman-1-0 libraspberrypi-bin libraspberrypi-dev libraspberrypi-doc libraspberrypi0 libsmbclient libsoup-gnome2.4-1 libsoup2.4-1 libssl1.0.0 libwbclient0 libwebkitgtk-3.0-common libxml2 locales lua5.1 make multiarch-support openssh-client openssh-server openssl python-gi python-picamera python-rpi.gpio python3-picamera python3-rpi.gpio raspberrypi-bootloader raspi-config rpi-update samba-common smbclient sonic-pi ssh tzdata wolfram-engine85 upgraded, 0 newly installed, 0 to remove and 13 not upgraded.Need to get 371 MB of archives.After this operation, 59.2 MB of additional disk space will be used.Do you want to continue [Y/n]? yErr http://archive.raspberrypi.org/debian/ wheezy/main libpcre3 armhf 1:8.31-2rpi2 Could not resolve ‘archive.raspberrypi.org’Err http://archive.raspberrypi.org/debian/ wheezy/main glib-networking armhf 2.36.1-2+rpi1rpi3 Could not resolve ‘archive.raspberrypi.org’Err http://archive.raspberrypi.org/debian/ wheezy/main glib-networking-services armhf 2.36.1-2+rpi1rpi3 Could not resolve ‘archive.raspberrypi.org’Err http://archive.raspberrypi.org/debian/ wheezy/main glib-networking-common all 2.36.1-2+rpi1rpi3 Could not resolve ‘archive.raspberrypi.org’Err http://archive.raspberrypi.org/debian/ wheezy/main libgirepository-1.0-1 armhf 1.36.0-2rpi2 Could not resolve ‘archive.raspberrypi.org’Err http://archive.raspberrypi.org/debian/ wheezy/main gir1.2-glib-2.0 armhf 1.36.0-2rpi2 Could not resolve ‘archive.raspberrypi.org’Err http://archive.raspberrypi.org/debian/ wheezy/main python-gi armhf 3.8.2-1+rpi1rpi2 Could not resolve ‘archive.raspberrypi.org’Get:1 http://mirrors.neusoft.edu.cn/raspbian/raspbian/ wheezy/main base-files armhf 7.1wheezy6+rpi1 [81.2 kB]Err http://archive.raspberrypi.org/debian/ wheezy/main libglib2.0-0 armhf 2.40.0-3rpi3rpi1 Could not resolve ‘archive.raspberrypi.org’Err http://archive.raspberrypi.org/debian/ wheezy/main libatk1.0-0 armhf 2.8.0-2rpi2 Could not resolve ‘archive.raspberrypi.org’Err http://archive.raspberrypi.org/debian/ wheezy/main libatk1.0-data all 2.8.0-2rpi2 Could not resolve ‘archive.raspberrypi.org’Err http://archive.raspberrypi.org/debian/ wheezy/main libpixman-1-0 armhf 0.33.1+git20140627-c37ff5-rpi1rpi1 Could not resolve ‘archive.raspberrypi.org’Err http://archive.raspberrypi.org/debian/ wheezy/main libcairo2 armhf 1.12.16-rpi1rpi2 Could not resolve ‘archive.raspberrypi.org’Err http://archive.raspberrypi.org/debian/ wheezy/main libcairo-gobject2 armhf 1.12.16-rpi1rpi2 Could not resolve ‘archive.raspberrypi.org’Err http://archive.raspberrypi.org/debian/ wheezy/main libgdk-pixbuf2.0-0 armhf 2.28.2-1rpi4rpi1 Could not resolve ‘archive.raspberrypi.org’Err http://archive.raspberrypi.org/debian/ wheezy/main libgdk-pixbuf2.0-common all 2.28.2-1rpi4rpi1 Could not resolve ‘archive.raspberrypi.org’Err http://archive.raspberrypi.org/debian/ wheezy/main liborc-0.4-0 armhf 1:0.4.18-1rpi1rpi2 Could not resolve ‘archive.raspberrypi.org’Err http://archive.raspberrypi.org/debian/ wheezy/main libsoup2.4-1 armhf 2.42.2-6rpi2 Could not resolve ‘archive.raspberrypi.org’Err http://archive.raspberrypi.org/debian/ wheezy/main libsoup-gnome2.4-1 armhf 2.42.2-6rpi2 Could not resolve ‘archive.raspberrypi.org’Err http://archive.raspberrypi.org/debian/ wheezy/main wolfram-engine armhf 10.0.0+2014080602 Could not resolve ‘archive.raspberrypi.org’Err http://archive.raspberrypi.org/debian/ wheezy/main make armhf 4.0-7rpi2 Could not resolve ‘archive.raspberrypi.org’Err http://archive.raspberrypi.org/debian/ wheezy/main binutils armhf 2.24.51.20140425-1~rpi1rpi2 Could not resolve ‘archive.raspberrypi.org’Err http://archive.raspberrypi.org/debian/ wheezy/main firmware-brcm80211 all 0.43 Could not resolve ‘archive.raspberrypi.org’Err http://archive.raspberrypi.org/debian/ wheezy/main gnome-themes-standard-data all 3.9.91+557c2ba-rpi4rpi2 Could not resolve ‘archive.raspberrypi.org’Err http://archive.raspberrypi.org/debian/ wheezy/main libglib2.0-data all 2.40.0-3rpi3rpi1 Could not resolve ‘archive.raspberrypi.org’Err http://archive.raspberrypi.org/debian/ wheezy/main libwebkitgtk-3.0-common all 2.4.1-1rpi24rpi1 Could not resolve ‘archive.raspberrypi.org’Err http://archive.raspberrypi.org/debian/ wheezy/main python-rpi.gpio armhf 0.5.6-1 Could not resolve ‘archive.raspberrypi.org’Err http://archive.raspberrypi.org/debian/ wheezy/main python3-rpi.gpio armhf 0.5.6-1 Could not resolve ‘archive.raspberrypi.org’Err http://archive.raspberrypi.org/debian/ wheezy/main libraspberrypi-dev armhf 1.20140908-1 Could not resolve ‘archive.raspberrypi.org’Err http://archive.raspberrypi.org/debian/ wheezy/main libraspberrypi-doc armhf 1.20140908-1 Could not resolve ‘archive.raspberrypi.org’Err http://archive.raspberrypi.org/debian/ wheezy/main libraspberrypi-bin armhf 1.20140908-1 Could not resolve ‘archive.raspberrypi.org’Err http://archive.raspberrypi.org/debian/ wheezy/main libraspberrypi0 armhf 1.20140908-1 Could not resolve ‘archive.raspberrypi.org’Err http://archive.raspberrypi.org/debian/ wheezy/main raspberrypi-bootloader armhf 1.20140908-1 Could not resolve ‘archive.raspberrypi.org’Err http://archive.raspberrypi.org/debian/ wheezy/main python-picamera armhf 1.8-1 Could not resolve ‘archive.raspberrypi.org’Err http://archive.raspberrypi.org/debian/ wheezy/main python3-picamera armhf 1.8-1 Could not resolve ‘archive.raspberrypi.org’Err http://archive.raspberrypi.org/debian/ wheezy/main raspi-config all 20140902-1 Could not resolve ‘archive.raspberrypi.org’Err http://archive.raspberrypi.org/debian/ wheezy/main rpi-update all 20140705 Could not resolve ‘archive.raspberrypi.org’Err http://archive.raspberrypi.org/debian/ wheezy/main sonic-pi armhf 2.0.1-1 Could not resolve ‘archive.raspberrypi.org’Get:2 http://mirrors.neusoft.edu.cn/raspbian/raspbian/ wheezy/main dpkg armhf 1.16.15+rpi1 [2,594 kB]Get:3 http://mirrors.neusoft.edu.cn/raspbian/raspbian/ wheezy/main libc-dev-bin armhf 2.13-38+rpi2+deb7u3 [223 kB]Get:4 http://mirrors.neusoft.edu.cn/raspbian/raspbian/ wheezy/main libc6-dev armhf 2.13-38+rpi2+deb7u3 [2,428 kB]Get:5 http://mirrors.neusoft.edu.cn/raspbian/raspbian/ wheezy/main libc-bin armhf 2.13-38+rpi2+deb7u3 [1,204 kB]Get:6 http://mirrors.neusoft.edu.cn/raspbian/raspbian/ wheezy/main libc6 armhf 2.13-38+rpi2+deb7u3 [4,103 kB]Get:7 http://mirrors.neusoft.edu.cn/raspbian/raspbian/ wheezy/main libapt-pkg-dev armhf 0.9.7.9+rpi1+deb7u2 [186 kB]Get:8 http://mirrors.neusoft.edu.cn/raspbian/raspbian/ wheezy/main libapt-inst1.5 armhf 0.9.7.9+rpi1+deb7u2 [164 kB]Get:9 http://mirrors.neusoft.edu.cn/raspbian/raspbian/ wheezy/main libapt-pkg4.12 armhf 0.9.7.9+rpi1+deb7u2 [858 kB]Get:10 http://mirrors.neusoft.edu.cn/raspbian/raspbian/ wheezy/main gpgv armhf 1.4.12-7+deb7u6 [208 kB]Get:11 http://mirrors.neusoft.edu.cn/raspbian/raspbian/ wheezy/main gnupg armhf 1.4.12-7+deb7u6 [1,902 kB]Get:12 http://mirrors.neusoft.edu.cn/raspbian/raspbian/ wheezy/main apt armhf 0.9.7.9+rpi1+deb7u2 [1,242 kB]Get:13 http://mirrors.neusoft.edu.cn/raspbian/raspbian/ wheezy/main libssl1.0.0 armhf 1.0.1e-2+rvt+deb7u11 [1,051 kB]Get:14 http://mirrors.neusoft.edu.cn/raspbian/raspbian/ wheezy/main libk5crypto3 armhf 1.10.1+dfsg-5+deb7u2 [113 kB]Get:15 http://mirrors.neusoft.edu.cn/raspbian/raspbian/ wheezy/main libgssapi-krb5-2 armhf 1.10.1+dfsg-5+deb7u2 [131 kB]Get:16 http://mirrors.neusoft.edu.cn/raspbian/raspbian/ wheezy/main libkrb5-3 armhf 1.10.1+dfsg-5+deb7u2 [341 kB]Get:17 http://mirrors.neusoft.edu.cn/raspbian/raspbian/ wheezy/main libkrb5support0 armhf 1.10.1+dfsg-5+deb7u2 [46.3 kB]Get:18 http://mirrors.neusoft.edu.cn/raspbian/raspbian/ wheezy/main file armhf 5.11-2+deb7u5 [52.2 kB]Get:19 http://mirrors.neusoft.edu.cn/raspbian/raspbian/ wheezy/main libmagic1 armhf 5.11-2+deb7u5 [200 kB]Get:20 http://mirrors.neusoft.edu.cn/raspbian/raspbian/ wheezy/main libxml2 armhf 2.8.0+dfsg1-7+wheezy1 [822 kB]Get:21 http://mirrors.neusoft.edu.cn/raspbian/raspbian/ wheezy/main libjpeg8 armhf 8d-1+deb7u1 [132 kB]Get:22 http://mirrors.neusoft.edu.cn/raspbian/raspbian/ wheezy/main libcupsimage2 armhf 1.5.3-5+deb7u4 [132 kB]Get:23 http://mirrors.neusoft.edu.cn/raspbian/raspbian/ wheezy/main cups-common all 1.5.3-5+deb7u4 [903 kB]Get:24 http://mirrors.neusoft.edu.cn/raspbian/raspbian/ wheezy/main cups-bsd armhf 1.5.3-5+deb7u4 [46.1 kB]Get:25 http://mirrors.neusoft.edu.cn/raspbian/raspbian/ wheezy/main cups-client armhf 1.5.3-5+deb7u4 [175 kB]Get:26 http://mirrors.neusoft.edu.cn/raspbian/raspbian/ wheezy/main libcups2 armhf 1.5.3-5+deb7u4 [238 kB]Get:27 http://mirrors.neusoft.edu.cn/raspbian/raspbian/ wheezy/main curl armhf 7.26.0-1+wheezy10 [268 kB]Get:28 http://mirrors.neusoft.edu.cn/raspbian/raspbian/ wheezy/main libcurl3 armhf 7.26.0-1+wheezy10 [316 kB]Get:29 http://mirrors.neusoft.edu.cn/raspbian/raspbian/ wheezy/main libcurl3-gnutls armhf 7.26.0-1+wheezy10 [307 kB]Get:30 http://mirrors.neusoft.edu.cn/raspbian/raspbian/ wheezy/main libdbus-1-3 armhf 1.6.8-1+deb7u3 [153 kB]Get:31 http://mirrors.neusoft.edu.cn/raspbian/raspbian/ wheezy/main libwbclient0 armhf 2:3.6.6-6+deb7u4 [92.1 kB]Get:32 http://mirrors.neusoft.edu.cn/raspbian/raspbian/ wheezy/main libsmbclient armhf 2:3.6.6-6+deb7u4 [1,262 kB]Get:33 http://mirrors.neusoft.edu.cn/raspbian/raspbian/ wheezy/main smbclient armhf 2:3.6.6-6+deb7u4 [4,611 kB]Get:34 http://mirrors.neusoft.edu.cn/raspbian/raspbian/ wheezy/main samba-common all 2:3.6.6-6+deb7u4 [214 kB]Get:35 http://mirrors.neusoft.edu.cn/raspbian/raspbian/ wheezy/main multiarch-support armhf 2.13-38+rpi2+deb7u3 [151 kB]Get:36 http://mirrors.neusoft.edu.cn/raspbian/raspbian/ wheezy/main tzdata all 2014e-0wheezy1 [458 kB]Get:37 http://mirrors.neusoft.edu.cn/raspbian/raspbian/ wheezy/main apt-utils armhf 0.9.7.9+rpi1+deb7u2 [371 kB]Get:38 http://mirrors.neusoft.edu.cn/raspbian/raspbian/ wheezy/main krb5-locales all 1.10.1+dfsg-5+deb7u2 [1,503 kB]Get:39 http://mirrors.neusoft.edu.cn/raspbian/raspbian/ wheezy/main locales all 2.13-38+rpi2+deb7u3 [5,711 kB]Get:40 http://mirrors.neusoft.edu.cn/raspbian/raspbian/ wheezy/main openssh-server armhf 1:6.0p1-4+deb7u2 [316 kB]Get:41 http://mirrors.neusoft.edu.cn/raspbian/raspbian/ wheezy/main openssh-client armhf 1:6.0p1-4+deb7u2 [952 kB]Get:42 http://mirrors.neusoft.edu.cn/raspbian/raspbian/ wheezy/main dbus armhf 1.6.8-1+deb7u3 [351 kB]Get:43 http://mirrors.neusoft.edu.cn/raspbian/raspbian/ wheezy/main dbus-x11 armhf 1.6.8-1+deb7u3 [58.2 kB]Get:44 http://mirrors.neusoft.edu.cn/raspbian/raspbian/ wheezy/main dpkg-dev all 1.16.15+rpi1 [1,357 kB]Get:45 http://mirrors.neusoft.edu.cn/raspbian/raspbian/ wheezy/main libdpkg-perl all 1.16.15+rpi1 [959 kB]Get:46 http://mirrors.neusoft.edu.cn/raspbian/raspbian/ wheezy/main lua5.1 armhf 5.1.5-4+deb7u1 [126 kB]Get:47 http://mirrors.neusoft.edu.cn/raspbian/raspbian/ wheezy/main openssl armhf 1.0.1e-2+rvt+deb7u11 [700 kB]Get:48 http://mirrors.neusoft.edu.cn/raspbian/raspbian/ wheezy/main ssh all 1:6.0p1-4+deb7u2 [1,248 B]Fetched 39.8 MB in 11min 47s (56.3 kB/s)Failed to fetch http://archive.raspberrypi.org/debian/pool/main/p/pcre3/libpcre3_8.31-2rpi2_armhf.deb Could not resolve ‘archive.raspberrypi.org’Failed to fetch http://archive.raspberrypi.org/debian/pool/main/g/glib-networking/glib-networking_2.36.1-2+rpi1rpi3_armhf.deb Could not resolve ‘archive.raspberrypi.org’Failed to fetch http://archive.raspberrypi.org/debian/pool/main/g/glib-networking/glib-networking-services_2.36.1-2+rpi1rpi3_armhf.deb Could not resolve ‘archive.raspberrypi.org’Failed to fetch http://archive.raspberrypi.org/debian/pool/main/g/glib-networking/glib-networking-common_2.36.1-2+rpi1rpi3_all.deb Could not resolve ‘archive.raspberrypi.org’Failed to fetch http://archive.raspberrypi.org/debian/pool/main/g/gobject-introspection/libgirepository-1.0-1_1.36.0-2rpi2_armhf.deb Could not resolve ‘archive.raspberrypi.org’Failed to fetch http://archive.raspberrypi.org/debian/pool/main/g/gobject-introspection/gir1.2-glib-2.0_1.36.0-2rpi2_armhf.deb Could not resolve ‘archive.raspberrypi.org’Failed to fetch http://archive.raspberrypi.org/debian/pool/main/p/pygobject/python-gi_3.8.2-1+rpi1rpi2_armhf.deb Could not resolve ‘archive.raspberrypi.org’Failed to fetch http://archive.raspberrypi.org/debian/pool/main/g/glib2.0/libglib2.0-0_2.40.0-3rpi3rpi1_armhf.deb Could not resolve ‘archive.raspberrypi.org’Failed to fetch http://archive.raspberrypi.org/debian/pool/main/a/atk1.0/libatk1.0-0_2.8.0-2rpi2_armhf.deb Could not resolve ‘archive.raspberrypi.org’Failed to fetch http://archive.raspberrypi.org/debian/pool/main/a/atk1.0/libatk1.0-data_2.8.0-2rpi2_all.deb Could not resolve ‘archive.raspberrypi.org’Failed to fetch http://archive.raspberrypi.org/debian/pool/main/p/pixman/libpixman-1-0_0.33.1+git20140627-c37ff5-rpi1rpi1_armhf.deb Could not resolve ‘archive.raspberrypi.org’Failed to fetch http://archive.raspberrypi.org/debian/pool/main/c/cairo/libcairo2_1.12.16-rpi1rpi2_armhf.deb Could not resolve ‘archive.raspberrypi.org’Failed to fetch http://archive.raspberrypi.org/debian/pool/main/c/cairo/libcairo-gobject2_1.12.16-rpi1rpi2_armhf.deb Could not resolve ‘archive.raspberrypi.org’Failed to fetch http://archive.raspberrypi.org/debian/pool/main/g/gdk-pixbuf/libgdk-pixbuf2.0-0_2.28.2-1rpi4rpi1_armhf.deb Could not resolve ‘archive.raspberrypi.org’Failed to fetch http://archive.raspberrypi.org/debian/pool/main/g/gdk-pixbuf/libgdk-pixbuf2.0-common_2.28.2-1rpi4rpi1_all.deb Could not resolve ‘archive.raspberrypi.org’Failed to fetch http://archive.raspberrypi.org/debian/pool/main/o/orc/liborc-0.4-0_0.4.18-1rpi1rpi2_armhf.deb Could not resolve ‘archive.raspberrypi.org’Failed to fetch http://archive.raspberrypi.org/debian/pool/main/libs/libsoup2.4/libsoup2.4-1_2.42.2-6rpi2_armhf.deb Could not resolve ‘archive.raspberrypi.org’Failed to fetch http://archive.raspberrypi.org/debian/pool/main/libs/libsoup2.4/libsoup-gnome2.4-1_2.42.2-6rpi2_armhf.deb Could not resolve ‘archive.raspberrypi.org’Failed to fetch http://archive.raspberrypi.org/debian/pool/main/w/wolfram-engine/wolfram-engine_10.0.0+2014080602_armhf.deb Could not resolve ‘archive.raspberrypi.org’Failed to fetch http://archive.raspberrypi.org/debian/pool/main/m/make-dfsg/make_4.0-7rpi2_armhf.deb Could not resolve ‘archive.raspberrypi.org’Failed to fetch http://archive.raspberrypi.org/debian/pool/main/b/binutils/binutils_2.24.51.20140425-1~rpi1rpi2_armhf.deb Could not resolve ‘archive.raspberrypi.org’Failed to fetch http://archive.raspberrypi.org/debian/pool/main/f/firmware-nonfree/firmware-brcm80211_0.43_all.deb Could not resolve ‘archive.raspberrypi.org’Failed to fetch http://archive.raspberrypi.org/debian/pool/main/g/gnome-themes-standard/gnome-themes-standard-data_3.9.91+557c2ba-rpi4rpi2_all.deb Could not resolve ‘archive.raspberrypi.org’Failed to fetch http://archive.raspberrypi.org/debian/pool/main/g/glib2.0/libglib2.0-data_2.40.0-3rpi3rpi1_all.deb Could not resolve ‘archive.raspberrypi.org’Failed to fetch http://archive.raspberrypi.org/debian/pool/main/w/webkitgtk/libwebkitgtk-3.0-common_2.4.1-1rpi24rpi1_all.deb Could not resolve ‘archive.raspberrypi.org’Failed to fetch http://archive.raspberrypi.org/debian/pool/main/r/rpi.gpio/python-rpi.gpio_0.5.6-1_armhf.deb Could not resolve ‘archive.raspberrypi.org’Failed to fetch http://archive.raspberrypi.org/debian/pool/main/r/rpi.gpio/python3-rpi.gpio_0.5.6-1_armhf.deb Could not resolve ‘archive.raspberrypi.org’Failed to fetch http://archive.raspberrypi.org/debian/pool/main/r/raspberrypi-firmware/libraspberrypi-dev_1.20140908-1_armhf.deb Could not resolve ‘archive.raspberrypi.org’Failed to fetch http://archive.raspberrypi.org/debian/pool/main/r/raspberrypi-firmware/libraspberrypi-doc_1.20140908-1_armhf.deb Could not resolve ‘archive.raspberrypi.org’Failed to fetch http://archive.raspberrypi.org/debian/pool/main/r/raspberrypi-firmware/libraspberrypi-bin_1.20140908-1_armhf.deb Could not resolve ‘archive.raspberrypi.org’Failed to fetch http://archive.raspberrypi.org/debian/pool/main/r/raspberrypi-firmware/libraspberrypi0_1.20140908-1_armhf.deb Could not resolve ‘archive.raspberrypi.org’Failed to fetch http://archive.raspberrypi.org/debian/pool/main/r/raspberrypi-firmware/raspberrypi-bootloader_1.20140908-1_armhf.deb Could not resolve ‘archive.raspberrypi.org’Failed to fetch http://archive.raspberrypi.org/debian/pool/main/p/picamera/python-picamera_1.8-1_armhf.deb Could not resolve ‘archive.raspberrypi.org’Failed to fetch http://archive.raspberrypi.org/debian/pool/main/p/picamera/python3-picamera_1.8-1_armhf.deb Could not resolve ‘archive.raspberrypi.org’Failed to fetch http://archive.raspberrypi.org/debian/pool/main/r/raspi-config/raspi-config_20140902-1_all.deb Could not resolve ‘archive.raspberrypi.org’Failed to fetch http://archive.raspberrypi.org/debian/pool/main/r/rpi-update/rpi-update_20140705_all.deb Could not resolve ‘archive.raspberrypi.org’Failed to fetch http://archive.raspberrypi.org/debian/pool/main/s/sonic-pi/sonic-pi_2.0.1-1_armhf.deb Could not resolve ‘archive.raspberrypi.org’E: Unable to fetch some archives, maybe run apt-get update or try with –fix-missing?root@raspberrypi:~# apt-get install scim-chineseReading package lists… DoneBuilding dependency treeReading state information… DoneE: Unable to locate package scim-chineseroot@raspberrypi:~# apt-get install scimReading package lists… DoneBuilding dependency treeReading state information… DoneThe following extra packages will be installed: dialog im-config libscim8c2a scim-gtk-immodule scim-modules-socketSuggested packages: scim-uim scim-pinyin scim-hangul scim-chewing scim-m17n scim-prime scim-anthy scim-skk scim-canna scim-tables-additional scim-tables-ja scim-tables-ko scim-tables-zh scim-thaiRecommended packages: scim-bridge-agentThe following NEW packages will be installed: dialog im-config libscim8c2a scim scim-gtk-immodule scim-modules-socket0 upgraded, 6 newly installed, 0 to remove and 98 not upgraded.Need to get 1,692 kB of archives.After this operation, 6,362 kB of additional disk space will be used.Do you want to continue [Y/n]? yGet:1 http://mirrors.neusoft.edu.cn/raspbian/raspbian/ wheezy/main libscim8c2a armhf 1.4.13-5 [413 kB]Get:2 http://mirrors.neusoft.edu.cn/raspbian/raspbian/ wheezy/main dialog armhf 1.1-20120215-2 [304 kB]Get:3 http://mirrors.neusoft.edu.cn/raspbian/raspbian/ wheezy/main im-config all 0.21 [36.6 kB]Get:4 http://mirrors.neusoft.edu.cn/raspbian/raspbian/ wheezy/main scim armhf 1.4.13-5 [677 kB]Get:5 http://mirrors.neusoft.edu.cn/raspbian/raspbian/ wheezy/main scim-modules-socket armhf 1.4.13-5 [110 kB]Get:6 http://mirrors.neusoft.edu.cn/raspbian/raspbian/ wheezy/main scim-gtk-immodule armhf 1.4.13-5 [152 kB]Fetched 1,692 kB in 29s (56.5 kB/s)Selecting previously unselected package libscim8c2a:armhf.(Reading database … 69525 files and directories currently installed.)Unpacking libscim8c2a:armhf (from …/libscim8c2a_1.4.13-5_armhf.deb) …Selecting previously unselected package dialog.Unpacking dialog (from …/dialog_1.1-20120215-2_armhf.deb) …Selecting previously unselected package im-config.Unpacking im-config (from …/im-config_0.21_all.deb) …Selecting previously unselected package scim.Unpacking scim (from …/scim_1.4.13-5_armhf.deb) …Selecting previously unselected package scim-modules-socket:armhf.Unpacking scim-modules-socket:armhf (from …/scim-modules-socket_1.4.13-5_armhf.deb) …Selecting previously unselected package scim-gtk-immodule:armhf.Unpacking scim-gtk-immodule:armhf (from …/scim-gtk-immodule_1.4.13-5_armhf.deb) …Processing triggers for man-db …Processing triggers for desktop-file-utils …Processing triggers for menu …Processing triggers for libgtk-3-0:armhf …Processing triggers for libgtk2.0-0:armhf …Setting up libscim8c2a:armhf (1.4.13-5) …Setting up dialog (1.1-20120215-2) …Setting up im-config (0.21) …Setting up scim (1.4.13-5) …update-alternatives: using /etc/X11/xinit/xinput.d/scim to provide /etc/X11/xinit/xinput.d/ja_JP (xinput-ja_JP) in auto modeupdate-alternatives: using /etc/X11/xinit/xinput.d/scim to provide /etc/X11/xinit/xinput.d/ko_KR (xinput-ko_KR) in auto modeupdate-alternatives: using /etc/X11/xinit/xinput.d/scim to provide /etc/X11/xinit/xinput.d/zh_CN (xinput-zh_CN) in auto modeupdate-alternatives: using /etc/X11/xinit/xinput.d/scim to provide /etc/X11/xinit/xinput.d/zh_TW (xinput-zh_TW) in auto modeupdate-alternatives: using /etc/X11/xinit/xinput.d/scim to provide /etc/X11/xinit/xinput.d/zh_HK (xinput-zh_HK) in auto modeupdate-alternatives: using /etc/X11/xinit/xinput.d/scim to provide /etc/X11/xinit/xinput.d/zh_SG (xinput-zh_SG) in auto modeupdate-alternatives: using /etc/X11/xinit/xinput.d/scim-immodule to provide /etc/X11/xinit/xinput.d/ja_JP (xinput-ja_JP) in auto modeupdate-alternatives: using /etc/X11/xinit/xinput.d/scim-immodule to provide /etc/X11/xinit/xinput.d/ko_KR (xinput-ko_KR) in auto modeupdate-alternatives: using /etc/X11/xinit/xinput.d/scim-immodule to provide /etc/X11/xinit/xinput.d/zh_CN (xinput-zh_CN) in auto modeupdate-alternatives: using /etc/X11/xinit/xinput.d/scim-immodule to provide /etc/X11/xinit/xinput.d/zh_TW (xinput-zh_TW) in auto modeupdate-alternatives: using /etc/X11/xinit/xinput.d/scim-immodule to provide /etc/X11/xinit/xinput.d/zh_HK (xinput-zh_HK) in auto modeupdate-alternatives: using /etc/X11/xinit/xinput.d/scim-immodule to provide /etc/X11/xinit/xinput.d/zh_SG (xinput-zh_SG) in auto modeSetting up scim-modules-socket:armhf (1.4.13-5) …Setting up scim-gtk-immodule:armhf (1.4.13-5) …Processing triggers for menu …root@raspberrypi:~# apt-get install scim-pinyinReading package lists… DoneBuilding dependency treeReading state information… DoneThe following extra packages will be installed: fonts-arphic-ukai fonts-arphic-uming ttf-arphic-ukai ttf-arphic-umingThe following NEW packages will be installed: fonts-arphic-ukai fonts-arphic-uming scim-pinyin ttf-arphic-ukai ttf-arphic-uming0 upgraded, 5 newly installed, 0 to remove and 98 not upgraded.Need to get 20.5 MB of archives.After this operation, 44.6 MB of additional disk space will be used.Do you want to continue [Y/n]? yGet:1 http://mirrors.neusoft.edu.cn/raspbian/raspbian/ wheezy/main fonts-arphic-uming all 0.2.20080216.2-4 [7,938 kB]Get:2 http://mirrors.neusoft.edu.cn/raspbian/raspbian/ wheezy/main ttf-arphic-uming all 0.2.20080216.2-4 [10.1 kB]Get:3 http://mirrors.neusoft.edu.cn/raspbian/raspbian/ wheezy/main fonts-arphic-ukai all 0.2.20080216.2-3 [10.3 MB]Get:4 http://mirrors.neusoft.edu.cn/raspbian/raspbian/ wheezy/main scim-pinyin armhf 0.5.91-2 [2,244 kB]Get:5 http://mirrors.neusoft.edu.cn/raspbian/raspbian/ wheezy/main ttf-arphic-ukai all 0.2.20080216.2-3 [9,662 B]Fetched 20.5 MB in 7min 33s (45.2 kB/s)Selecting previously unselected package fonts-arphic-uming.(Reading database … 69857 files and directories currently installed.)Unpacking fonts-arphic-uming (from …/fonts-arphic-uming_0.2.20080216.2-4_all.deb) …Selecting previously unselected package ttf-arphic-uming.Unpacking ttf-arphic-uming (from …/ttf-arphic-uming_0.2.20080216.2-4_all.deb) …Selecting previously unselected package fonts-arphic-ukai.Unpacking fonts-arphic-ukai (from …/fonts-arphic-ukai_0.2.20080216.2-3_all.deb) …Selecting previously unselected package scim-pinyin.Unpacking scim-pinyin (from …/scim-pinyin_0.5.91-2_armhf.deb) …Selecting previously unselected package ttf-arphic-ukai.Unpacking ttf-arphic-ukai (from …/ttf-arphic-ukai_0.2.20080216.2-3_all.deb) …Processing triggers for fontconfig …Setting up fonts-arphic-uming (0.2.20080216.2-4) …Setting up ttf-arphic-uming (0.2.20080216.2-4) …Setting up fonts-arphic-ukai (0.2.20080216.2-3) …Setting up scim-pinyin (0.5.91-2) …Setting up ttf-arphic-ukai (0.2.20080216.2-3) …root@raspberrypi:~# raspi-configGenerating locales (this might take a while)… en_GB.UTF-8… done zh_CN.GB2312… done zh_CN.GB18030… done zh_CN.GBK… done zh_CN.UTF-8… doneGeneration complete.root@raspberrypi:~# raspi-configroot@raspberrypi:~# uptime 11:10:39 up 2 days, 19:27, 2 users, load average: 0.43, 1.03, 1.02root@raspberrypi:~# raspi-configCurrent default time zone: ‘Asia/Shanghai’Local time is now: Mon Sep 15 19:12:07 CST 2014.Universal Time is now: Mon Sep 15 11:12:07 UTC 2014.Reloading keymap. This may take a short while[ ok ] Setting preliminary keymap…done.Broadcast message from root@raspberrypi (pts/1) (Mon Sep 15 19:13:45 2014):The system is going down for reboot NOW!
如何让树莓派显示中文

相关文章:

你感兴趣的文章:

标签云: