[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debian-users:54266] libc をインストールできない



お世話になります。藤野です。

少し前にセットアップした Lenny(i386版) のlibcをあやまって
消してしまい、パッケージマネージャからソフトウェアを
インストール出来なくなってしまい、困っております。

状況は以下のとおりです。

debian:~# aptitude install libc6
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Reading extended state information      
Initializing package states... Done
Writing extended state information... Done
Reading task descriptions... Done         
The following packages are BROKEN:
  libc6 openoffice.org-l10n-ja sun-java6-jre 
The following partially installed packages will be configured:
  gconf2 gconf2-common gstreamer0.10-ffmpeg libavcodec51 libavformat52 
  libbonobo2-0 libbonobo2-common libdbus-glib-1-2 libgconf2-4 libglib2.0-0 
  libgstreamer-plugins-base0.10-0 libgstreamer0.10-0 mplayer-skin-blue 
0 packages upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
The following packages have unmet dependencies:
  sun-java6-jre: Depends: locales but it is not installable
  libc6: Depends: libc-bin (= 2.11.2-1) but it is not installable
  openoffice.org-l10n-ja: Depends: locales but it is not installable or
                                   belocs-locales-data but it is not
installable or
                                   locales-all but it is not installable
The following actions will resolve these dependencies:

Install the following packages:
belocs-locales-bin [2.4-4 (stable, stable)]
belocs-locales-data [2.4-6 (stable, stable)]

Downgrade the following packages:
libc6 [2.11.2-1 (now) -> 2.7-18lenny4 (stable)]
libc6-i686 [2.11.2-1 (now) -> 2.7-18lenny4 (stable)]

Score is 88

Accept this solution? [Y/n/q/?] y
The following packages will be DOWNGRADED:
  libc6 libc6-i686 
The following NEW packages will be installed:
  belocs-locales-bin{a} belocs-locales-data{a} 
The following partially installed packages will be configured:
  gconf2 gconf2-common gstreamer0.10-ffmpeg libavcodec51 libavformat52 
  libbonobo2-0 libbonobo2-common libdbus-glib-1-2 libgconf2-4 libglib2.0-0 
  libgstreamer-plugins-base0.10-0 libgstreamer0.10-0 mplayer-skin-blue 
0 packages upgraded, 2 newly installed, 2 downgraded, 0 to remove and 1 not
upgraded.
Need to get 0B/10.1MB of archives. After unpacking 12.5MB will be used.
Do you want to continue? [Y/n/?] y
Writing extended state information... Done
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LANG = "ja_JP.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Can't exec "locale": No such file or directory at
/usr/share/perl5/Debconf/Encoding.pm line 16.
Use of uninitialized value $Debconf::Encoding::charmap in scalar chomp at
/usr/share/perl5/Debconf/Encoding.pm line 17.
Preconfiguring packages ...
dpkg: `ldconfig' not found on PATH.
dpkg: 1 expected program(s) not found on PATH.
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)
A package failed to install.  Trying to recover:
dpkg: `ldconfig' not found on PATH.
dpkg: 1 expected program(s) not found on PATH.
NB: root's PATH should usually contain /usr/local/sbin, /usr/sbin and
/sbin.
Reading package lists... Done             
Building dependency tree       
Reading state information... Done
Reading extended state information      
Initializing package states... Done
Writing extended state information... Done
Reading task descriptions... Done         

debian:~# 

上記のとおりです。
似たような事例関係で記事を調べていたところ、ldconfigがパスに無いのでは
と思い、捜してみるもldconfig自体がありませんでした。
さらにldconfigはlibc6パッケージに収録されているようで、困りました。

最初にこのようになった原因は、全く別のパッケージ(動画再生関連のライブラ
リ
だったと記憶しております)をインストール時、aptitudeが依存関係を
解決してくれていた際にターミナルが強制終了された時です。

「apt-get -f install」を実行し修復を試みましたが、
同じく、ldconfig not foundでエラーとなってしまいます。
他のあらゆるパッケージをインストールしようとしても、やはり
ldconfigが無いと怒られます。
aptitudeの提案に従って自己解決しようと試行錯誤した結果、
さらに悪化し、localeも消えたままインストールできなくなってしまいました。

もし対処法をご存知の方がいらっしゃいましたら、
どうぞお力添えをお願い致します。

藤野裕

--------------------------------------
2010 FIFA World Cup News [Yahoo!Sports/sportsnavi]
http://pr.mail.yahoo.co.jp/southafrica2010/