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

Re: apt-get doesn't remove dependencies

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. :)


Colin Watson                                  [cjwatson@flatline.org.uk]

Reply to: