cups-pdf 2.4.6-3ubuntu9 doesn't create PDF-queue
Bug #152293 reported by
Claudio
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cups-pdf (Ubuntu) |
Fix Released
|
Medium
|
Till Kamppeter |
Bug Description
Binary package hint: cups-pdf
The installation/
I think the postinst script isn't waiting long enough for cupsys to reload:
'lpstat -r' returns "Unable to connect to server" when I remove '> /dev/null' from the line 'if lpstat -r > /dev/null 2>&1'.
If I comment out the following lines
if [ -f /etc/init.d/cupsys ]
then
invoke-rc.d cupsys force-reload || invoke-rc.d cupsys start || /bin/true
fi
the script creates the PDF-queue as expected.
Related branches
To post a comment you must log in.
Please try the fixed packages on
http:// www.linux- foundation. org/~till/ tmp/ubuntu/ gutsy/cups- pdf/
The fix is trivial (see debdiff), I have simply added a "sleep 3" after the restart of CUPS. So there is no risk putting that into Gutsy.