各位大大:
我目前遇到一個問題,我安裝 debian 31r4 (核心:2.4.27-3-386)這版的 linux 完成後,在要進行套件更新升級時出了問題,
以 apt-get update 更新 ok
再以 apt-get -y dist-upgrade 進行到套件都下載完成後,準備進行安裝置換時,就出現以下錯誤了:
Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
libc6
Suggested packages:
glibc-doc libc6-i686
The following packages will be upgraded:
libc6
1 upgraded, 0 newly installed, 0 to remove and 145 not upgraded.
2 not fully installed or removed.
Need to get 4438kB of archives.
After unpacking 303kB disk space will be freed.
Do you want to continue? [Y/n] y
Get:1 http://debian.linux.org.tw stable/main libc6 2.7-18 [4438kB]
Fetched 4438kB in 24s (179kB/s)
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "zh_TW:zh:en_US:en",
LC_ALL = (unset),
LANG = "en"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Preconfiguring packages ...
(Reading database ... 13077 files and directories currently installed.)
Preparing to replace libc6 2.3.6.ds1-13etch4 (using .../archives/libc6_2.7-18_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: error processing /var/cache/apt/archives/libc6_2.7-18_i386.deb (--unpack):
subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/libc6_2.7-18_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
對於 新版的libc6_2.7-18 這支程式,我只知道是很多套件會呼叫使用到的共享函式庫,上面訊息看起來像似,我必須先更換成2.6的核心,才能正常安裝這新版的函式庫,對嗎?這是不是 也意謂著 我2.4的核心不換,就不能使用較新版本的 stable 套件呢?
ps:以31r4來看,是否有,以不更換核心,但可以正常更新目前套件到新版的方式呢?
懇請哪位大大可以幫解一下這個問題?,感激不盡 !!!
以下是目前小弟使用的 source list ,很少吧 = ="
cat /etc/apt/sources.list
#deb file:///cdrom/ sarge main
deb http://debian.linux.org.tw/debian/ stable main
deb-src http://debian.linux.org.tw/debian/ stable main
deb http://security.debian.org/ stable/updates main