Cannot print, and cups-genppdupdate fails

Trying to print. Got this error message: “The PPD version (5.3.4 Simplified) is not compatible with Gutenprint 5.3.5. Please run `/usr/sbin/cups-genppdupdate’ as administrator.”

However, when I do that I get this error:

[giz@daisy ~$ sudo /usr/sbin/cups-genppdupdate
[sudo] password for giz:
Traceback (most recent call last):
File “/usr/sbin/cups-genppdupdate”, line 1078, in
status = update_ppd (ppd_file)
File “/usr/sbin/cups-genppdupdate”, line 439, in update_ppd
(ndt, nopt, nres, ndef, source_data) = get_ppd_data (source_fd,
~~~~~~~~~~~~~^^^^^^^^^^^
1, 1, 1, 1, 1)
^^^^^^^^^^^^^^
File “/usr/sbin/cups-genppdupdate”, line 711, in get_ppd_data
line = fh.readline ()
File “”, line 325, in decode
UnicodeDecodeError: ‘utf-8’ codec can’t decode bytes in position 183-184: invalid continuation byte

I’m running Fedora 41 and the printer info is:

Description: HL-2270DW-series
Location:
Driver: Brother HL-2250DN - CUPS+Gutenprint v5.3.4 Simplified (grayscale, 2-sided printing)
Connection: usb://Brother/HL-2270DW%20series?serial=H0J157136

I’d be much obliged for help on this.

sudo dnf downgrade gutenprint should work as a workaround.


Edit: Assuming that works, you might want to add excludepkgs=gutenprint* to /etc/dnf/dnf.conf so it won’t automatically upgrade again the next time you run sudo dnf update.

That worked! I therefore also made the change you suggested to /etc/dnf/dnf.conf . Thanks very much for your prompt reply.

1 Like

You might want to try that cups-genppdupdate command from time to time and if it starts working, then you should be able to remove that line from /etc/dnf/dnf.conf and let the rest of the gutenprint system update.

I’ll do that. Again, much obliged.

1 Like