Hack BBS

[全部のスレッド一覧][新規投稿][記事の削除・変更] [Home Page]

返信投稿はタイトルのリンクをクリックして下さい
スレッド【No.5494】の中の記事をすべて表示しています

【No.5494】のスレッド
09/03/17(火) 23:19:11 投稿者[ao] [No.5494]のスレッド内
【No.5494】 タイトル[apt-get libc6 でエラーが出る] この記事がスレッドの最初です
kuro-box にて debian化を行い、apt-get update , upgrade等したのですが、
何度やってもlibc6のバージョンに関するエラーが出てしまい、これが一度でると
もう何もインストールしようとしても結局このlibc6のエラーがでてしまいます。
どのように回避すればよいでしょうか?
当方 apache と mysqlをいれてWebサーバーを起動させようと考えております。


KURO-BOX:/home/ao# uname -a
Linux KURO-BOX 2.4.17_kuro-box #4 2004? 4キ・16ニ・カ簣ヒニ・11:45:05 JST ppc unknown
KURO-BOX:/home/ao# cat /etc/debian_version
5.0

KURO-BOX:/home/ao# apt-get update
Hit ftp://ftp.dti.ad.jp stable/main Packages
Hit ftp://ftp.dti.ad.jp stable/main Release
Hit ftp://ftp.dti.ad.jp stable/contrib Packages
Hit ftp://ftp.dti.ad.jp stable/contrib Release
Hit ftp://ftp.dti.ad.jp stable/main Sources
Hit ftp://ftp.dti.ad.jp stable/main Release
Hit ftp://ftp.dti.ad.jp stable/contrib Sources
Hit ftp://ftp.dti.ad.jp stable/contrib Release
Hit http://security.debian.org stable/updates/main Packages
Hit http://security.debian.org stable/updates/main Release
Hit http://security.debian.org stable/updates/contrib Packages
Hit http://security.debian.org stable/updates/contrib Release
Reading Package Lists... Done
Building Dependency Tree... Done
KURO-BOX:/home/ao# apt-get upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run `apt-get -f install' to correct these.
Sorry, but the following packages have unmet dependencies:
libgcc1: Depends: libc6 (>= 2.7-1) but 2.2.5-11.8 is installed
E: Unmet dependencies. Try using -f.


KURO-BOX:/home/ao# apt-get -f install
Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
libc6
1 packages upgraded, 0 newly installed, 0 to remove and 76 not upgraded.
2 packages not fully installed or removed.
Need to get 0B/5063kB of archives. After unpacking 3015kB will be freed.
Do you want to continue? [Y/n] y
Preconfiguring packages ...
tar: ./templates: time stamp 2009-01-05 06:24:39 is 30457310 s in the future
tar: ./shlibs: time stamp 2009-01-05 06:25:13 is 30457344 s in the future
tar: ./postinst: time stamp 2009-01-05 06:25:14 is 30457345 s in the future
tar: ./preinst: time stamp 2009-01-05 06:25:14 is 30457345 s in the future
tar: ./postrm: time stamp 2009-01-05 06:25:14 is 30457345 s in the future
tar: ./conffiles: time stamp 2009-01-05 06:25:14 is 30457345 s in the future
tar: ./md5sums: time stamp 2009-01-05 06:25:16 is 30457347 s in the future
tar: ./control: time stamp 2009-01-05 06:25:16 is 30457347 s in the future
(Reading database ... 7284 files and directories currently installed.)
Preparing to replace libc6 2.2.5-11.8 (using .../libc6_2.7-18_powerpc.deb) ...
Checking for services that may need to be restarted...
Checking init scripts...

Debian Configuration


lqqqqqqqqqqqqqqqqqqqqqqqqqu Configuring Libc6 tqqqqqqqqqqqqqqqqqqqqqqqqqk
x x
x Running services and programs that are using NSS need to be x
x restarted, otherwise they might not be able to do lookup or x
x authentication any more. The installation process is able to restart x
x some services (such as ssh or telnetd), but other programs cannot be x
x restarted automatically. One such program that needs manual stopping x
x and restart after the glibc upgrade by yourself is xdm - because x
x automatic restart might disconnect your active X11 sessions. x
x x
x This script detected the following installed services which must be x
x stopped before the upgrade: proftpd x
x x
x If you want to interrupt the upgrade now and continue later, please x
x answer No to the question below. x
x x
x Do you want to upgrade glibc now? x
x x
x <Yes> <No> x
x x
mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj

Stopped glibc upgrade. Please retry the upgrade after you have
checked or stopped services by hand.
dpkg: error processing /var/cache/apt/archives/libc6_2.7-18_powerpc.deb (--unpack):
subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/libc6_2.7-18_powerpc.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)



09/04/03(金) 00:17:48 投稿者[ao] [No.5494]のスレッド内
【No.5497】 タイトル[Re: apt-get libc6 でエラーが出る] 【No.5494】に対する返信
その後試行錯誤の結果、kernelを2.6系にすることで回避できました。
いちおう自己レスしておきます。