Bug#273847: Bug#274747: type-handling: dependency on dpkg-dev is not required for provides

Adrian Bunk Adrian Bunk <bunk@stusta.de>, 273847@bugs.debian.org
Tue, 5 Oct 2004 17:36:08 +0200


On Mon, Oct 04, 2004 at 08:04:17PM +0200, Robert Millan wrote:
> On Mon, Oct 04, 2004 at 07:41:12PM +0200, Adrian Bunk wrote:
> > 
> > How can you express
> > 
> >   Recommends: grub | not+i386
> > 
> > in _binary-all_ packages without the virtual provides?
> 
> You're right, looks like there's a limitation here.  I'll leave this bug open
> to see if someone can come up with another solution.

What's wrong with a package haing the provides type-handling currently 
has? This might be a different package than the one shipping the 
type-handling script, but it seems like a technically simple way to 
solve some problems.

> In your particular problem: when grub is not present, a Recommends on grub
> has no effect, so it's safe to recommend it.  OTOH, grub2 will be multi-cpu
> so you might want to have it as a fallback option, like:
> 
>   Recommends: grub | grub2
> 
> > An example is education-common (although it might be solved by removing 
> > the recommends in this specific case).
> 
> I recall you sent a bug report to grub-splashimages about it.  I'm adding
> CC to the maintainer.
> 
> Luis, could you make it a Recommends on grub | grub2 ?

Besides that it wouldn't solve the general problem, grub2 is according 
to debian/control currently only targeted at i386 and powerpc.

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed