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

[debian-users:49761] Could not exec dpkg!



芹沢と申します
apt-get install -f を実行したところ表題のエラーが出てしまい
にっちもさっちもいかなくなってしまいました。

環境:Debian 2.4.18, i686

このようになった経緯は
# apt-get install -f で
------------------------------------------
WARNING: The following essential packages will be removed
This should NOT be done unless you know exactly what you are doing!
dpkg dselect (due to dpkg) sysvinit
4 packages upgraded, 3 newly installed, 27 to remove and 177 not upgraded.
2 packages not fully installed or removed.
Need to get 1656kB of archives. After unpacking 186MB will be freed.
You are about to do something potentially harmful
To continue type in the phrase 'Yes, do as I say!'
?] Yes do as I say!
Abort.
------------------------------------------
WARNING: The following essential packages will be removed
が出たにもかかわらず
'Yes, do as I say!'
とやってしまった為です


実行すると以下のようにエラーがでてしまいます
# apt-get install -f
Reading Package Lists... Done
Building Dependency Tree... Done
0 packages upgraded, 0 newly installed, 0 to remove and 177 not upgraded.
8 packages not fully installed or removed.
Need to get 0B of archives. After unpacking 0B will be used.
Could not exec dpkg!
E: Sub-process /usr/bin/dpkg returned an error code (100)


dpkg-1.10.28をソースからインストールしようと試みましたがダメでした
# ./configure --prefix=/usr/bin
checking build system type... i686-pc-linux-gnulibc1
checking host system type... i686-pc-linux-gnulibc1
checking target system type... i686-pc-linux-gnulibc1
checking for gcc... gcc
checking for gcc... (cached) gcc
checking for C compiler default output file name... configure: error: C
compiler cannot create executables
See `config.log' for more details.

レンタルサーバー(さくらインターネット)のサポートにメールしましたが
土日休みなので回答はまだありません

回復させるにはどうしたらいいでしょうか?
よろしくお願いいたします