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

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



On 2004-03-02, Adam Funk <a24061@yahoo.com> 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?

I don't know if there's a better way, but using dselect to (s)elect it
as to be purged and then (i)nstall as per selections works.

Alexis



Reply to: