I have apache2.service enlisted in the output of systemd-analyze critical-chain
, taking more than 5.5 seconds!
Why is apache2 even installed on my system when I am not running a web server?
Response to Tomasz Gandor
Thanks, Tomasz. Here is the output response:
$ aptitude why apache2
i phpliteadmin-themes Depends phpliteadmin
i A phpliteadmin Recommends apache2 (>= 2.4.6-4~) | httpd
And I think it's just a theme, so it would be safe to remove it. Should I?
Response to PerlDuck
Thanks, PerlDuck. Here is the output response:
$ apt-cache rdepends --installed apache2
apache2
Reverse Depends:
libapache2-mod-php7.2
|phpliteadmin
|javascript-common
libapache2-mod-php7.2
Now, I am not very much certain about what to do!
Also, there is one thing to be noted in the response of apt-cache rdepends
, and that is the | sign before phpliteadmin
and javascript-common
. What does this indicate?
And why is libapache2-mod-php7.2
listed twice in the output, once at the top and once at the bottom of the list?
apt show phpliteadmin
then we see it recomends eitherapache2
orhttpd
and that is what the pipe symbol expresses:phpliteadmin
needs either apache2 or some other httpd.phpliteadmin
:aptitude why phpliteadmin
. If you don't, remove that as well.