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

Re: Remove unrequired dependencies



On Sunday 12 September 2004 20:52, Stefan O'Rear wrote:
> On Sun, Sep 12, 2004 at 08:40:05PM +0100, Tom Wesley wrote:
> > Hi,
> >
> > Sorry for a probably normal query, but I couldn't find an answer with
> > Google: Is there a simple way to remove packages that were installed as
> > dependencies for packages that have since been removed?
>
> Just:
>
> dpkg --remove libwhatever
>
> This will also work:
>
> apt-get remove libwhatever
>
> BUT,
>
> * dpkg will abort if dependencies are violated (in this case, if you
>   have stuff installed that uses the library)
>
> * apt-get will attempt to automatically satisfy dependencies (in this
>   case, by uninstalling everything that uses the library)
>
> P.S.: There is a program called aptitude, it is a replacement for
>       dselect.  It supposedly automatically detects when a package that
>       was installed because of deps is no longer needed and removes it.
>

Thanks, I was looking for something that could remove all automatically, 
without me needing to know what they are.  I'll look into aptitude for that, 
just as soon as I can work out why dialog is not displaying the correct 
characters for the lines etc... ;)

-- 
Tom Wesley <tom@tomaw.org>

Attachment: pgpOkYSEAu6nh.pgp
Description: PGP signature


Reply to: