Joey Hess wrote: > Chris Halls wrote: > >>How about an additional package instead, e.g. xserver-xfree86-autodetect, >>that pre-depends on the detection packages and depends on xserver-xfree86? >>Architectures that don't support autodetection can omit the packages from >>the dependencies of xserver-xfree86-autodetect for that arch. And the base >>install can select that package instead. > > > If X is doing the autodetection when debconf runs its config script, > this actually wouldn't help at all, as the config script would still run > before the detection programs were available.
Could the config script do a check to see whether xserver-xfree86-autodetect is *going to be* installed? Debconf obviously has to have that knowledge (in case that package has its own debconf template) - can the xserver-xfree86 config script access that information? If so, it could just refuse to do anything (ie leave all questions unanswered) if that's the case. Then when it comes to package install time, the debconf script will run again, and by that time the predependencies will be installed. You lose the all-questions-asked-at-onceness, but other than that I think it could work? Stuart. -- Stuart Ballard, Programmer NetReach - Internet Solutions (215) 283-2300, ext. 126 http://www.netreach.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]