Я запускаю apt-get, с sudo apt-get install apache2
, он обеспечивает это:
The following extra packages will be installed:
apache2
Suggested packages:
apache2-doc apache2-suexec-pristine apache2-suexec-custom apache2-utils
The following NEW packages will be installed:
apache2
0 upgraded, 1 newly installed, 0 to remove and 435 not upgraded.
11 not fully installed or removed.
Need to get 192 kB of archives.
After this operation, 503 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ftp.us.debian.org/debian/ jessie/main apache2 amd64 2.4.7-1 [192 kB]
Fetched 192 kB in 0s (242 kB/s)
(Reading database ... 266945 files and directories currently installed.)
Preparing to unpack .../apache2_2.4.7-1_amd64.deb ...
/var/lib/dpkg/tmp.ci/preinst: line 118: a2query: command not found
dpkg: error processing archive /var/cache/apt/archives/apache2_2.4.7-1_amd64.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/apache2_2.4.7-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Я посмотрел в a2query, но ничего не могу найти по этому поводу.