Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm hardly trying to remove squid completly, to reinstall it clearly. (Debian 6). So i used as root:

apt-get remove --purge squid
apt-get remove --purge squid3


find / -name squid*



Besides the Log and the dpkg files. Should i remove some of this files/folders to be able to work without old issues?

share|improve this question
up vote 2 down vote accepted

squidclient and squid-cgi are separate packages, uninstall them too? :) apt-get --purge squidclient squid-cgi should do the trick.

To check what package owns/installed a specific file, type: dpkg -S /usr/bin/squidclient for example.

share|improve this answer

Using aptitude is even easier:

sudo aptitude purge ~nsquid

It will remove every package that contains squid in its name.

share|improve this answer

And copy backup squid.conf after

  • Remove squid

    apt-get remove --purge squid
    apt-get remove --purge squid3
  • Install squid

    apt-get install squid
    apt-get install squid3
  • Copy the file squid.conf directory squid

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.