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

[debian-users:40182] Re: dpkg error?



武藤@Debianぷろじぇくとです。

At Mon, 12 Apr 2004 08:38:32 +0900,
Etsuji Nawa wrote:
>  Package の List が壊れてしまい、復旧を試みたのですが debconf の
> 履歴が復旧出来ず、以下のエラーを吐いて終了します。

> #apt-get install debconf
> Reading Package Lists... Done
> Building Dependency Tree... Done
> The following extra packages will be installed:
>   fileutils libc6 perl-base
> The following NEW packages will be installed:
>   debconf fileutils libc6 perl-base
> 0 packages upgraded, 4 newly installed, 0 to remove and 0  not upgraded.
> Need to get 0B/4684kB of archives. After unpacking 17.4MB will be used.
> Do you want to continue? [Y/n]
> E: Cannot get debconf version. Is debconf installed?
> (Reading database ... 0 files and directories currently installed.)
> Unpacking libc6 (from .../libc6_2.2.5-11.5_i386.deb) ...
> dpkg not recorded as installed, cannot check for epoch support !
> dpkg: error processing /var/cache/apt/archives/libc6_2.2.5-11.5_i386.deb 
> (--unpack):
>  subprocess pre-installation script returned error exit status 1
> Errors were encountered while processing:
>  /var/cache/apt/archives/libc6_2.2.5-11.5_i386.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)

/var/lib/dpkg/status が壊れているのではないでしょうか。

正常なマシンがあればそこからstatusファイルをコピーするのがよさそうです
が。
-- 
武藤 健志@ kmuto @ kmuto.jp
           Debian/JPプロジェクト   (kmuto@debian.org, kmuto@debian.or.jp)
           株式会社トップスタジオ  (kmuto@xxxxxxxxxxxxxxx)
URI: http://www.topstudio.co.jp/~kmuto/ (Debianな話題など)