+ -
当前位置:首页 → 问答吧 → 怎么清除未emerge 成功的软件

怎么清除未emerge 成功的软件

时间:2009-09-30

来源:互联网

怎么清除未emerge 成功的软件,我发现有很多没有安装成功的软件。但又装了一些。有个文件未成功。我想清掉这些依赖包什么的。怎么做呢。


比如说

emerge ww-client/chromium

>>> Installing (3 of 3) www-client/chromium-4.0.212.0_p26805
* checking 519 files for package collisions
* This package will overwrite one or more files that may belong to other
* packages (see list below). You can use a command such as `portageq
* owners / <filename>` to identify the installed package that owns a
* file. If portageq reports that only one package owns a file then do
* NOT file a bug report. A bug report is only useful if it identifies at
* least two or more packages that are known to install the same file(s).
* If a collision occurs and you can not explain where the file came from
* then you should simply ignore the collision since there is not enough
* information to determine if a real problem exists. Please do NOT file
* a bug report at http://bugs.gentoo.org unless you report exactly which
* two packages install the same file(s). Once again, please do NOT file
* a bug report unless you have completely understood the above message.
*
* Detected file collision(s):
*
* /usr/share/applications/chromium-chromium.desktop
*
* Searching all installed packages for file collisions...
*
* Press Ctrl-C to Stop
*
* games-action/chromium-0.9.13.3
* /usr/share/applications/chromium-chromium.desktop
*
* Package 'www-client/chromium-4.0.212.0_p26805' NOT merged due to file
* collisions. If necessary, refer to your elog messages for the whole
* content of the above message.

这个失败了。

但 Installing (1 of 3) Installing (2 of 3) 又成功了

我emerge -C ww-client/chromium 又不行。

还请帮助。
谢谢

作者: l_s   发布时间: 2009-09-30

emerge --depclean

作者: shikihyx   发布时间: 2009-09-30

据说portage-2.2中有个特性会记录这样的依赖, 然后可以删除, 没用过~.~

作者: newsky_   发布时间: 2009-09-30

depclean

作者: zhllg   发布时间: 2009-09-30

引用:
作者: zhllg
depclean


我只想对某一个软件.
你那样.好像把有些我不想删的就KILL 了...

 我没有试过.不知道.说得对不对..
还请老大指点....

作者: l_s   发布时间: 2009-09-30

不想删的查查在不在/var/lib/portage/world里
不在的话加进去
然后再--depclean

作者: zhllg   发布时间: 2009-10-01

1 不用把幫助和謝謝放中間加粗加紅,來這問問題不會不幫。不幫就說明大家不知道,不是不幫你。這裡人都還是好人……
2 從你這個報告來看,我沒有覺得你的chromium安裝失敗了。這個問題比較容易發生,發生的原因可能是原來有個文件沒有刪除之類的。程序包算是安裝正確了。所以你不用太擔心。
3 想把依賴包清了也就只有depclean一個方法了。如果你還有更高的要求,你可以手動刪除。比如把depclean的結果放在一個文件里:
代码:
emerge --depclean > 1.txt
然後再根據1.txt里的內容一個一個判斷。其實emerge --depclean還算比較安全,前提是你在之前剛進行過emerge -DNu world system。

最後,不用謝~~~

作者: 亞利艾爾   发布时间: 2009-10-01

/var/log/emerge.log自己找呗。。。。
ps udept不错

作者: Conanzsw   发布时间: 2009-10-01

谢谢大家的回复


引用:
作者: 亞利艾爾
前提是你在之前剛進行過emerge -DNu world system。

最後,不用謝~~~
你这样说我还有点害怕了(你的意思是必须emerge -DNu world/system)。那我还敢哟,装系统装怕了。

作者: l_s   发布时间: 2009-10-01

怕的話就emerge --depclean -p >1.txt 看看,然後手動卸。這個算是在時間和精力上比較劃來的。

作者: 亞利艾爾   发布时间: 2009-10-01

引用:
作者: 亞利艾爾
怕的話就emerge --depclean -p >1.txt 看看,然後手動卸。這個算是在時間和精力上比較劃來的。

有 道理。。。。呵呵。。。。试一试。。。

作者: l_s   发布时间: 2009-10-02

热门下载

更多