Do not restart CUPS in the maintainer scripts, as after restarting CUPS the daemon is not listening for a certain time and so the maintainer script has no chance to create a CUPS queue. Start CUPS if it was not running yet ("/etc/init.d/cupsys start" only exits if CUPS is really listening).
Proposed fix:
Do not restart CUPS in the maintainer scripts, as after restarting CUPS the daemon is not listening for a certain time and so the maintainer script has no chance to create a CUPS queue. Start CUPS if it was not running yet ("/etc/ init.d/ cupsys start" only exits if CUPS is really listening).