How to completely remove an application as well as the configuration files?

nstone nstone at ispcp.freewayprojects.com
Sun Sep 7 22:09:28 UTC 2008


Ashley Benton wrote:
> 
> 
> Thank you for your answer. I tried apt-get remove --purge and it told me
> 'Package apache2 is not installed', so not removed' Now I am completely
> lost because ls -l /etc/apache2 list me:
>  -apache2.conf, -conf.d, -envars, -httpd.conf, -mods-available,
> -mods-enabled, -ports.conf, -sites-available, -sites-enabled, -ssl
> Why can I see the files and directories with ls -l /etc/apache2 if it is
> not installed? I thought that ls -l would show me only what is
> installed, am I wrong?
> Thanks
> Meg
> 
> 

dpkg -P <package>




More information about the ubuntu-users mailing list