how to *completely* remove a package from the cmd line?
Robert P. J. Day
rpjday at crashcourse.ca
Tue Aug 10 10:38:20 UTC 2010
On Mon, 9 Aug 2010, Jordon Bedwell wrote:
> On Tue, 2010-08-10 at 00:00 -0400, J wrote:
> > On Mon, Aug 9, 2010 at 20:09, Robert P. J. Day <rpjday at crashcourse.ca> wrote:
> > >
> > > more than once, i've wanted to remove every trace of an installed
> > > package, and i always thought that "purge" was the way to do it but
> > > even after i've done:
> > >
> > > $ sudo apt-get purge <package>
> >
> > $ sudo dpkg --purge --force all <package>
>
> apt-get autoremove --purge <package> does the trick too.
neither of those solutions seems "right" to me. in the first case,
i'm always reluctant to use "--force" on anything since, IMHO, forcing
anything always seems like an admission that something's gone horribly
wrong. and in the second case, "autoremove" is a completely
independent operation, is it not?
i'd always understood that "apt-get purge <package>" was what i
wanted but, clearly, that's not true.
rday
--
========================================================================
Robert P. J. Day Waterloo, Ontario, CANADA
Top-notch, inexpensive online Linux/OSS/kernel courses
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================
More information about the ubuntu-users
mailing list