FS#61805 - [gutenprint]rastertogutenprint.5.2 "not available" after upgrading

Attached to Project: Arch Linux
Opened by Victor Engmark (l0b0) - Tuesday, 19 February 2019, 04:43 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 10 December 2019, 18:41 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description: After upgrading the "gutenprint" package my printer setup is broken. It seems to break on every gutenprint upgrade, but I think this is finally proof that it's actually broken.

Additional info:
* package version: gutenprint-5.3.1-2

Steps to reproduce:

1. Reinstall the package and follow the post-install steps:

$ sudo pacman -S gutenprint
warning: gutenprint-5.3.1-2 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) gutenprint-5.3.1-2

Total Installed Size: 30.44 MiB
Net Upgrade Size: 0.00 MiB

:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [##########################] 100%
(1/1) checking package integrity [##########################] 100%
(1/1) loading package files [##########################] 100%
(1/1) checking for file conflicts [##########################] 100%
(1/1) checking available disk space [##########################] 100%
:: Processing package changes...
(1/1) reinstalling gutenprint [##########################] 100%
>>please run /usr/bin/cups-genppdupdate
>>and restart cups daemon
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
$ sudo /usr/bin/cups-genppdupdate
No Gutenprint PPD files to update.
$ sudo systemctl restart org.cups.cupsd.service

(All three commands returned a zero exit code.)

2. Open a PDF file in Evince
3. Try to print

What should happen: It should just work. I installed the package, followed the instructions, and received no error messages.

What happens instead: The print dialogue says 'File "/usr/lib/cups/filter/rastertogutenprint.5.2" not available: No such file or directory'.
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Tuesday, 10 December 2019, 18:41 GMT
Reason for closing:  Upstream
Comment by Andreas Radke (AndyRTR) - Tuesday, 19 February 2019, 06:15 GMT
There's /usr/lib/cups/filter/rastertogutenprint.5.3 - no idea what certain printer/driver you are using. But a simple remove/readd of the printer should fix it.
Comment by Victor Engmark (l0b0) - Tuesday, 19 February 2019, 07:07 GMT
My point is there clearly is a bug - having to reconfigure all the printers does not scale. At this pace it seems I have to reconfigure every time a new minor version of gutenprint comes out, and I'd hate to think what sysadmins make of this.
Comment by Andreas Radke (AndyRTR) - Tuesday, 19 February 2019, 08:50 GMT
There's nothing we can do at downstream distribution side. That's caused by its design:

https://www.openprinting.org/driver/gutenprint

"IMPORTANT: Always use the Foomatic data and/or PPD files of the Gutenprint version which you are actually using! Remove and re-create your print queues after every update of Gutenprint. "

Loading...