LinuxSir.cn,穿越时空的Linuxsir!

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

小小问题,gentoo下如何安全卸载emerge安装的软件?注意是安全!

[复制链接]
发表于 2004-1-12 14:16:14 | 显示全部楼层 |阅读模式
小小问题,gentoo下如何卸载emerge安装的软件?

注意是安全!尽量不要引起依赖关系等问题。
 楼主| 发表于 2004-1-12 14:25:18 | 显示全部楼层
emerge --depclean 吗?

depclean
              Determines all packages installed on the system that have no explicit  reason  for  being  there.
              emerge generates a list of packages which it expects to be installed by checking the system pack-
              age list and the world file.  It then compares that list to the list of packages which are  actu-
              ally  installed; the differences are listed as unnecessary packages and are suggested for unmerg-
              ing.  WARNING: Removing some packages may cause packages which link to  the  removed  package  to
              stop working and complain about missing libraries.  Re-emerge the complaining package to fix this
              issue.  Note that changes in USE flags can drastically affect the output of depclean.
发表于 2004-1-12 14:52:21 | 显示全部楼层
emerge unmerge
发表于 2004-1-12 15:00:40 | 显示全部楼层
emerge -C就行
有问题再说
这个的确没有很完善的办法
depclean很不可取
 楼主| 发表于 2004-1-12 15:12:28 | 显示全部楼层
最初由 penny 发表
emerge -C就行
有问题再说
这个的确没有很完善的办法
depclean很不可取


说说原因吧,不太懂啊。

我觉得depclean是不是更好一点?
发表于 2004-1-12 15:21:56 | 显示全部楼层
你自己去google搜"emerge depclean"
大把的血泪史 ;)

基本上,这个东西的思路是很好的,但是目前实现起来比较糟糕。
 楼主| 发表于 2004-1-12 15:31:42 | 显示全部楼层
血泪史啊?!

有点恐怖哦,看来还是谨慎一点,装个gentoo也不容易啊!
发表于 2004-1-12 15:31:47 | 显示全部楼层
最初由 myduron 发表
说说原因吧,不太懂啊。

我觉得depclean是不是更好一点?


要不先备份

打包为tbz2文件

然后。。。。
 楼主| 发表于 2004-1-12 15:37:43 | 显示全部楼层
谢谢qing版主,不知你是怎么反删除的?

难道大家都没有碰到卸载的情况?装了就可以用了?
发表于 2004-1-12 15:43:06 | 显示全部楼层
emerge -C呀
或者新版本直接升级,覆盖旧版本。gentoo和rpm不一样,安装的时候检查依赖性,删除的时候不检查。

gentoo有些教本,自动修复依赖性关系的,但是用起来很是麻烦,太慢。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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