Re: apt-get doesn't remove dependencies
On 23 Apr 2003, Colin Watson wrote:
> On Wed, Apr 23, 2003 at 10:24:19AM +0200, Urs Thuermann wrote:
> > When installing new packages with apt-get, often other extra packages
> > are installed because of dependencies, like the following:
> >
> > # apt-get install gcc-3.2
> > Reading Package Lists... Done
> > Building Dependency Tree... Done
> > The following extra packages will be installed:
> > cpp-3.2
> > The following NEW packages will be installed:
> > cpp-3.2 gcc-3.2
> > 0 packages upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
> >
> > I'd like, if apt would remember, which packages are installed only
> > because of such dependencies and remove them automatically when the
> > package that depends on them is removed, i.e. when I remove gcc-3.2,
> > cpp-3.2 should also be removed.
>
> Use aptitude. I'm told it does this. apt-get was initially only designed
> as a simple demonstration of the apt library, not as the One True
> Package Management Frontend. :)
>
> Cheers,
>
> --
> Colin Watson [cjwatson@flatline.org.uk]
>
>
> --
It does. In fact, I've just done it for a package.
AC
--
ac@acampbell.org.uk || http://www.acampbell.org.uk
using Linux GNU/Debian || for book reviews, electronic
Windows-free zone || books and skeptical articles
Reply to: