Bug Description

Would it be possible for apt-get to defer the regeneration of the font cache
until the last package that needs it is installed?
I have quite a lot of fonts installed on my system. Often, not just one font
package is updated, but several at once. Apt runs fc-cache for each package,
which takes a few minutes every time. Updating would go a lot faster if fc-cache
was run only once, after all the font packages are installed.

I'm upgrading a Sun Enterprise 250 from simple LAMP server configuration with "apt-get install ubuntu-desktop". I, too, find it horribly wasteful to see a long delay over and over with "Regenerating fonts cache..." on my console.

This bug is extremely important.
Every single package that involves Defoma or installs a font does a fc-cache regeneration when the package is installed.
Just like ldconfig defers its update until all is completed, please figure out a way to defer fc-cache updates until all is completed.

Ubuntu Netbook Remix is negatively affected on devices with slow storage, like Acer Aspire One. The repeated, unnecessary fc-cache regeneration on this device causes it to take 60 minutes to install 20 fonts at once.

Considering that triggers are now in place, can this bug be reassigned to e.g. defoma to provide a trigger and to all font packages to use that trigger? Any maybe dpkg be extended to have a state "trigger" where a package is fully configured except for the triggers to be run?