Bug 2370978 - Disabled universal filter
Summary: Disabled universal filter
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: cups-filters
Version: 42
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Zdenek Dohnal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 2371356 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-06-08 00:24 UTC by Stefano Biagiotti
Modified: 2025-06-13 10:49 UTC (History)
7 users (show)

Fixed In Version: cups-filters-2.0.1-6.fc43 cups-filters-2.0.1-6.fc42 cups-filters-2.0.1-6.fc41
Clone Of:
Environment:
Last Closed: 2025-06-09 15:38:00 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Stefano Biagiotti 2025-06-08 00:24:48 UTC
Printer does not print anymore after updating to cups-filters-2.0.1-5.
I got it back to work downgrading to 2.0.1-3.

Cups logs show:
cupsd[5038]: humble_printer: Il file "/usr/lib/cups/filter/universal" non รจ disponibile: No such file or directory
cupsd[5038]: [Job 2286] Unable to start filter "universal" - No such file or directory.
cupsd[5038]: [Job 2286] Stopping job because the scheduler could not execute a filter.

I understand this is intentional and temporary as the changelog shows "disable universal filter for now - some 3rd party drivers did not work with it" and I can live with it, but IMVHO printers shouldn't stop working.

Reproducible: Always

Comment 1 Zdenek Dohnal 2025-06-09 10:55:46 UTC
Hi Stefano,

thank you for the report!

The issue should go away with cupsd restart, which was supposed to happen in post scriptlet:

 164 %post
 165 # remove PPD cache to make bz#2351389 fix work right away
 166 # remove after F43 EOL
 167 if [ $1 -gt 1 ]
 168 then
 169   rm -f /var/cache/cups/ppds.dat || :
 170 
-> 171   # since we moved to individual filters, we have to restart cups
-> 172   # to load new conversion tables if it is running
-> 173   # remove by F43 EOL
-> 174   if systemctl is-active cups &> /dev/null
-> 175   then
-> 176     systemctl restart cups || :
-> 177   fi
-> 178 fi
 179

How do you upgrade your machine? Via DNF cli or via GNOME "install updates and restart"? It looks like restart did not happen your case.

Or do you have Fedora Silverblue/CoreOS, where scriptlets does not work the same way as in Fedora Linux?

Comment 2 "FeRD" (Frank Dana) 2025-06-09 12:50:38 UTC
I had the same issue after upgrading to cups-filters-2.0.1-5.fc42 (using commandline `sudo dnf upgrade`, without system restart), `sudo systemctl status cups` shows that cupsd has only been running for 4 hours, so it _was_ restarted after the upgrade, but that did not un-break my HP printer, which immediately reported "Printing stopped" for any job I sent. Downgrading to cups-filters-2.0.1-3.fc42 restored my ability to print to the printer.

Journal logs from today show both the cupsd restart and the subsequent print failures due to the missing filter:

$ sudo journalctl --since today --unit cups.service --no-pager
Jun 09 00:27:31 teevey cupsd[492575]: REQUEST localhost - - "POST / HTTP/1.1" 200 183 Renew-Subscription successful-ok
Jun 09 01:25:51 teevey cupsd[492575]: REQUEST localhost - - "POST / HTTP/1.1" 200 183 Renew-Subscription successful-ok
Jun 09 02:24:11 teevey cupsd[492575]: REQUEST localhost - - "POST / HTTP/1.1" 200 183 Renew-Subscription successful-ok
Jun 09 03:22:31 teevey cupsd[492575]: REQUEST localhost - - "POST / HTTP/1.1" 200 183 Renew-Subscription successful-ok
Jun 09 04:20:51 teevey cupsd[492575]: REQUEST localhost - - "POST / HTTP/1.1" 200 183 Renew-Subscription successful-ok
Jun 09 04:34:13 teevey systemd[1]: Stopping cups.service - CUPS Scheduler...
Jun 09 04:34:13 teevey systemd[1]: cups.service: Deactivated successfully.
Jun 09 04:34:13 teevey systemd[1]: Stopped cups.service - CUPS Scheduler.
Jun 09 04:34:13 teevey systemd[1]: cups.service: Consumed 25.743s CPU time, 61.5M memory peak, 3.8M memory swap peak.
Jun 09 04:34:13 teevey systemd[1]: Starting cups.service - CUPS Scheduler...
Jun 09 04:34:13 teevey cupsd[1631064]: Printer drivers are deprecated and will stop working in a future version of CUPS. See https://github.com/OpenPrinting/cups/issues/103
Jun 09 04:34:13 teevey systemd[1]: Started cups.service - CUPS Scheduler.
Jun 09 05:19:11 teevey cupsd[1631064]: REQUEST localhost - - "POST / HTTP/1.1" 200 183 Renew-Subscription successful-ok
Jun 09 06:17:31 teevey cupsd[1631064]: REQUEST localhost - - "POST / HTTP/1.1" 200 183 Renew-Subscription successful-ok
Jun 09 07:15:51 teevey cupsd[1631064]: REQUEST localhost - - "POST / HTTP/1.1" 200 183 Renew-Subscription successful-ok
Jun 09 08:14:11 teevey cupsd[1631064]: REQUEST localhost - - "POST / HTTP/1.1" 200 183 Renew-Subscription successful-ok
Jun 09 08:29:32 teevey cupsd[1631064]: ENVY_Pro_6400: File "/usr/lib/cups/filter/universal" not available: No such file or directory
Jun 09 08:29:32 teevey cupsd[1631064]: [Job 710] Unable to start filter "universal" - No such file or directory.
Jun 09 08:29:32 teevey cupsd[1631064]: [Job 710] Stopping job because the scheduler could not execute a filter.
Jun 09 08:29:32 teevey cupsd[1631064]: REQUEST localhost - - "POST /printers/ENVY_Pro_6400 HTTP/1.1" 200 27949 Print-Job successful-ok
Jun 09 08:29:38 teevey cupsd[1631064]: REQUEST localhost - - "POST / HTTP/1.1" 200 344 Create-Printer-Subscriptions successful-ok
Jun 09 08:29:51 teevey cupsd[1631064]: REQUEST localhost - - "POST / HTTP/1.1" 200 7145237 CUPS-Get-PPDs -
Jun 09 08:31:36 teevey cupsd[1631064]: ENVY_Pro_6400: File "/usr/lib/cups/filter/universal" not available: No such file or directory
Jun 09 08:31:36 teevey cupsd[1631064]: [Job 711] Unable to start filter "universal" - No such file or directory.
Jun 09 08:31:36 teevey cupsd[1631064]: [Job 711] Stopping job because the scheduler could not execute a filter.
Jun 09 08:31:36 teevey cupsd[1631064]: REQUEST localhost - - "POST /printers/ENVY_Pro_6400 HTTP/1.1" 200 27972 Print-Job successful-ok
Jun 09 08:31:43 teevey cupsd[1631064]: REQUEST localhost - - "POST /jobs/ HTTP/1.1" 200 170 Set-Job-Attributes successful-ok
Jun 09 08:31:44 teevey cupsd[1631064]: REQUEST localhost - - "POST /jobs/ HTTP/1.1" 200 170 Set-Job-Attributes successful-ok
Jun 09 08:31:58 teevey cupsd[1631064]: ENVY_Pro_6400: File "/usr/lib/cups/filter/universal" not available: No such file or directory
Jun 09 08:31:58 teevey cupsd[1631064]: [Job 710] Unable to start filter "universal" - No such file or directory.
Jun 09 08:31:58 teevey cupsd[1631064]: [Job 710] Stopping job because the scheduler could not execute a filter.
Jun 09 08:31:58 teevey cupsd[1631064]: REQUEST localhost - - "POST /jobs/ HTTP/1.1" 200 167 Set-Job-Attributes successful-ok
Jun 09 08:32:05 teevey cupsd[1631064]: ENVY_Pro_6400: File "/usr/lib/cups/filter/universal" not available: No such file or directory
Jun 09 08:32:05 teevey cupsd[1631064]: [Job 711] Unable to start filter "universal" - No such file or directory.
Jun 09 08:32:05 teevey cupsd[1631064]: [Job 711] Stopping job because the scheduler could not execute a filter.
Jun 09 08:32:05 teevey cupsd[1631064]: REQUEST localhost - - "POST /jobs/ HTTP/1.1" 200 167 Set-Job-Attributes successful-ok
Jun 09 08:37:39 teevey cupsd[1631064]: REQUEST localhost - - "POST /jobs/ HTTP/1.1" 200 140 Cancel-Job successful-ok
Jun 09 08:37:45 teevey cupsd[1631064]: REQUEST localhost - - "POST /jobs/ HTTP/1.1" 200 170 Set-Job-Attributes successful-ok
Jun 09 08:37:46 teevey cupsd[1631064]: REQUEST localhost - - "POST /jobs/ HTTP/1.1" 200 170 Set-Job-Attributes successful-ok
Jun 09 08:37:54 teevey cupsd[1631064]: REQUEST localhost - - "POST /jobs/ HTTP/1.1" 200 167 Set-Job-Attributes successful-ok
Jun 09 08:37:58 teevey cupsd[1631064]: REQUEST localhost - - "POST / HTTP/1.1" 200 183 Renew-Subscription successful-ok
Jun 09 08:38:03 teevey cupsd[1631064]: ENVY_Pro_6400 ferd 710 [09/Jun/2025:08:38:03 -0400] total 1 - localhost 19886dec-4154-4c20-b245-088231fda42c - one-sided
Jun 09 08:46:18 teevey cupsd[1631064]: REQUEST localhost - - "POST / HTTP/1.1" 200 183 Renew-Subscription successful-ok

Comment 3 "FeRD" (Frank Dana) 2025-06-09 12:54:10 UTC
I notice that there is no /var/cache/cups/ppds.dat file at all, on my system. Instead, the directory contains:

$ ls -l /var/cache/cups              
total 300k
-rw-------. 1 root lp   4.3k Oct  1  2013 192.168.12.101.snmp
-rw-------. 1 root lp   2.2k Jun 16  2022 192.168.12.107.snmp
-rw-r--r--. 1 root root    0 May 19  2020 CUPS-BRF-Printer.strings
-rw-r--r--. 1 root root    0 Jan  5  2021 Cups-PDF.strings
-rw-r--r--. 1 root root  212 Jun 10  2022 envy6400.strings
-rw-r--r--. 1 root root  770 May 22  2022 envy6458.strings
-rw-r--r--. 1 root root  212 Dec 19  2021 envy6580.strings
-rw-r--r--. 1 root root  212 Jun 12  2022 ENVY_Pro_6400_2.strings
-rw-r--r--. 1 root root 3.8k Nov 12  2024 ENVY_Pro_6400.data
-rw-r--r--. 1 root root  212 Nov 27  2021 ENVY-Pro-6400.strings
-rw-r--r--. 1 root root  212 Nov 12  2024 ENVY_Pro_6400.strings
-rw-------. 1 lp   lp   132k Jun 19  2022 help.index
-rw-r--r--. 1 root root  212 May 22  2022 HPEnvy6400.strings
-rw-r--r--. 1 root root  553 May  6 16:29 HP_ENVY_Pro_6400_series_9E66B7.strings
-rw-r--r--. 1 root root  212 Dec 19  2021 HP_ENVY_Pro_6400_series_9E66B7_teevey.strings
-rw-r--r--. 1 root root  212 Sep 21  2022 HP_ENVY_Pro_6400.strings
-rw-r-----. 1 root lp    46k Jun  9 08:38 job.cache
-rw-r-----. 1 root lp    46k Jun  9 08:32 job.cache.O
-rw-r--r--. 1 root root    0 May 19  2020 MFC5460CN.strings
-r--------. 1 root root    8 Jun  9 04:34 org.cups.cupsd
drwxrwxr-x. 2 root lp   4.1k Mar 11  2013 rss


...None of the files in that directory contain the string 'universal'.

Comment 4 Zdenek Dohnal 2025-06-09 13:15:09 UTC
I was able to figure out the issue - I used bad scriptlet for restart - it should happen later in upgrade, after old cups-filters is removed, in posttrans of the new package.

You can restart cups service by yourself, or wait for update.

I'm sorry for the trouble,


Zdenek

Comment 5 Zdenek Dohnal 2025-06-09 13:21:47 UTC
(In reply to "FeRD" (Frank Dana) from comment #3)
> I notice that there is no /var/cache/cups/ppds.dat file at all, on my
> system. Instead, the directory contains:

ppds.dat is cache for available PPDs, which gets created by cupsd. If you listed the directory after upgrade, it is missing due the scriptlet and gets created with next cupsd operation which loads drivers. It is removed because there was a bug about missing driver, and this makes cupsd to load all the drivers again, which makes the missing driver available after cups-filters upgrade.

Comment 6 Fedora Update System 2025-06-09 13:23:43 UTC
FEDORA-2025-979cf8ed9e (cups-filters-2.0.1-6.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-979cf8ed9e

Comment 7 "FeRD" (Frank Dana) 2025-06-09 13:27:02 UTC
(In reply to Zdenek Dohnal from comment #4)
> I was able to figure out the issue - I used bad scriptlet for restart - it
> should happen later in upgrade, after old cups-filters is removed, in
> posttrans of the new package.
> 
> You can restart cups service by yourself, or wait for update.
> 
> I'm sorry for the trouble,
> 
> 
> Zdenek

Unfortunately, no go... I tried that: After re-upgrading to cups-filters-2.0.1-5.fc42 and following it with a manual `sudo systemctl restart cups.service` (twice, in fact, once before and again after sending a job), printing to my hp:/net/ENVY_Pro_6400_series?ip=REDACTED is still broken.

Jun 09 09:15:06 teevey cupsd[1665465]: REQUEST localhost - - "POST /printers/ENVY_Pro_6400 HTTP/1.1" 200 380 Create-Job successful-ok
Jun 09 09:15:06 teevey cupsd[1665465]: ENVY_Pro_6400: File "/usr/lib/cups/filter/universal" not available: No such file or directory
Jun 09 09:15:06 teevey cupsd[1665465]: [Job 712] Unable to start filter "universal" - No such file or directory.
Jun 09 09:15:06 teevey cupsd[1665465]: [Job 712] Stopping job because the scheduler could not execute a filter.
Jun 09 09:15:06 teevey cupsd[1665465]: REQUEST localhost - - "POST /printers/ENVY_Pro_6400 HTTP/1.1" 200 423154 Send-Document successful-ok

Comment 8 "FeRD" (Frank Dana) 2025-06-09 13:29:13 UTC
It could be that HPLIP is doing something stupid, and built in a dependency on the universal filter. The print queue in question was set up by HP's print manager application.

Comment 9 Fedora Update System 2025-06-09 13:33:23 UTC
FEDORA-2025-0779437be7 (cups-filters-2.0.1-6.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-0779437be7

Comment 10 "FeRD" (Frank Dana) 2025-06-09 13:43:09 UTC
OK, maybe I'm wrong. After double-restarting cups.service, then manually going in and administratively Start-ing the Stopped job, I was able to get it to print. So, it looks like it is an order of operations thing. Sorry I didn't think to try that before responding.

Comment 11 Fedora Update System 2025-06-09 13:44:59 UTC
FEDORA-2025-b5727cadd8 (cups-filters-2.0.1-6.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-b5727cadd8

Comment 12 Fedora Update System 2025-06-09 15:38:00 UTC
FEDORA-2025-979cf8ed9e (cups-filters-2.0.1-6.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 13 Stefano Biagiotti 2025-06-09 18:08:10 UTC
(In reply to Zdenek Dohnal from comment #4)
> You can restart cups service by yourself, or wait for update.

Restart cups service twice works for me, thank you.

Comment 14 Fedora Update System 2025-06-10 01:31:51 UTC
FEDORA-2025-b5727cadd8 has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-b5727cadd8`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-b5727cadd8

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 15 Fedora Update System 2025-06-10 02:02:19 UTC
FEDORA-2025-0779437be7 has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-0779437be7`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-0779437be7

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 16 Zdenek Dohnal 2025-06-10 06:20:29 UTC
*** Bug 2371356 has been marked as a duplicate of this bug. ***

Comment 17 Fedora Update System 2025-06-12 01:29:44 UTC
FEDORA-2025-0779437be7 (cups-filters-2.0.1-6.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 18 Fedora Update System 2025-06-12 02:28:22 UTC
FEDORA-2025-b5727cadd8 (cups-filters-2.0.1-6.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.