|
各位大侠:
今天由于系统升级某些包包跟python-2.3.6冲突,所以就把python卸载了。
机器上有两个版本的python,另一个是python-2.4.3。不过它好像把两个
python全给卸载掉了。
不过卸载后,emerge命令不能用了。请问各位我该怎么办才能恢复emerge命令呢?
common # emerge -C python
....
--- !empty dir /usr/include
--- !empty dir /usr/bin
--- !empty dir /usr
* Removing dead symlink /usr/bin/python
* Removing dead symlink /usr/bin/python2
* Unable to establish /usr/bin/idle symlink
* Unable to establish /usr/bin/pydoc symlink
* Unable to establish /usr/bin/python-config symlink
* Removing dead symlink /usr/share/man/man1/python.1.gz
* Cleaning orphaned Python bytecode from /usr/lib/python2.4 ..
>>> Regenerating /etc/ld.so.cache...
* Messages for package dev-lang/python-2.4.3-r4:
* Removing dead symlink /usr/bin/python
* Removing dead symlink /usr/bin/python2
* Unable to establish /usr/bin/idle symlink
* Unable to establish /usr/bin/pydoc symlink
* Unable to establish /usr/bin/python-config symlink
* Removing dead symlink /usr/share/man/man1/python.1.gz
* GNU info directory index is up-to-date.
g3-nas-cvs common # emerge -pv python
[color="Red"]-bash: /usr/bin/emerge: /usr/bin/python: bad interpreter: No such file or directory
common # emerge
[color="Red"]-bash: /usr/bin/emerge: /usr/bin/python: bad interpreter: No such file or directory |
|