LinuxSir.cn,穿越时空的Linuxsir!

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

emerge --depclean不能用[已解决]

[复制链接]
发表于 2009-9-7 14:29:11 | 显示全部楼层 |阅读模式
在emerge -uDNv --ask world之后,
emerge --depclean一直提示如下
* Depclean may break link level dependencies.  Thus, it is
* recommended to use a tool such as `revdep-rebuild` (from
* app-portage/gentoolkit) in order to detect such breakage.
*                                                         
* Always study the list of packages to be cleaned for any obvious
* mistakes. Packages that are part of the world set will always  
* be kept.  They can be manually added to this set with         
* `emerge --noreplace <atom>`.  Packages that are listed in      
* package.provided (see portage(5)) will be removed by           
* depclean, even if they are part of the world set.              
*                                                               
* As a safety measure, depclean will not remove any packages     
* unless *all* required dependencies have been resolved.  As a   
* consequence, it is often necessary to run `emerge --update     
* --newuse --deep world` prior to depclean.                     

Calculating dependencies... done!
* Dependencies could not be completely resolved due to
* the following required packages not being installed:
*                                                     
*   ~x11-libs/qt-core-4.5.1 pulled in by:            
*     x11-libs/qt-4.5.1                              
*                                                     
*   ~x11-libs/qt-dbus-4.5.1 pulled in by:            
*     x11-libs/qt-4.5.1                              
*                                                     
*   ~x11-libs/qt-webkit-4.5.1 pulled in by:           
*     x11-libs/qt-4.5.1                              
*
*   ~x11-libs/qt-test-4.5.1 pulled in by:
*     x11-libs/qt-4.5.1
*
*   ~x11-libs/qt-qt3support-4.5.1 pulled in by:
*     x11-libs/qt-4.5.1
*
*   ~x11-libs/qt-assistant-4.5.1 pulled in by:
*     x11-libs/qt-4.5.1
*
*   ~x11-libs/qt-gui-4.5.1 pulled in by:
*     x11-libs/qt-4.5.1
*
*   ~x11-libs/qt-xmlpatterns-4.5.1 pulled in by:
*     x11-libs/qt-4.5.1
*
*   ~x11-libs/qt-svg-4.5.1 pulled in by:
*     x11-libs/qt-4.5.1
*
*   virtual/perl-Package-Constants pulled in by:
*     perl-core/Archive-Tar-1.52
*
*   ~x11-libs/qt-sql-4.5.1 pulled in by:
*     x11-libs/qt-4.5.1
*
*   ~x11-libs/qt-script-4.5.1 pulled in by:
*     x11-libs/qt-4.5.1
*
*   ~x11-libs/qt-opengl-4.5.1 pulled in by:
*     x11-libs/qt-4.5.1
*
* Have you forgotten to run `emerge --update --newuse --deep world` prior
* to depclean? It may be necessary to manually uninstall packages that no longer
* exist in the portage tree since it may not be possible to satisfy their
* dependencies.  Also, be aware of the --with-bdeps option that is documented
* in `man emerge`.


eix -I qt
[D] x11-libs/qt                                                                                                   
     Available versions:                                                                                          
        (3)     3.3.8b-r1 (~)3.3.8b-r2                                                                             
        (4)     [M]4.4.2 [M]4.5.1 [M](~)4.5.2                                                                     
        {cups dbus debug doc examples firebird immqt immqt-bc ipv6 kde mysql nas nis odbc opengl postgres qt3support sqlite xinerama}
     Installed versions:  3.3.8b-r2(3)(14:24:25 09/07/09)(cups opengl -debug -doc -examples -firebird -immqt -immqt-bc -ipv6 -mysql -nas -nis -odbc -postgres -sqlite -xinerama)                                                                                                                                          
                          4.5.1(4)(01:24:39 06/19/09)(dbus kde opengl qt3support)                                                                           
     Homepage:            http://www.qtsoftware.com/                                                                                                         
     Description:         The Qt toolkit is a comprehensive C++ application development framework                                                            

x11-libs/qt-core
     Available versions:  (4)  4.4.2 4.4.2-r2 4.5.1 (~)4.5.2
        {debug doc glib iconv pch qt3support ssl}           
     Installed versions:  4.5.2(4)(13:43:07 09/01/09)(glib iconv qt3support ssl -debug -doc -pch)
     Homepage:            http://qt.nokia.com/                                                   
     Description:         The Qt toolkit is a comprehensive C++ application development framework

x11-libs/qt-dbus
     Available versions:  (4)  4.4.2 4.5.1 (~)4.5.2
        {debug pch}                                
     Installed versions:  4.5.2(4)(00:38:06 09/02/09)(-debug -pch)
     Homepage:            http://qt.nokia.com/                    
     Description:         The DBus module for the Qt toolkit      

x11-libs/qt-gui
     Available versions:  (4)  4.4.2-r3 4.5.1 (~)4.5.1-r1 (~)4.5.1-r2 (~)4.5.2-r1 (~)4.5.2-r2
        {accessibility cups dbus debug glib gtk gtkstyle input_devices_wacom mng nas nis pch qt3support raster tiff xinerama}
     Installed versions:  4.5.2-r2(4)(15:34:58 09/01/09)(accessibility cups dbus glib qt3support tiff -debug -gtk -mng -nas -nis -pch -raster -xinerama)
     Homepage:            http://qt.nokia.com/                                                                                                         
     Description:         The GUI module for the Qt toolkit                                                                                             

x11-libs/qt-opengl
     Available versions:  (4)  4.4.2 4.5.1 (~)4.5.2 (~)4.5.2-r1
        {debug pch qt3support}                                 
     Installed versions:  4.5.2-r1(4)(14:59:57 08/30/09)(qt3support -debug -pch)
     Homepage:            http://qt.nokia.com/                                 
     Description:         The OpenGL module for the Qt toolkit                  

x11-libs/qt-qt3support
     Available versions:  (4)  4.4.2 4.5.1 (~)4.5.2
        {accessibility debug kde pch phonon}      
     Installed versions:  4.5.2(4)(15:54:24 07/10/09)(accessibility kde -debug -pch -phonon)
     Homepage:            http://qt.nokia.com/                                             
     Description:         The Qt3 support module for the Qt toolkit                        

x11-libs/qt-script
     Available versions:  (4)  4.4.2 4.5.1 (~)4.5.2
        {debug iconv pch}                          
     Installed versions:  4.5.2(4)(15:37:03 07/10/09)(iconv -debug -pch)
     Homepage:            http://qt.nokia.com/                          
     Description:         The ECMAScript module for the Qt toolkit      

x11-libs/qt-sql
     Available versions:  (4)  4.4.2 4.4.2-r1 4.5.1 (~)4.5.2
        {debug firebird iconv mysql odbc pch postgres qt3support sqlite}
     Installed versions:  4.5.2(4)(15:34:57 07/10/09)(iconv mysql qt3support sqlite -debug -firebird -odbc -pch -postgres)
     Homepage:            http://qt.nokia.com/                                                                           
     Description:         The SQL module for the Qt toolkit                                                               

x11-libs/qt-svg
     Available versions:  (4)  4.4.2 4.5.1-r1 (~)4.5.2
        {debug iconv pch}
     Installed versions:  4.5.2(4)(15:55:21 07/10/09)(iconv -debug -pch)
     Homepage:            http://qt.nokia.com/
     Description:         The SVG module for the Qt toolkit

x11-libs/qt-test
     Available versions:  (4)  4.4.2 4.5.1 (~)4.5.2
        {debug iconv pch}
     Installed versions:  4.5.2(4)(15:35:39 07/10/09)(iconv -debug -pch)
     Homepage:            http://qt.nokia.com/
     Description:         The testing framework module for the Qt toolkit

x11-libs/qt-webkit
     Available versions:  (4)  4.4.2-r1 4.4.2-r2 4.5.1 4.5.1-r1 (~)4.5.2 (~)4.5.2-r1
        {debug kde pch}
     Installed versions:  4.5.2-r1(4)(16:00:51 08/18/09)(kde -debug -pch)
     Homepage:            http://qt.nokia.com/
     Description:         The Webkit module for the Qt toolkit

x11-libs/qt-xmlpatterns
     Available versions:  (4)  4.4.2 4.5.1 (~)4.5.2
        {debug pch}
     Installed versions:  4.5.2(4)(11:53:52 08/22/09)(-debug -pch)
     Homepage:            http://qt.nokia.com/
     Description:         The patternist module for the Qt toolkit

x11-libs/qtscriptgenerator
     Available versions:  (~)0.1.0 [M]**9999[1] {debug kde}
     Installed versions:  0.1.0(12:15:44 08/22/09)(kde -debug)
     Homepage:            http://code.google.com/p/qtscriptgenerator/
     Description:         Tool for generating Qt bindings for Qt Script
 楼主| 发表于 2009-9-7 14:32:11 | 显示全部楼层
那个 pinentry要依赖 qt:3, 也搞不懂为什么, 禁用里qt3到use也一样的
app-crypt/pinentry
     Available versions:  0.7.5 (~)0.7.5-r1 (~)0.7.6 {caps gtk ncurses qt3 qt4 static}
     Installed versions:  0.7.6(13:15:17 09/07/09)(ncurses qt4 -caps -gtk -qt3 -static)
     Homepage:            http://www.gnupg.org/aegypten/
     Description:         Collection of simple PIN or passphrase entry dialogs which utilize the Assuan protocol
回复 支持 反对

使用道具 举报

发表于 2009-9-7 17:44:42 | 显示全部楼层
先运行一遍emerge -uDN world 再来
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-9-7 18:15:57 | 显示全部楼层
Post by yourfriend;2024818
先运行一遍emerge -uDN world 再来


see the first line~
回复 支持 反对

使用道具 举报

发表于 2009-9-7 19:31:22 | 显示全部楼层
我以前也遇过此问题,那就把提示的所有包再emerge 一遍。
回复 支持 反对

使用道具 举报

发表于 2009-9-8 13:49:02 | 显示全部楼层
从来用用--depclean,每次用都帮我把有用的东西也CLEAN了,就算redev-build也没用
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-9-9 10:54:08 | 显示全部楼层
Post by yourfriend;2024867
我以前也遇过此问题,那就把提示的所有包再emerge 一遍。


提示的包都升级到里4.5.2, 单单qt这一个包停留在里4.5.1,因为他被portage mask了,于是就一直提示如此。
回复 支持 反对

使用道具 举报

发表于 2009-9-9 16:05:05 | 显示全部楼层
應該有news的提示吧,說了,不要安裝x11-libs/qt-4*。出這種問題不維護。
  說白了,不要自己去安裝什麽依賴。如果都是自己動手安裝依賴,和當年的rpm有什麽區別?而且不要想到有程序要用qt就安裝個qt,那這樣想還有很多程序有其它的要求你還想不過來呢……
  把你的x11-libs/qt-4.5.1卸載了。如果你要搞qt的開發,也是請你自己手動安裝要的庫。
回复 支持 反对

使用道具 举报

发表于 2009-9-9 16:07:23 | 显示全部楼层
Post by crob;2025102
从来用用--depclean,每次用都帮我把有用的东西也CLEAN了,就算redev-build也没用
revdep-rebuild當然沒有用。不知道你什麽有用東西會被clean。如果沒有沒事emerge -1這樣的壞習慣的話,emerge --depclean是絕對正確的。如果你只是覺得有些開發用的包,像pkg-config什麽的老被卸載,那就在make.conf中設置EMERGE_DEFAULT_OPTS="--with-bdeps y"
回复 支持 反对

使用道具 举报

发表于 2009-9-9 16:09:17 | 显示全部楼层
Post by newsky_;2024772
那个 pinentry要依赖 qt:3, 也搞不懂为什么, 禁用里qt3到use也一样的
不可能,十有八九是你禁用的語法寫的有問題,或者你禁用完了沒有emerge -N pinentry。再檢查檢查再看。我看過ebuild,禁用了qt3就不會依賴qt:3了。
回复 支持 反对

使用道具 举报

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

本版积分规则

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