Page Actions
Wiki Actions
User Actions
Submit This Story

用Sabayon 恢复gcc

有猛人这么干过:emerge -C gcc

恢复

借助Sabayon live CD/DVD,可以利用quickpkg方便的恢复gcc。 假设/dev/[gentoo_root]是你的根目录盘:

mount /dev/[gentoo_root] /mnt/gentoo
mount --bind /mnt/gentoo/usr/portage/packages/ /usr/portage/packages/
quickpkg gcc
chroot /mnt/gentoo
emerge -K gcc

当然,如果分开挂了portage,那么portage和/也要分别挂上…

Discussion

Enter your comment
 
 
blog/2009/10/用sabayon_恢复gcc.txt · Last modified: 2009/10/01 00:00 (external edit)     Back to top
Recent changes RSS feed Creative Commons License Powered by PHP Driven by DokuWiki