Сделал мета-пакет с таким содержимым DEBIAN/control:
Package: ids-meta
Version: 0.10
Section: main
Priority: optional
Architecture: all
Pre-Depends: apache2, php5, php5-mysql, php5-json, mysql-server, perl, libxml-libxml-perl, libmysql++-dev, sqlite3
Installed-Size:
Maintainer: VeroLom
Description: metapackage for web environment
При установке пакета (sudo dpkg -i ids-meta.deb) оно ругается:
idsadmin@idsmain:~$ sudo dpkg -i ids-meta.deb
dpkg: regarding ids-meta.deb containing ids-meta, pre-dependency problem:
ids-meta pre-depends on apache2
apache2 is not installed.
dpkg: error processing ids-meta.deb (--install):
pre-dependency problem - not installing ids-meta
Errors were encountered while processing:
ids-meta.deb
aptitude -f install молчит, как партизан