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

[debian-users:49766] Re: Could not exec dpkg!



喜瀬様ありがとうございます
ご報告が遅れてすいません
おかげで日曜はリフレッシュすることができました

ご推察の通りです
mysql5.0を使いたかったのでsources.listにtestingを加えて
apt-getでインストールしていくと、
カーネルを2.4から2.6へのアップグレードが必要とのメッセージが出たので
そこまではやりたくないと思いtestingを削除して
apt-get install -f コマンドを実行したところ
表題のエラーに至りました

喜瀬様にご教授していただいた方法を試してみました
pkg_1.10.28_i386.debが /var/cache/apt/archives にありましたので
そのバージョンを使いました

dpkg-debはなかったので
ar -x を実行して展開できました♪

dpkg_root/usr/bin/以下を/usr/bin/にコピーして
# 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.
dpkg: `start-stop-daemon' not found on PATH.
dpkg: `install-info' not found on PATH.
dpkg: `update-rc.d' not found on PATH.
dpkg: 3 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)

-----------------------------------------------
PATHを設定すれば先に進めそうです
本当にありがとうございました


> deb http://ftp.debian.or.jp/debian/ stable main contrib non-free

> のように“stable”と指定してあれば、woodyのシステムでは
> (現在では)間違いです。

> たとえ現在の安定版を使用していても、ここにコードネーム
> (etchとか)で指定すれば、数年後に泣かなくて済みます。

アドバイスありがとうございます
再インストール後は必ず確認します

芹沢聖