Re: Doing an "apt-get --purge remove" after an earlier "remove"?
On Thu, Dec 05, 2002 at 10:14:01AM -0500, Lloyd Zusman wrote:
> Colin Watson <cjwatson@debian.org> writes:
> > On Thu, Dec 05, 2002 at 09:34:01AM -0500, Lloyd Zusman wrote:
> >> In other words, I intended to type this:
> >>
> >> apt-get --purge remove the-package
> >>
> >> ... but I inadvertantly typed this:
> >>
> >> apt-get remove the-package
> >>
> >> In these cases, is there any way that I can now do the equivalent of the
> >> "--purge" without re-installing the package and re-issuing the "remove"
> >> command with the "--purge" flag?
> >
> > Use 'dpkg --purge the-package'.
>
> Thank you, but sadly, that doesn't work for me. When I run it, I get
> this response.
>
> dpkg - warning: ignoring request to remove the-package which
> isn't installed.
>
> ... and none of the remaining pieces of "the-package" are removed.
Then there's nothing more to do. The "purge" step only makes a
difference if the package has a post-removal script; it seems that this
one doesn't.
> Is there perhaps some sort of global configuration option that I need to
> set, in order to make this work?
Nope.
Cheers,
--
Colin Watson [cjwatson@flatline.org.uk]
Reply to: