依存関係がインストールされていません。

依存関係がインストールされていません。

パッケージをテストしているが.deb依存関係がインストールされていない理由はわかりません。

制御ファイルの依存行は次のとおりです。

Depends: zend-grid-module, postgresql-8.4, ${shlibs:Depends}, ${misc:Depends}

私が実行したとき:

$ sudo dpkg -i zend-grid-module-test-application_1.0.2-2_all.deb

わかります:

(Reading database ... 25616 files and directories currently installed.)
Preparing to replace zend-grid-module-test-application 1.0.2-2 (using zend-grid-module-test-application_1.0.2-2_all.deb) ...
Unpacking replacement zend-grid-module-test-application ...
dpkg: dependency problems prevent configuration of zend-grid-module-test-application:
 zend-grid-module-test-application depends on postgresql-8.4; however:
  Package postgresql-8.4 is not installed.
dpkg: error processing zend-grid-module-test-application (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 zend-grid-module-test-application

以来:

$ sudo apt-get install -y -f

出力

Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  zend-grid-module-test-application
The following packages will be upgraded:
  zend-grid-module-test-application
1 upgraded, 0 newly installed, 0 to remove and 36 not upgraded.
1 not fully installed or removed.
Need to get 0B/43.8kB of archives.
After this operation, 238kB disk space will be freed.
(Reading database ... 25618 files and directories currently installed.)
Preparing to replace zend-grid-module-test-application 1.0.2-2 (using .../zend-grid-module-test-application_1.0.2-2_all.deb) ...
Unpacking replacement zend-grid-module-test-application ...
Setting up zend-grid-module-test-application (1.0.2-2) ...

postgresqlの依存関係が解決されることはわかりませんが、インストールされると予想されます。apt-get install -f -y

私にはどんなアイデアがありますか?

ベストアンサー1

これは何が起こっているかを説明する主要な出力ラインです。

The following packages will be upgraded:
  zend-grid-module-test-application

apt-getは、インストールzend-grid-module-test-application可能な別の(最新または少なくとも同じ)バージョンを見つけましたsources.listapt-cache policy zend-grid-module-test-application

その後、apt-getは使用したいバージョンの代わりにそのバージョン(最終的には最新バージョン)をインストールしますdpkg -i。そしてapt-getが見つけたのはpostgresql-8.4

debian/changelogおそらく、バージョンを実行する前にバージョンをアップグレードする必要がありますdpkg-buildpackage。インストールしてみるとdch役に立ちます。

おすすめ記事