CUPS stopped working after update; PPD file not compatible, cannot update
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
CUPS stopped working after update; PPD file not compatible, cannot update
A few months ago, after updating a machine running Arch Linux, I found I can no longer print to my Epson Workforce 1100 printer (print jobs hang indefinitely). Digging through the logs yields this:
"The PPD version (5.2.11) is not compatible with Gutenprint 5.2.12. Please run `/usr/bin/cups-genppdupdate\' as administrator."
Cool, except that running /usr/bin/cups-genppdupdate (as root) just says:
"Unable to retrieve PPD file for /etc/cups/ppd/WorkForce1100.ppd!"
I've tried many searches and haven't found an appropriate .ppd file. There are a lot of posts from 6-8 years ago with the same problem, but the solutions don't apply. Mostly they suggest copying /etc/cups/cupsd.conf.default to /etc/cups/cupsd.conf, but the two files are already identical. Or they suggest downloading the latest .ppd file, but with no suggestion as to where that might be found. The Gutenprint site lists the Workforce 1100 as compatible, but doesn't offer any new PPD file. I even tried a working .ppd file from a Darwin install, but that failed with file/path errors.
Is there some way to get the appropriate PPD file? Or a way to back out the Gutenprint update so my existing PPD file will work?
Edit #2: I've worked around the problem by simply editing the version number where it appears in the .ppd file. This isn't really a solution, though, as it will break with each new Gutenprint update and otherwise seems risky, at best.
Last edited by twoprop; 03-11-2017 at 09:37 PM.
Reason: workaround found (but problem not solved)
cups-genppdupdate regenerates the Gutenprint PPD files in use by CUPS, using the PPD files under
/usr/share/cups/model/gutenprint as templates. The new PPD file replaces the old PPD file under /etc/cups/ppd,
but all the options set in the old PPD will be merged into the new PPD, provided that they are still valid in the
new file.
If no files or queue names are specified, cups-genppdupdate updates all Gutenprint PPD files in /etc/cups/ppd.
Otherwise, cups-genppdupdate updates all files or queues listed on the command line.
cups-genppdupdate does not update PPD files from Gimp-Print 4.2 or earlier.
cups-genppdupdate does not restart cupsd. cupsd will need manually reloading (or send SIGHUP) once cups-genppdup-
date has completed.
Edit #2: I've worked around the problem by simply editing the version number where it appears in the .ppd file. This isn't really a solution, though, as it will break with each new Gutenprint update and otherwise seems risky, at best.
That sounds like a mistake with the PPD packaging then. You should report it to the appropriate package maintainers for your distro. FWIW, I'm using gutenprint-5.2.12 (openSUSE Leap 42.2), and the included stp-escp2-wf1100.5.2.ppd.gz contains
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.