|
|

楼主 |
发表于 2006-12-21 12:50:15
|
显示全部楼层
Post by qeming
emerge -C xxx
emerge --depclean
revdep-rebuild
在man 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 package list and the world file. It then compares that
list to the list of packages which are actually installed; the differences are listed as unnecessary packages and then
unmerged after a short timeout. 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. Also see
--with-bdeps for behavior with respect to build time dependencies that are not strictly required.
也就是说,这不是只针对一个包进行卸载,而是真对system和world进行的依赖清除,这个比较危险呀...会不会造成很多问题,毕竟,以前卸载过那些包自己也不太清楚了
在做上面的东西之前我先:
DongQ_Lap portage # emerge --update --newuse --deep world
Calculating world dependencies /Traceback (most recent call last):
File "/usr/bin/emerge", line 4856, in ?
retval = emerge_main()
File "/usr/bin/emerge", line 4851, in emerge_main
myopts, myaction, myfiles, spinner)
File "/usr/bin/emerge", line 4179, in action_build
if not mydepgraph.xcreate(myaction):
File "/usr/bin/emerge", line 1831, in xcreate
if not self.validate_blockers():
File "/usr/bin/emerge", line 1542, in validate_blockers
slot_atom = "%s:%s" % (portage.dep_getkey(mycpv),
File "/usr/lib/portage/pym/portage.py", line 4461, in aux_get
raise KeyError(mycpv)
KeyError: 'net-im/gaim-1.5.0'
我是将
>=net-im/gaim-2.0.0_beta1
x11-plugins/gaim-libnotify
>=x11-plugins/gaim-encryption-3.0_beta1
放在unmask中了,然后不能更新整个系统了...
这个怎么搞 |
|