I'm switching from Apache2 to nginx. So I issued this command:
sudo apt-get purge apache2 Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: 389-ds-base 389-ds-base-libs ldap-utils libadminutil-data libadminutil0 libapache2-mod-nss libds-admin-serv0 libmozilla-ldap-perl libnetaddr-ip-perl libnss3-tools libsocket-getaddrinfo-perl libsvrcore0 Use 'apt-get autoremove' to remove them. The following extra packages will be installed: php5-cgi Suggested packages: php-pear The following packages will be REMOVED: 389-admin* apache2* libapache2-mod-php5* The following NEW packages will be installed: php5-cgi 0 upgraded, 1 newly installed, 3 to remove and 0 not upgraded. Need to get 4277 kB of archives. After this operation, 6360 kB of additional disk space will be used. Do you want to continue? [Y/n]
Why is apt trying to install
php-cgi? I'm trying to purge
apache2, and will be purging
php soon after, to install
nginx. I'm confused why an
apt purge operation is attempting to install a package at all.
Debian 8, kernel 3.16.