|
我在每次尝试升级的时候都会遇到 libc6_2.7-18lenny2_i386.deb 这个包升级的错误提示
具体的如下面提示
正在预设定软件包 ...
(正在读取数据库 ... 系统当前总共安装有 23436 个文件和目录。)
正预备替换 libc6 2.3.6.ds1-13 (使用 .../libc6_2.7-18lenny2_i386.deb) ...
Checking for services that may need to be restarted...
Checking init scripts...
WARNING: POSIX threads library NPTL requires kernel version
2.6.8 or later. If you use a kernel 2.4, please upgrade it
before 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:处理 /var/cache/apt/archives/libc6_2.7-18lenny2_i386.deb (--unpack)时出错:
子进程?pre-installation script?返回了错误号?1
在处理时有错误发生:
/var/cache/apt/archives/libc6_2.7-18lenny2_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
啊!安装软件包时出现某些坏情况。正在试图恢复:
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取扩展状态文件
正在初始化软件包状态... 完成
正在读取任务描述... 完成
然后就无法升级
我在debian.org上面看到可以使用
aptitude install aptitude 可以升级libc6
但是 实际上这么做之后
也会出现 libc6_2.7-18lenny2_i386.deb 这个包的错误提示
导致我现在 无法正常升级相关软件包
比如 apt dpkg aptitude 和内核
aptitude dist-upgrade 也会失败
安装2.6内核会提示libc6错误提示
该怎么办?
我的内核版本
cazool:~# uname -a
Linux cazool 2.4.27-3-686-smp #1 SMP Tue Dec 5 23:12:28 UTC 2006 i686 GNU/Linux |
|