Is it possible to add the cups-genppdupdate.5.1 command to the ebuild to run automatically when gimp-print is upgraded? A bit of background... After gimp-print upgrading gimp-print, the printer was broken (which is usually the case). But I noticed the following message in the cups error_log when trying to print: Gutenprint: The version of Gutenprint software installed (5.1.2) does not match the PPD file (5.1.0). Gutenprint: If you have upgraded your version of Gutenprint Gutenprint: recently, you must reinstall all printer queues. Gutenprint: If the previous installed version of Gutenprint Gutenprint: was 4.3.19 or higher, you can use the `cups-genppdupdate.5.1' Gutenprint: program to do this; if the previous installed version Gutenprint: was older, you can use the Modify Printer command via Gutenprint: the CUPS web interface: http://localhost:631/printers. Gutenprint: The version of Gutenprint software installed (5.1.2) does not match the PPD file (5.1.0). PID 29841 (/usr/libexec/cups/filter/rastertogutenprint.5.1) stopped with status 1! Hint: Try setting the LogLevel to "debug" to find out more. So instead of reinstalling the printer queues, I tried running cups-genppdupdate.5.1 as suggested, which updated the cups ppd files and after a cupsd restart, all the printers were fixed again. Reproducible: Always
do you have USE=ppds?
(In reply to comment #1) > do you have USE=ppds yes
strange because with USE=ppds it should automatically provide the latest ppds.
@Stefan Schweizer USE=ppds will install the ppds for use with (re)installed printer queues, it does not update the currently installed printer queues, which would be a nice feature.
thanks, that obviously makes sense :) I added the following code: if [ "${ROOT}" == "/" ] && [ -x /usr/sbin/cups-genppdupdate.5.1 ]; then elog "Updating installed printer ppd files" elog $(/usr/sbin/cups-genppdupdate.5.1) else elog "You need to update installed ppds manually using cups-genppdupdate.5.1" fi I hope it works well :) Thank you!