我曾经运行Debiantesting,而且我还没有升级或升级了大约2年。 昨天我犯了这个错误… …它不起作用(我不记得确切的错误信息),所以我试着挤。
那么,软件包被下载并开始安装,但后来我到了libc6configuration。 我通过关于重新启动服务的菜单,然后得到:
WARNING: this version of the GNU libc requires kernel version 2.6.18 or later. Please upgrade your kernel 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 lenny sources to your /etc/apt/sources.list and run: apt-get install -t lenny linux-image-2.6 Then reboot into this new kernel, and proceed with your upgrade dpkg: error processing /var/cache/apt/archives/libc6_2.11.3-3_i386.deb (--unpack): subprocess new pre-installation script returned error exit status 1 configured to not write apport reports Errors were encountered while processing: /var/cache/apt/archives/libc6_2.11.3-3_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
我的内核是一个定制的2.6.11.7(不是使用Debian软件包构build的)。 无论如何,我添加了lenny资源(来自archive.debian.org)并尝试
apt-get install -t lenny linux-image-2.6-2-686
但所有得到的是:
The following packages have unmet dependencies: libc-bin : Breaks: libc6 (< 2.10) but 2.7-18 is to be installed linux-image-2.6.26-2-686 : Depends: initramfs-tools (>= 0.55) but it is not going to be installed or yaird (>= 0.0.13) but it is not installable or linux-initramfs-tool Recommends: libc6-i686 but it is not going to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
添加libc6-i686 initramfs-tools不起作用。 我尝试了更多的东西,令我感到遗憾的是,我不记得(我认为地点已经被删除了)。 我尝试手动下载Linux-2.6.35,但在make config上缺less.h文件时出错。
请帮忙! 我不想打破我的系统比现在更多…
/etc/apt/sources.lst内容:
deb http://debian.co.il/debian/ squeeze main deb http://archive.debian.org/debian lenny main contrib non-free deb-src http://debian.co.il/debian/ squeeze main deb http://security.debian.org/ squeeze/updates main deb http://security.debian.org/ lenny/updates main
这Debian论坛的线程似乎是相关的,但具有不同的版本。
更新:在这里的一个build议,我现在试图远程升级到先蚀刻。 但是,祸事是我,现在libc-bin被删除,我得到:
Preconfiguring packages ... dpkg: warning: 'ldconfig' not found in PATH or not executable. dpkg: 1 expected program not found in PATH or not executable. NB: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin. E: Sub-process /usr/bin/dpkg returned an error code (2)
那么问题解决了:
基本上就是这样。 更多的细节和高度的态度在线索链接从问题… … –