LinuxSir.cn,穿越时空的Linuxsir!

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

emerge --depclean警告信息

[复制链接]
发表于 2009-5-4 23:49:16 | 显示全部楼层 |阅读模式
localhost linyin # 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.

一直出现这条信息,尝试过使用revdep-rebuild和emerge --update --newuse --deep后仍然存在.
麻烦帮忙解决下,谢谢.
发表于 2009-5-4 23:58:59 | 显示全部楼层
用意很简单,让你清理的时候小心点, 别删除了不该删除的东西.(因为以前 portage 经常会干掉一些很关键的东东.)
所以建议用 emerge --depclean -av 进行操作,
最好是设置alias / 在make.conf里设置为emerge的默认选项, 这样在卸载的时候会给个列表.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-5-5 00:02:41 | 显示全部楼层
Post by Blahster;1983359
最好是设置alias / 在make.conf里设置为emerge的默认选项, 这样在卸载的时候会给个列表.


这句话不是很明白,麻烦能解释下吗,怎么设置alias /在make.conf里???
另外,按照你的意思,出现这个警告信息是正常的?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-5-5 00:06:23 | 显示全部楼层
不过我使用添加 -av 参数后,问题依旧:

localhost portage # emerge -av --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.
回复 支持 反对

使用道具 举报

发表于 2009-5-5 00:08:48 | 显示全部楼层
他会一直出来,知道操作顺序,小心点就ok了.
man make.conf
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-5-5 00:10:52 | 显示全部楼层
有个奇怪的问题,以前也是这么操作的,但是重来没有看到过有这样的警示信息.今天突然多了出来,所以有点担心,可能以前没太注意到吧.

另外,他的操作顺序有什么讲究吗?
谢谢 Blahster
回复 支持 反对

使用道具 举报

发表于 2009-5-5 00:26:53 | 显示全部楼层
按照它的提示,再加上人工审核应该就可以了.
回复 支持 反对

使用道具 举报

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

本版积分规则

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