I was trying to reinstall my apache 2 after un-installing it. But on installing it using command-
sudo apt-get install apache2
i am getting error-
rahul@rahulpc:~$ sudo apt-get install apache2
[sudo] password for rahul:
Reading package lists... Done
Building dependency tree
Reading state information... Done
apache2 is already the newest version.
The following packages were automatically installed and are no longer required:
libblas3 liblinear-tools liblinear1
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 474 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)
i think i have removed some essential directories while un-installing apache 2 . Anybody please help me to recover the files and to install apache 2.