Bug#283705: Processed: Re: Bug#283668: aptitude: installs libc5 with kernel-source-2.6.8
At Wed, 1 Dec 2004 13:08:41 -0500,
Daniel Burrows wrote:
> On Wednesday 01 December 2004 04:07 am, GOTO Masanori wrote:
> > Hmm... gcc provides c-compiler, so "gcc | c-compiler" may be over
> > description. I don't know this workaround for only aptitude is fine
> > or not. Any comments?
>
> The problem is that when an apt tool encounters a request to install a
> pure-virtual package, it picks an arbitrary "real" package that provides the
> virtual package. So, eg, if you say:
>
> Depends: c-compiler
Recommends: ?
> In this case, libc6-dev only Recommends c-compiler, so only apt frontends
> that honor Recommends will be affected. The only "aptitude-specific" thing
> here is that aptitude honors Recommends and many other apt frontends ignore
> them.
>
> I don't know what dselect does with an ambiguous recommendation like this; I
> suppose it probably gives the user a huge list of packages and says "pick one
> to make things consistent".
OK, I put "Recommends: gcc | c-compiler".
Regards,
-- gotom
Reply to: