LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 978|回复: 6

升级到glibc-2.3.6的问题

[复制链接]
发表于 2006-1-27 09:51:43 | 显示全部楼层 |阅读模式
* Portage have a serious bug in regards to symlinks, and merging
* this with current versions will fail!  See:

*   http://bugs.gentoo.org/show_bug.cgi?id=112082

* If you want to update, please apply this patch:

*   http://bugs.gentoo.org/attachment.cgi?id=72643

* to '/usr/lib/portage/portage.py' and
* comment the die() below.


!!! ERROR: sys-libs/glibc-2.3.6-r2 failed.
!!! Function pkg_setup, Line 1116, Exitcode 0
!!! Might break upgrading.
!!! If you need support, post the topmost build error, NOT this status message.

darknest portage #
看了半天给出的链接也没看明白,郁闷,怎么解决?
发表于 2006-1-27 09:59:25 | 显示全部楼层
你系统现在用的是glibc2.3.5-snapshot版本,在升级glibc2.3.6的时候,你需要针对portage打个补丁,在上面提到了,然后将glibc 2.3.6的ebuild中显示这段话之后的那个die删掉.
然后ebuild glibc-2.3.6-**.ebuild digest, 然后就可以merge了.
注意一定要给portage打上上面提到的那个补丁,否则emerge之后,你的系统就启动不了了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-1-27 10:17:46 | 显示全部楼层
darknest portage # patch -p0 < portage.py
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- portage/pym/portage.py     2005-11-11 16:00:06.000000000 +0200
|+++ portage.az/pym/portage.py  2005-11-11 16:03:37.000000000 +0200
--------------------------
File to patch: pym/portage.py
patching file pym/portage.py
Hunk #1 succeeded at 5841 (offset -589 lines).
Hunk #2 succeeded at 6087 (offset -588 lines).
darknest portage #

这样的话就算是把补丁打上了吧??

darknest glibc # ebuild digest glibc-2.3.6-r2.ebuild
'/usr/portage/sys-libs/glibc/digest' does not exist.

还是不行:ask
回复 支持 反对

使用道具 举报

发表于 2006-1-27 10:39:37 | 显示全部楼层
ebuild glibc-2.3.6-**.ebuild digest
not ebuild digest glibc-2.3.6-**.ebuild
关于portage的补丁,可以手工来打得。
你那个可能算是成功的。不过我不知道:)
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-1-27 10:46:30 | 显示全部楼层
darknest glibc # ebuild glibc-2.3.6-**.ebuild digest
!!! doebuild: 'glibc-2.3.6-r2.ebuild' is not one of the following valid commands:
!!! clean      compile    config     depend     digest     fetch
!!! help       install    manifest   merge      package    postinst
!!! postrm     preinst    prerm      qmerge     rpm        setup
!!! test       unmerge    unpack
darknest glibc #
:help
回复 支持 反对

使用道具 举报

发表于 2006-1-27 11:06:12 | 显示全部楼层
ebuild glibc-2.3.6-r2.ebuild digest.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-1-27 11:07:53 | 显示全部楼层
聪明,看来想偷懒的打几个"**"代替还不领情,郁闷了
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表