ejabberd - Comments for "how to uninstall ejabberd cleanly?" https://www.ejabberd.im/node/3269 en thanks -- "--purge" solved my problem https://www.ejabberd.im/node/3269#comment-53778 <p>I had tried the "--purge" option after the "remove" to no effect.</p> <p>what worked was to do a re-install. this fails as before. then do the remove with the "--purge"<br /> option.</p> <p>thanks so much for your reply.</p> <p>-Kevin</p> Thu, 20 Nov 2008 13:57:02 +0000 kbroekho comment 53778 at https://www.ejabberd.im Delete the directory /etc/ejabberd/ ? https://www.ejabberd.im/node/3269#comment-53727 <div class="quote-msg"> <div class="quote-author"><em>kbroekho</em> wrote:</div> <p># rm /etc/ejabberd/*<br /> # apt-get install ejabberd<br /> ...<br /> Not replacing deleted config file /etc/ejabberd/ejabberd.cfg<br /> chown: cannot access `/etc/ejabberd/ejabberd.cfg': No such file or directory<br /> dpkg: error processing ejabberd (--configure): </p></div> <p>Did you try to delete the directory /etc/ejabberd/, or put a fake ejabberd.cfg so dpkg doesn't complain?</p> <p>I installed ejabberd 2.0.1-5 Debian unstable package with apt-get, and then completely removed:</p> <pre> $ sudo apt-get remove --purge ejabberd </pre><p>And then installed again.</p> <pre> ... Creating config file /etc/ejabberd/ejabberd.cfg with new version </pre> Mon, 10 Nov 2008 09:03:46 +0000 mfoss comment 53727 at https://www.ejabberd.im