Gentoo:回归到portage稳定分支

个人觉得~挺好,没这个必要,但是实在想的话:
改make.conf(amd64,x86之类):
#sed "s/\(ACCEPT_KEYWORDS=\"\)~/\1/g" /etc/make.conf > /etc/make.conf

备份package.keywords:
#cp /etc/portage/package.keywords /etc/portage/package.keywords.back

合法化现存unstable分支的包包:
#equery -i -N list | grep \~ | sed 's/.* \(.*\) (.*/<=\1 ~amd64/' >> /etc/portage/package.keywords

这样一来,系统将会在一次次的emerge -uDN world 中慢慢趋于稳定分支...

0 comments:

Post a Comment

| More

Twitter Updates