インストールされたパッケージにもかかわらず、未解決の依存関係(Debian 6 Sqeeze)

インストールされたパッケージにもかかわらず、未解決の依存関係(Debian 6 Sqeeze)

ゲストシステムとしてDebian 6 SqeezeでVirtualBox 4.2.14 VMを使用しており、いくつかのPHPモジュールをインストールしたいと思います。

root@devmv:~# apt-get install php5-fpm
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-fpm : Depends: php5-common (= 5.4.17-1~dotdeb.0) but 5.4.17-1~dotdeb.1 is to be installed
E: Broken packages

私が得られないもの:php5-fpm : Depends: php5-common (=5.4.17-1~dotdeb.0) but5.4.17-1~dotdeb.1 is to be installed

したがって、インストールにはインストールされているパッケージ/パッケージのバージョンが必要です。問題は何ですか?依存関係の問題はなぜ発生するのですか?

ベストアンサー1

php5-commonが依存するパッケージのバージョンは似ていますが、実際には同じではありません。 1つは5.4.17-1〜dotdeb *です。.0*もう1つは5.4.17-1〜dotdeb *です。.1*

.1が.0の依存関係を満たさないということは、やや混乱していることに同意します。

私が最初に一つ作ってみましょう

apt-get clean

その後、再実行

apt-get update
apt-get upgrade

おすすめ記事