@
vivisidea 尝试了下似乎不是很靠谱,会 remove 掉一堆相关的东西,试试 --reinstall 看是不是想要的效果。。
xxx:$ sudo apt-get --reinstall install python
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
gir1.2-ubuntuoneui-3.0 gir1.2-unique-3.0 gambas3-gb-form-stock libubuntuoneui-3.0-1 libkms1 pastebinit
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 154 not upgraded.
Need to get 168 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1
http://mirrors.sohu.com/ubuntu/ precise-updates/main python amd64 2.7.3-0ubuntu2.2 [168 kB]
Fetched 168 kB in 0s (335 kB/s)
(Reading database ... 255759 files and directories currently installed.)
Preparing to replace python 2.7.3-0ubuntu2.2 (using .../python_2.7.3-0ubuntu2.2_amd64.deb) ...
Unpacking replacement python ...
Processing triggers for doc-base ...
Processing 1 changed doc-base file...
Registering documents with scrollkeeper...
Processing triggers for man-db ...
Setting up python (2.7.3-0ubuntu2.2) ..