LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 687|回复: 8

求助!revdep-rebuild.失败,不知道什么原因

[复制链接]
发表于 2010-12-20 11:02:13 | 显示全部楼层 |阅读模式
我今天在做的revdep-rebuild失败了,下面是出错信息,不知道为什么?有人能告诉我怎么办吗,谢谢了


Found existing 3_broken.rr.
* Assigning files to packages
*  !!! /usr/lib/libGL.la not owned by any package is broken !!!
*   /usr/lib/libGL.la -> (none)
*  !!! /usr/lib/libX11.so.6.3.0 not owned by any package is broken !!!
*   /usr/lib/libX11.so.6.3.0 -> (none)
*  !!! /usr/lib/libxcb-dri2.la not owned by any package is broken !!!
*   /usr/lib/libxcb-dri2.la -> (none)
*  !!! /usr/lib/libxcb-dri2.so.0.0.0 not owned by any package is broken !!!
*   /usr/lib/libxcb-dri2.so.0.0.0 -> (none)
*  !!! /usr/lib/libXft.la not owned by any package is broken !!!
*   /usr/lib/libXft.la -> (none)
*  !!! /usr/lib/libXi.so.6.1.0 not owned by any package is broken !!!
*   /usr/lib/libXi.so.6.1.0 -> (none)
*  !!! /usr/lib/libXmu.la not owned by any package is broken !!!
*   /usr/lib/libXmu.la -> (none)
*  !!! /usr/lib/libXmu.so.6.2.0 not owned by any package is broken !!!
*   /usr/lib/libXmu.so.6.2.0 -> (none)
*  !!! /usr/lib/libXmuu.la not owned by any package is broken !!!
*   /usr/lib/libXmuu.la -> (none)
*  !!! /usr/lib/libXrender.la not owned by any package is broken !!!
*   /usr/lib/libXrender.la -> (none)
*  !!! /usr/lib/pango/1.6.0/modules/pango-basic-x.la not owned by any package is broken !!!
*   /usr/lib/pango/1.6.0/modules/pango-basic-x.la -> (none)
*  !!! /usr/lib/vmware-tools/lib32/libXinerama.so.1/libXinerama.so.1 not owned by any package is broken !!!
*   /usr/lib/vmware-tools/lib32/libXinerama.so.1/libXinerama.so.1 -> (none)
*  !!! /usr/lib/vmware-tools/lib32/libXrandr.so.2/libXrandr.so.2 not owned by any package is broken !!!
*   /usr/lib/vmware-tools/lib32/libXrandr.so.2/libXrandr.so.2 -> (none)
*  !!! /usr/lib/vmware-tools/lib32/libXss.so.1/libXss.so.1 not owned by any package is broken !!!
*   /usr/lib/vmware-tools/lib32/libXss.so.1/libXss.so.1 -> (none)
* Generated new 4_raw.rr and 4_owners.rr
* Found some broken files, but none of them were associated with known packages
* Unable to proceed with automatic repairs.
* The broken files are listed in 4_owners.rr
发表于 2010-12-20 12:42:10 | 显示全部楼层
看样子提示是好多坏了的链接库找不到是属于那个包的

建议你先emerge --sync
再emerge -avuDN world后尝试revdep-rebuild,或许能行
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-12-20 15:00:15 | 显示全部楼层
非常感谢你的帮助!我现在正在重新编译整个系统,等编译好了再看有没有好
回复 支持 反对

使用道具 举报

发表于 2010-12-20 15:50:59 | 显示全部楼层
有没有试过
lafilefixer --justfixit
回复 支持 反对

使用道具 举报

发表于 2010-12-20 16:10:27 | 显示全部楼层
先 $ sudo emerge --depclean 试试。
回复 支持 反对

使用道具 举报

发表于 2010-12-20 17:06:52 | 显示全部楼层
大部分情况一般
# revdep-rebuild -i  
多运行几次就搞定了。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-12-22 08:38:42 | 显示全部楼层
我重新编译了所有的系统文件和软件包在revdep-build的时候还是有同样的错误,不知道怎么修复,谢谢上面给我的回复,但是我都试过了还是没有办法解决我的问题。
revdep-rebuild -i
* Configuring search environment for revdep-rebuild

* Checking reverse dependencies
* Packages containing binaries and libraries broken by a package update
* will be emerged.

* Collecting system binaries and libraries
* Generated new 1_files.rr
* Collecting complete LD_LIBRARY_PATH
* Generated new 2_ldpath.rr
* Checking dynamic linking consistency
[ 61% ]  *   broken /usr/lib/libGL.la (requires -lSM)
*   broken /usr/lib/libGL.la (requires -lICE)
*   broken /usr/lib/libGL.la (requires -lXt)
*   broken /usr/lib/libGL.la (requires -lXext)
*   broken /usr/lib/libGL.la (requires -lXi)
*   broken /usr/lib/libGL.la (requires -lX11)
[ 64% ]  *   broken /usr/lib/libX11.so.6.3.0 (requires libxcb.so.1)
[ 65% ]  *   broken /usr/lib/libxcb-dri2.la (requires /usr/lib/libxcb.la)
*   broken /usr/lib/libxcb-dri2.la (requires /usr/lib/libXau.la)
*   broken /usr/lib/libxcb-dri2.la (requires /usr/lib/libXdmcp.la)
*   broken /usr/lib/libxcb-dri2.so.0.0.0 (requires libxcb.so.1)
*   broken /usr/lib/libXft.la (requires /usr/lib/libX11.la)
*   broken /usr/lib/libXft.la (requires /usr/lib/libxcb.la)
*   broken /usr/lib/libXft.la (requires /usr/lib/libXau.la)
*   broken /usr/lib/libXft.la (requires /usr/lib/libXdmcp.la)
*   broken /usr/lib/libXi.so.6.1.0 (requires libXext.so.6)
*   broken /usr/lib/libXmu.la (requires /usr/lib/libXt.la)
*   broken /usr/lib/libXmu.la (requires /usr/lib/libSM.la)
*   broken /usr/lib/libXmu.la (requires /usr/lib/libICE.la)
*   broken /usr/lib/libXmu.la (requires /usr/lib/libXext.la)
*   broken /usr/lib/libXmu.la (requires /usr/lib/libX11.la)
*   broken /usr/lib/libXmu.la (requires /usr/lib/libxcb.la)
*   broken /usr/lib/libXmu.la (requires /usr/lib/libXau.la)
*   broken /usr/lib/libXmu.la (requires /usr/lib/libXdmcp.la)
*   broken /usr/lib/libXmu.so.6.2.0 (requires libXext.so.6
libXt.so.6)
*   broken /usr/lib/libXmuu.la (requires /usr/lib/libX11.la)
*   broken /usr/lib/libXmuu.la (requires /usr/lib/libxcb.la)
*   broken /usr/lib/libXmuu.la (requires /usr/lib/libXau.la)
*   broken /usr/lib/libXmuu.la (requires /usr/lib/libXdmcp.la)
*   broken /usr/lib/libXrender.la (requires /usr/lib/libX11.la)
*   broken /usr/lib/libXrender.la (requires /usr/lib/libxcb.la)
*   broken /usr/lib/libXrender.la (requires /usr/lib/libXau.la)
*   broken /usr/lib/libXrender.la (requires /usr/lib/libXdmcp.la)
[ 67% ]  *   broken /usr/lib/pango/1.6.0/modules/pango-basic-x.la (requires /usr/lib/libX11.la)
*   broken /usr/lib/pango/1.6.0/modules/pango-basic-x.la (requires /usr/lib/libxcb.la)
*   broken /usr/lib/pango/1.6.0/modules/pango-basic-x.la (requires /usr/lib/libXau.la)
*   broken /usr/lib/pango/1.6.0/modules/pango-basic-x.la (requires /usr/lib/libXdmcp.la)
[ 90% ]  *   broken /usr/lib/vmware-tools/lib32/libXinerama.so.1/libXinerama.so.1 (requires libXext.so.6)
*   broken /usr/lib/vmware-tools/lib32/libXrandr.so.2/libXrandr.so.2 (requires libXext.so.6)
*   broken /usr/lib/vmware-tools/lib32/libXss.so.1/libXss.so.1 (requires libXext.so.6)
[ 100% ]                 
* Generated new 3_broken.rr
* Assigning files to packages
*  !!! /usr/lib/libGL.la not owned by any package is broken !!!
*   /usr/lib/libGL.la -> (none)
*  !!! /usr/lib/libX11.so.6.3.0 not owned by any package is broken !!!
*   /usr/lib/libX11.so.6.3.0 -> (none)
*  !!! /usr/lib/libxcb-dri2.la not owned by any package is broken !!!
*   /usr/lib/libxcb-dri2.la -> (none)
*  !!! /usr/lib/libxcb-dri2.so.0.0.0 not owned by any package is broken !!!
*   /usr/lib/libxcb-dri2.so.0.0.0 -> (none)
*  !!! /usr/lib/libXft.la not owned by any package is broken !!!
*   /usr/lib/libXft.la -> (none)
*  !!! /usr/lib/libXi.so.6.1.0 not owned by any package is broken !!!
*   /usr/lib/libXi.so.6.1.0 -> (none)
*  !!! /usr/lib/libXmu.la not owned by any package is broken !!!
*   /usr/lib/libXmu.la -> (none)
*  !!! /usr/lib/libXmu.so.6.2.0 not owned by any package is broken !!!
*   /usr/lib/libXmu.so.6.2.0 -> (none)
*  !!! /usr/lib/libXmuu.la not owned by any package is broken !!!
*   /usr/lib/libXmuu.la -> (none)
*  !!! /usr/lib/libXrender.la not owned by any package is broken !!!
*   /usr/lib/libXrender.la -> (none)
*  !!! /usr/lib/pango/1.6.0/modules/pango-basic-x.la not owned by any package is broken !!!
*   /usr/lib/pango/1.6.0/modules/pango-basic-x.la -> (none)
*  !!! /usr/lib/vmware-tools/lib32/libXinerama.so.1/libXinerama.so.1 not owned by any package is broken !!!
*   /usr/lib/vmware-tools/lib32/libXinerama.so.1/libXinerama.so.1 -> (none)
*  !!! /usr/lib/vmware-tools/lib32/libXrandr.so.2/libXrandr.so.2 not owned by any package is broken !!!
*   /usr/lib/vmware-tools/lib32/libXrandr.so.2/libXrandr.so.2 -> (none)
*  !!! /usr/lib/vmware-tools/lib32/libXss.so.1/libXss.so.1 not owned by any package is broken !!!
*   /usr/lib/vmware-tools/lib32/libXss.so.1/libXss.so.1 -> (none)
* Generated new 4_raw.rr and 4_owners.rr
* Found some broken files, but none of them were associated with known packages
* Unable to proceed with automatic repairs.
* The broken files are listed in 4_owners.rr
gentoo ~ #


如果不加-i参数的话,直接就跳到错误的信息,不会去收集链接信息,楼上的朋友告诉的方法我都试过还是不能解决我的问题?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-12-22 09:27:25 | 显示全部楼层
谢谢大家的帮助。已经解决,终于在Google上面搜到解决的办法,就是把那些被破坏的包删除或者移走,然后重新revdep-build -i就就成功了。
回复 支持 反对

使用道具 举报

发表于 2010-12-23 19:57:28 | 显示全部楼层
嗯,看错了出错信息,已经删了
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表