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

Robert Millan Robert Millan <rmh@debian.org>, 273847@bugs.debian.org
Mon, 4 Oct 2004 20:04:17 +0200


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.

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 ?

-- 
 .''`.   Proudly running Debian GNU/kFreeBSD unstable/unreleased (on UFS2+S)
: :' :
`. `'    http://www.debian.org/ports/kfreebsd-gnu
  `-