Debian Reny 5 インストール php-dev

Debian Reny 5 インストール php-dev

apt-get install php5-devをインストールしようとしていますが、コマンドを実行したとき

Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  php5-dev: Depends: autoconf (>= 2.63) but 2.61-8 is to be installed
            Depends: libtool (>= 2.2) but it is not going to be installed
E: Broken packages

この状況をどのように解決できますか?

ベストアンサー1

問題は、lennyの代わりにsqueezeからphp5-devをインストールしようとしていることです。 php5-devのlennyバージョンは、squeezeバージョンのようなlibtoolやautoconfの特定のバージョンに依存しません。あなたがこのような状況にどのように陥ったかを推測するならば、あなたは今またはある時点でソースリストに何かを「プレス」してインストールしたか、あなたが参照したものが「安定的」なので、このような状況に陥ったと思います。 source.listの「lenny」または「squeeze」の代わりに、lenny'sをsqueezeで混在させることで実行できます。php5 apt-cache policy php5-dev-devをどこで入手できるかを教えてください。

おすすめ記事