Gentoo无法安装Grub2

nehc 2011-12-04 11:14:05
安装Gentoo handbook 安装,在最后安装Grub时,我选择安装Grub2:
按照Gentoo wiki的方法:http://en.gentoo-wiki.com/wiki/Grub2



# echo "sys-boot/grub:2" >> /etc/portage/package.accept_keywords
# echo "sys-boot/grub:2" >> /etc/portage/package.unmask
# emerge -av sys-boot/grub:2



出现 如下错误:
#emerge -av sys-boot/grub:2

Total: 22 packages (22 new), Size of downlaods: 33.318 kB

The folowing keyword changes are necessary to proceed:
#required by sys-boot/grub-9999[truetype], required by sys-boot/grub:2(argument)
>=media-fonts/unifont-5.1.20080914 ~amd64
#required by sys-boot/grub-9999, required by sys-boot/grub:2(argument)
>=media-fonts/os-prober-1.47 ~amd64
#required by sys-boot/grub:2(argument)
>=media-fonts/grub-9999 **

如下图:



纠结了好久了,未果 ! 求解 ....
...全文
577 4 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
nehc 2011-12-08
  • 打赏
  • 举报
回复
[Quote=引用 2 楼 ricercar 的回复:]

unifont-5.1.20080914在~amd分支里
在/etc/portage/package.use里面加上
>=media-fonts/unifont-5.1.20080914 ~amd64
[/Quote]

麻烦详细解释下,不是说emerge 可以自动解决依赖吗? 为什么还得手动 ?
nehc 2011-12-08
  • 打赏
  • 举报
回复
肿么没人回答? 到底怎么啦?

结果自己解决了: http://blog.csdn.net/cenziboy/article/details/7053567

散分 !!!
Ricercar 2011-12-07
  • 打赏
  • 举报
回复
unifont-5.1.20080914在~amd分支里
在/etc/portage/package.use里面加上
>=media-fonts/unifont-5.1.20080914 ~amd64
nehc 2011-12-05
  • 打赏
  • 举报
回复
reference:http://en.gentoo-wiki.com/wiki/Grub2


echo "sys-boot/grub:2" >> /etc/portage/package.accept_keywords
echo "sys-boot/grub:2" >> /etc/portage/package.unmask
nehc ~ # emerge -av sys-boot/grub:2

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild N ~] sys-boot/os-prober-1.47 25 kB
[ebuild N ] dev-libs/lzo-2.06 USE="-examples -static-libs" 570 kB
[ebuild U ~] media-fonts/unifont-5.1.20080914 [1.0-r4] USE="X" 8,351 kB
[ebuild N ] dev-python/pycrypto-2.3 USE="gmp -doc" 324 kB
[ebuild N ] dev-python/setuptools-0.6.21 391 kB
[ebuild N ] dev-scheme/guile-1.8.8-r1 USE="deprecated nls regex threads -debug -debug-freelist -debug-malloc -discouraged -emacs -networking" 3,864 kB
[ebuild N ] dev-libs/libburn-1.0.0 USE="-debug -track-src-odirect" 792 kB
[ebuild N ] sys-devel/autogen-5.11.5 1,016 kB
[ebuild N ] dev-python/paramiko-1.7.7.1 USE="-doc -examples" 804 kB
[ebuild N ] dev-libs/libisofs-1.0.0 USE="acl zlib -debug -verbose-debug -xattr" 669 kB
[ebuild N ] dev-libs/libisoburn-1.0.0 USE="acl readline zlib -debug -external-filters -external-filters-setuid -xattr" 1,015 kB
[ebuild N ] dev-vcs/bzr-2.4.1 USE="sftp -bash-completion -curl -doc -emacs -test" 7,110 kB
[ebuild NS *] sys-boot/grub-9999 [0.97-r10] USE="nls sdl truetype -custom-cflags -debug -device-mapper -efiemu -static" GRUB_PLATFORMS="-coreboot -efi-32 -efi-64 -emu -ieee1275 -multiboot -pc -qemu -qemu-mips -yeeloong" 0 kB

Total: 13 packages (1 upgrade, 11 new, 1 in new slot), Size of downloads: 24,924 kB

The following keyword changes are necessary to proceed:
#required by sys-boot/grub-9999[truetype], required by sys-boot/grub:2 (argument)
>=media-fonts/unifont-5.1.20080914 ~amd64
#required by sys-boot/grub-9999, required by sys-boot/grub:2 (argument)
>=sys-boot/os-prober-1.47 ~amd64
#required by sys-boot/grub:2 (argument)
>=sys-boot/grub-9999 **

NOTE: This --autounmask behavior can be disabled by setting
EMERGE_DEFAULT_OPTS="--autounmask=n" in make.conf.

Use --autounmask-write to write changes to config files (honoring CONFIG_PROTECT).
nehc ~ #

2,163

社区成员

发帖
与我相关
我的任务
社区描述
Linux/Unix社区 UNIX文化
社区管理员
  • UNIX文化社区
  • 文天大人
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧