Re: apt-get doesn't remove dependencies
Urs Thuermann wrote:
> When installing new packages with apt-get, often other extra packages
> are installed because of dependencies, like the following:
>
<snip>
> This means that after
> # apt-get install gcc-3.2; apt-get remove gcc-3.2
> I don't have the same packages installed as before.
>
> There should be a reference count for each package, that is increased
> or decreased, when the package is explicitly installed/removed or when
> a package depending on it is installed/removed. When the reference
> count is zero the package should be actually removed.
>
> Is something like this planned or considered?
I think debfoster will do just what you want. You just say which packages
you want installed (in this case 'gcc-3.2'), and when removing it with
'debfoster gcc-3.2-', it ask you whether to keep the package 'cpp-3.2'
(that is, if no other package marked-as-a-keeper depends on it)
greetz,
--
Joris
Reply to: