LinuxSir.cn,穿越时空的Linuxsir!

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

[求助]关于glibc??

[复制链接]
发表于 2008-1-31 19:57:53 | 显示全部楼层 |阅读模式
最近安装系统的时候遇到个问题
安装的系统是2.4的内核
如果apt-get install ***
然后就提示
Do you want to upgrade glibc now? [Y/n] Y
readlink: invalid option --e
Try 'readlink --help' for more information
readlink: invalid option --e
Try 'readlink --help' for more information
readlink: invalid option --e
Try 'readlink --help' for more information
readlink: invalid option --e
Try 'readlink --help' for more information
WARNING: POSIX threads library NPTL requires kernel version 2.6.8 or later. If you use a kernel 2.4, please upgrade it befor installing glibc.

The installation of a 2.6 kernel _could_ ask you to install a new libc first, this is NOT a bug, and should *NOT* be reported. In that case, please add etch sources to your /etc/apt/sources list and run:
  apt-get install -t etch linux-image-2.6
Then reboot into this new kernel ,and proceed with your upgrade
dpkg: error processing /var/cache/apt/archives/libc6-2.7-6_i386.deb(--unpack): Subprocess pre-installation script returned error exit status 1
INIT: version 2.86 reloading
Errors were encountered while processing:
/var/cache/apt/archives/libc6_2.7-6_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code(1)

小弟英文不好,大概好像是说我不是2.6的内核吧
按照它提示的我又
apt-get install -t etch linux-image-2.6
然后又会出现
Do you want to upgrade glibc now? [Y/n]
.....

如果想配置内核好像还得
apt-get install libncurses5-dev吧

如果那样运行的话又会出现Do you want to upgrade glibc now? [Y/n]

这不是自相矛盾嘛````
如果不想安装2.6内核的系统就用2.4的系统的话,请问有什么办法?
小弟快被折腾疯了!求路过的朋友遇到过此类问题的朋友,帮帮忙吧!雪地裸体自宫五体投地势跪求!谢谢了!
快疯了!会死人的`````````````````````
发表于 2008-2-1 02:49:09 | 显示全部楼层
请贴出 /etc/apt/sources.list
回复 支持 反对

使用道具 举报

发表于 2008-2-1 05:18:49 | 显示全部楼层
Post by manphiz;1813233
请贴出 /etc/apt/sources.list

我觉得不用问了,一看就是从 sarge (2.4 kernel) 直接升级到 testing/unstable 的症状。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-2-1 08:53:46 | 显示全部楼层
# sources.list generated by apt-spy v3.1
deb http://dennou-k.gaia.h.kyoto-u.ac.jp/library/Linux/debian/ testing main
deb-src http://dennou-k.gaia.h.kyoto-u.ac.jp/library/Linux/debian/ testing main
#deb http://security.debian.org/ stable/updates main
#deb http://mirrors.geekbine.org/debian sarge main non-free contrib
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-2-1 08:55:05 | 显示全部楼层
Post by 高原之狼;1813240
我觉得不用问了,一看就是从 sarge (2.4 kernel) 直接升级到 testing/unstable 的症状。



狼兄,小弟不解`什么原因呢?




求教
回复 支持 反对

使用道具 举报

发表于 2008-2-1 11:14:46 | 显示全部楼层
如高原之狼所说,你的源设置为 testing ,目前 testing 中没有 2.4 内核,并且使用高版本的 glibc 。如果不希望升级 glibc ,则考虑把 testing 换成 etch 或者 stable 。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-2-1 17:35:34 | 显示全部楼层
解决了,多谢两位仁兄!
回复 支持 反对

使用道具 举报

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

本版积分规则

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