我无法使用' apt-get install'完全由于这种错误:
me@me:~$ sudo apt-get install unzip
Reading package lists... Done
Building dependency tree
Reading state information... Done
unzip is already the newest version.
The following package was automatically installed and is no longer required:
lsb-release
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_US:en",
LC_ALL = (unset),
LC_TIME = "ko_KR.UTF-8",
LC_MONETARY = "ko_KR.UTF-8",
LC_ADDRESS = "ko_KR.UTF-8",
LC_TELEPHONE = "ko_KR.UTF-8",
LC_NAME = "ko_KR.UTF-8",
LC_MEASUREMENT = "ko_KR.UTF-8",
LC_IDENTIFICATION = "ko_KR.UTF-8",
LC_NUMERIC = "ko_KR.UTF-8",
LC_PAPER = "ko_KR.UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_ALL to default locale: No such file or directory
Setting up gconf2 (2.28.1-6) ...
Traceback (most recent call last):
File "/usr/sbin/gconf-schemas", line 8, in <module>
import sys,os,os.path,shutil,tempfile
File "/usr/lib/python2.7/tempfile.py", line 32, in <module>
import io as _io
File "/usr/lib/python2.7/io.py", line 51, in <module>
ImportError: No module named _io
dpkg: error processing gconf2 (--configure):
subprocess installed post-installation script returned error exit status 1
configured to not write apport reports
Errors were encountered while processing:
gconf2
E: Sub-process /usr/bin/dpkg returned an error code (1)
解压缩包只是一个例子,因为同样的错误我无法安装任何包。 我在stackoverflow中找到了一个类似的问题:ImportError: No module named _io in ubuntu 14.04但我觉得这对我来说不是一个合适的解决方案。你有什么想法解决这个问题吗?