I am part of a small team that develop an intranet web app. We want to a method of easy installation, so we were thinking about how
apt-get works, especially with installing dependencies.
Our app has many dependencies (PHP5, PostgreSQL, FOP etc) but we need control over who has access to the installation. With this in mind we started looking at building our own .deb file. It looks like I can define the dependencies in my control file but when we try to install the .deb file using
dpkg, the dependencies are checked, fail and the installation stops.
What I did then was to run a
apt-get -f install command to run the installation again with dependencies, but I don't want to do this.
So here's the question, is there a way that a .deb file can install the dependencies automatically, just like and
apt-get install abc would?
Basically we want to make the installation as simple as possible, therefore we don't want the end user to be running any command that isn't absolutely necessary.