On Wed, 2013-04-24 at 22:06:55 -0400, Michael Gilbert wrote: > > So the dependencies are correct. The only problem is due to > > gsfonts-x11 postinst's script calling: > > > > update-fonts-dir > > → mkfontdir > > → mkfontscale > > > > While the new xfonts-utils package has been unpacked, but not > > configured. This is either a problem in xfonts-utils's > > update-fonts-dir, or in debhelper's dh_installxfonts support inserting > > those snippets. > > In terms of getting this fixed quickly for wheezy, couldn't that be > addressed with a "Pre-Depends: xfonts-utils" in gsfonts-x11?
That would only solve the problem for gsfonts-x11, but not for anything else using dh_installxfonts. I think, to be safe the hack would need to be applied to xfonts-utils's dependencies, which is all kinds of ugly, but at least should always work, at the cost of complicating the upgrade path. I guess the correct solution though, is to change update-fonts-* and any other script in xfonts-utils calling mkfont* from other maintainer scripts, to only run if xfonts-utils itself is configured or being configured, and calling these through xfonts-utils maintainer scripts too, so that if xfonts-utils and something else using it like gsfonts-x11 are both unpacked on the same run, the actual update-fonts-* executions will be delayed until xfonts-utils is itself configured, at which point the scripts should be able to run. I don't think this would be much more difficult to prepare. Regards, Guillem -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org