I removed the folder /etc/php5
, after I removed the php5
package. Then I tried to install the package, but it said the folder did not exist. I looked in trash folder and couldn't find it. How do I restore the folder?
I removed the folder /etc/php5
, after I removed the php5
package. Then I tried to install the package, but it said the folder did not exist. I looked in trash folder and couldn't find it. How do I restore the folder?
Is some cases the problem is related to the installation system {apt-get, dpkg} which remembers that you have deleted configuration files and make you pay for this sin forever.
Try something like:
The --force-confmiss flag is supposed to make dpkg reinstall files that where detected as deleted.
Please check out the man page for more information.
Lets try purging your package and reinstalling it.
Try this. Note your php5 stuff might get removed and then need to be reinstalled after the fact, because
php5-common
is a dependency for all the other php5 stuff.