I'm testing my .deb
package and cannot find out why it doesn't install the dependencies:
The control file's Depends line is:
Depends: zend-grid-module, postgresql-8.4, ${shlibs:Depends}, ${misc:Depends}
And when I run:
$ sudo dpkg -i zend-grid-module-test-application_1.0.2-2_all.deb
I see:
(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
And after that:
$ sudo apt-get install -y -f
outputs
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) ...
I don't see the postgresql dependency resolved, though I expect it to be installed with apt-get install -f -y
Any ideas what I'm missing?
apt
only install dependencies if they are available from repository. (alsogdebi
is more helpful to install packages as it checks & downloads (if available) dependencies before installing)