|
|
发表于 2004-6-11 16:25:31
|
显示全部楼层
最初由 penny 发表
这里是不是用emerge -UDv更好?可以防止降级
不过,如果用了packages.keyword,好像-U -u也就没什么区别了。。
这里主要是怕某个包新发现有漏洞给hard mask了,第二个链结有个很好的例子:
rsync-2.6.2 was released a few weeks ago. An ebuild went into portage, and was quickly bumped to -r1. It was marked stable after a couple of days in testing. Those doing daft things like using ACCEPT_KEYWORDS on the command line, and -U to update, got the update to rsync-2.6.2-r1. Then, later that day, it transpired that rsync-2.6.2 and 2.6.2-r1 didn't play nicely with the Gentoo rsync servers. Now, seeing as how rsync is a fairly critical part of a Gentoo system, it was decided that if people couldn't reliably "emerge sync", then this version should be hard masked. So it was hard masked, and everyone who was sensibly using -u to update got rsync-2.6.0 back, and all was well. All those who were using -U got a corrupted portage tree every time they used an rsync server which was under heavy load. The result? Hundreds of invalid bug reports. People posting all over the forums that they were having trouble doing "emerge sync". And so on and so forth. |
|