[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apt-get: purging a package that has already been removed?



On Tuesday 02 March 2004 10:10, Adam Funk wrote:

> Sorry if this is a stupid question, but...
> 
> Suppose foo has already been removed without the --purge option, and I
> later want to purge it.
> 
> # apt-get --purge remove foo
> gives the error that foo is not installed and therefore takes no
> action.
> 
> I can work around this with
> # apt-get install foo
> # apt-get --purge remove foo
> but that seems silly.  Is there a "correct" way to purge foo?

Thanks to everyone who said "dpkg --purge".  I'm so used to using
apt-get for everything (except dpkg -l) that I hadn't thought to look
there.



Reply to: