+ -
当前位置:首页 → 问答吧 → emerge出错

emerge出错

时间:2007-01-24

来源:互联网

我在虚拟机上从stage3 安装的gentoo 的,只装了apache + mysql +php +java
刚接触gentoo不久,尝试用过一些emger命令,现在造成的问题系统还能正常启动使用,但是只要用emerge安装软件,安装完了提示
>>> Regenerating /etc/ld.so.cache...
>>> app-admin/apachetop-0.12.6 merged.
>>> Recording app-admin/apachetop in "world" favorites file...

>>> clean: No packages selected for removal.

>>> Auto-cleaning packages ...

dev-lang/perl
selected: 5.8.7-r3
protected: 5.8.8-r2
omitted: none

sys-devel/libperl
selected: 5.8.7
protected: 5.8.8-r1
omitted: none

sys-apps/sed
selected: 4.1.4
protected: 4.1.5
omitted: none

perl-core/PodParser
selected: 1.34
protected: 1.32
omitted: none

sys-devel/binutils-config
selected: 1.8-r6


 ....


>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.

>>> Waiting 5 seconds before starting...
>>> (Control-C to abort)...
>>> Unmerging in: 5 4 3 2 1


然后cd命令能用完,其他的命令都不能用
任何命令都提示
# ls
ls: relocation error: /lib/libpthread.so.0: symbol _h_errno, version GLIBC_2.0 not defined in file libc.so.6 with link time reference

需要用livecd启动后,将stage3的压缩文件覆盖到对应的目录下,系统才能用,但只要一安装软件就出现这样的情况,怎么样才能正常安装软件呢

作者: yakczh   发布时间: 2007-01-24

用revdep-rebuild 试试看。如果这个命令有效,可能是dbus 升级带来的问题,在dbus 升级后有提示要用这个命令。建议你安装一个elogviewer 可以记录安装时的信息,elogviewer 在安装完毕后要在 make.conf里加东西,注意看清楚。

作者: wangflove   发布时间: 2007-01-25