LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 11-07-2005, 08:59 AM   #1
dajomu
Member
 
Registered: Aug 2005
Posts: 31

Rep: Reputation: 15
apt-get


Can anyone tell me how to reinstall for instance apache2 completely? I mean with config files and everything?

I tried doing apt-get --purge remove apache2, but that one didn't remove the config files.
doing apt-get --reinstall install apache2 did not replace the config files either.. How do I remove any trace of apache2 or replace it ALL


Dajomu
 
Old 11-07-2005, 09:02 AM   #2
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,241

Rep: Reputation: 77
Code:
dpkg -P apache2
should remove all config files. If it doesn't, you can open synaptic and look at the package properties. It will have a list of all installed files and you can remove them manually.
 
Old 11-07-2005, 09:25 AM   #3
Dtsazza
Member
 
Registered: Oct 2005
Location: Oxford, UK
Distribution: Debian Etch (w/ dual-boot XP for gaming)
Posts: 282

Rep: Reputation: 31
The --purge option should have worked. Perhaps you've created the config files manually... if so, the package manager won't know that they're somehow associated with the apache2 package, and won't remove them automatically. In this case, you'd have to remove them by hand.

(I have a feeling that since apt is just a frontend for dpkg, apt-get remove --purge ends up calling dpkg -P, so that if the first doesn't work, the second won't either. Worth a try, though).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apt-get update errors since Debian released ( bad /etc/apt/sources.list ?) forgox Debian 10 06-13-2005 12:28 PM
knoppix 3.4 and no apt-setup how to fix info install apt-file + base-config maximalred Debian 0 10-16-2004 06:36 PM
apt-proxy and cron-apt - download once for the whole LAN Abject Debian 1 06-20-2004 01:53 PM
knoppix 3.4 apt-setup on hdinstall / apt-get on live-cd non3 Linux - Distributions 0 05-25-2004 10:14 AM
rh9 xd2 apt apt-get problem fix and solution transeunt Red Hat 0 12-16-2003 10:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration