Re: [Hampshire] Removing a package installed by apt-get

Top Page

Reply to this message
Author: Steve Kemp
Date:  
To: Hampshire LUG Discussion List
Subject: Re: [Hampshire] Removing a package installed by apt-get
On Fri, May 04, 2007 at 02:03:55PM +0100, Brian Chivers wrote:

> I installed thttpd using
>
> apt-get install thttpd thttpd-utils


(You could have just used "apt-get install thttpd"; the utils
package would have been installed automatically.)

> I've tried to remove it using
>
> apt-get remove thttpd thttpd-utils
>
> and it reports that it's removed them but when I look there are still
> references to it in /etc/init.d/ and it's directory /etc/thttpd is still
> there.


In that case you want to "purge", not "remove" the package.
Either of these commands will work:

    apt-get remove --purge thttpd thttpd-utils


or

    dpkg --purge thttpd thttpd-utils


Steve
--
Debian GNU/Linux System Administration
http://www.debian-administration.org/