On Fri, Oct 01, 2004 at 10:31:06AM +0200, Petter Reinholdtsen wrote: > [Adrian Bunk] > > If you can't fulfill a Recommends, that's a violation of section > > 2.2.1. of your policy. > > That is not how I interpret section 2.2.1. > > [http://www.debian.org/doc/debian-policy/ch-archive.html#s-main] > > 2.2.1 The main section > > > > Every package in main and non-US/main must comply with the DFSG > > (Debian Free Software Guidelines). > > > > In addition, the packages in main > > > > - must not require a package outside of main for compilation or > > execution (thus, the package must not declare a "Depends", > > "Recommends", or "Build-Depends" relationship on a non-main > > package), > > - must not be so buggy that we refuse to support them, and > > - must meet all policy requirements presented in this manual. > > > > Similarly, the packages in non-US/main > > > > - must not require a package outside of main or non-US/main for > > compilation or execution, > > - must not be so buggy that we refuse to support them, > > - must meet all policy requirements presented in this manual. > > Both grub and dmidecode are in main, so in my view it should be OK to > recommend both of them. The fact that they are missing on some archs > does not make it a policy violation to recommend them.
I read your policy in a way that these things must be fulfilled on all architectures. Consider gs and gs-esp weren't available on all architectures (yes, this is a purely theoretical example...) - in this case adependency on gs would pull gs-afpl on these architectures. This doesn't sound correct. > > - Depends: grub | not+i386 > > Is this working in sarge? I don't believe it will work with the > current task generation code. Yes. It has nothing to do with any task generation code, it's pretty simple: apt-cache show type-handling A short explanation was in [1]. cu Adrian [1] http://lists.debian.org/debian-devel-announce/2003/12/msg00011.html -- "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