tan*_*ens 5 linux debian dependencies kernel debian-squeeze
我刚刚在我的 vserver 上从 lenny 更新了我的 Debian 系统,然后按照此处所述进行挤压。
我在安装过程中遇到一些错误,说无法更新 glibc。
我做了一个apt-get -f install,它给了我以下警告:
警告:此版本的 GNU libc 需要内核版本 2.6.18 或更高版本。请在安装 glibc 之前升级您的内核。
2.6内核的安装可能会要求你先安装一个新的libc,这是不是一个错误,并应不报。在这种情况下,请将 lenny 源添加到您的 /etc/apt/sources.list 并运行: apt-get install -t lenny linux-image-2.6 然后重新启动到这个新内核,并继续升级
dpkg: error processing /var/cache/apt/archives/libc6_2.10.2-2_i386.deb (--unpack): subprocess new pre-installation script returned error exit status 1 处理时遇到错误:/var/cache/apt/档案/libc6_2.10.2-2_i386.deb
我将这些行添加到我的/etc/apt/sources.list:
deb http://ftp.de.debian.org/debian squeeze main contrib non-free
deb http://ftp.de.debian.org/debian-volatile squeeze/volatile main contrib non-free
deb http://ftp.de.debian.org/debian-security squeeze/updates main contrib non-free
deb http://ftp.de.debian.org/debian lenny main contrib non-free
deb http://ftp.de.debian.org/debian-volatile lenny/volatile main contrib non-free
deb http://ftp.de.debian.org/debian-security lenny/updates main contrib non-free
Run Code Online (Sandbox Code Playgroud)
现在我尝试使用以下命令安装更新的内核:
apt-get install linux-image-2.6-openvz-686
Run Code Online (Sandbox Code Playgroud)
这导致此错误:
The following packages have unmet dependencies:
libc-bin: Breaks: libc6 (< 2.10) but 2.7-18lenny2 is to be installed
linux-image-2.6-openvz-686: Depends: linux-image-2.6.26-2-openvz-686
but it is not going to be installed
locales: Depends: glibc-2.10-1
nscd: Depends: libc6 (> 2.10) but 2.7-18lenny2 is to be installed
Run Code Online (Sandbox Code Playgroud)
我需要做什么来升级我的内核?
| 归档时间: |
|
| 查看次数: |
5431 次 |
| 最近记录: |