我过去经常运行Debian测试,我已经有两年没有升级或升级了。昨天我犯了个错误尝试.它没有工作(我不记得确切的错误信息),所以我尝试挤压代替。
嗯,软件包被下载并开始安装,但是后来我开始了libc6配置。我通过了关于重新启动服务的菜单,然后得到:
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包构建的)。总之,我添加了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,但在缺少.h文件时发现了make config错误。
请帮帮我!我不想打破我的系统比现在更.
/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论坛线程似乎是相关的,但与不同的版本有关。
更新:按照这里的建议,我现在正在尝试先升级到蚀刻。但是,不幸的是我现在被移除,我得到:
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)发布于 2012-08-17 19:39:40
问题解决了:
基本上就是这样。更多的细节和高度紧张的态度与问题有关.
https://serverfault.com/questions/418538
复制相似问题