Portal Home > Knowledgebase > Articles Database > Reinstalling packages on Debian
Reinstalling packages on Debian
Posted by Matt Sims, 02-27-2007, 06:41 AM |
Hi,
I'm a new Linux user trying to install a few packages on a new dedicated Debian server.
Following some tutorials, I installed Apache1.3 & PHP4 using apt-get install and had them up and running no problem.
I then decided to change the versions, so removed them using apt-get remove and deleted the relevant folders from /etc (this was before I knew of the apt-get --purge option).
I then tried to install Apache2 and PHP5, and although it appears to have worked, folders are not created for them in /etc so it doesn't work.
Is there a way of doing a fresh clean install so that the folders are created? I've tried apt-get clean without success.
Alternatively, a way to rollback Debian to it's previous state before I got my grubby little hands on it!
Thanks for any advice.
Matt.
|
Posted by woutersteven, 02-28-2007, 05:26 AM |
you can do a reinstall like this:
apt-get install --reinstall
Although this is not what you asked for, perhaps its useful anyway. GOodluck
|
Posted by Matt Sims, 06-14-2007, 02:22 PM |
Thanks for the reply.
|
Add to Favourites Print this Article
Also Read
Cpanel Proxy (Views: 775)