Package: cups
Version: 2.4.20-1
Severity: grave
Justification: renders package unusable
X-Debbugs-Cc: [email protected]

Control: forwarded -1 https://github.com/OpenPrinting/cups/issues/1751


Hello there, thanks for maintaining CUPS in Debian!

I've just found out that the recent upgrade (in Debian testing):

```
[UPGRADE] cups:amd64 2.4.18-1 -> 2.4.20-1
[UPGRADE] cups-bsd:amd64 2.4.18-1 -> 2.4.20-1
[UPGRADE] cups-client:amd64 2.4.18-1 -> 2.4.20-1
[UPGRADE] cups-common:amd64 2.4.18-1 -> 2.4.20-1
[UPGRADE] cups-core-drivers:amd64 2.4.18-1 -> 2.4.20-1
[UPGRADE] cups-daemon:amd64 2.4.18-1 -> 2.4.20-1
[UPGRADE] cups-ipp-utils:amd64 2.4.18-1 -> 2.4.20-1
[UPGRADE] cups-ppdc:amd64 2.4.18-1 -> 2.4.20-1
[UPGRADE] cups-server-common:amd64 2.4.18-1 -> 2.4.20-1
[UPGRADE] libcups2t64:amd64 2.4.18-1 -> 2.4.20-1
```

introduced a grave regression for driverless printing, which basically
stopped working.

What I see is now:

```
$ lpstat -e
PRINTER_MODEL
$ echo hello | lpr -P PRINTER_MODEL
lpr: No such file or directory
```

The error message is vague and does not explain what's going on.
Hence, I took a look at the logs:

```
$ tail -n 2 /var/log/cups/error_log
E [13/Nov/2026:23:45:26 +0100] PRINTER_MODEL: Bad device URI "://".
E [13/Nov/2026:23:45:26 +0100] [Client 3] Returning IPP 
server-error-device-error for CUPS-Create-Local-Printer (ipp://localhost/) from 
localhost.
```

Printing no longer works.

Upgrading to cups/2.4.20-3 from Debian unstable does not fix this bug.

On the other hand, downgrading to cups/2.4.18-1 fixes the issue:

```
# cd /var/cache/apt/archives/
# dpkg -i cups_2.4.18-1_amd64.deb cups-bsd_2.4.18-1_amd64.deb 
cups-client_2.4.18-1_amd64.deb cups-common_2.4.18-1_all.deb 
cups-core-drivers_2.4.18-1_amd64.deb cups-daemon_2.4.18-1_amd64.deb 
cups-ipp-utils_2.4.18-1_amd64.deb cups-ppdc_2.4.18-1_amd64.deb 
cups-server-common_2.4.18-1_all.deb libcups2t64_2.4.18-1_amd64.deb
$ lpstat -e
PRINTER_MODEL
$ echo hello | lpr -P PRINTER_MODEL
```

and the printed paper exits from the printer.


It seems to me that this bug has already been [reported] to the upstream
CUPS developers. Hence, I set the forwarded tag for this Debian bug report.

[reported]: <https://github.com/OpenPrinting/cups/issues/1751>

Please cherrypick the fix for a cups/2.4.20-4 Debian revision.
Thanks for your time and dedication!


-- System Information:
Debian Release: forky/sid
  APT prefers testing
  APT policy: (800, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 7.2.15+deb14-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages cups depends on:
ii  cups-client            2.4.20-1
ii  cups-common            2.4.20-1
ii  cups-core-drivers      2.4.20-1
ii  cups-daemon            2.4.20-1
ii  cups-filters           1.28.17-7+b3
ii  cups-ppdc              2.4.20-1
ii  cups-server-common     2.4.20-1
ii  debconf [debconf-2.0]  1.5.92
ii  ghostscript            10.08.0~dfsg-2
ii  libavahi-client3       0.8-18
ii  libavahi-common3       0.8-18
ii  libc6                  2.43-7
ii  libcups2t64            2.4.20-1
ii  libgcc-s1              16.2.0-4
ii  libstdc++6             16.2.0-4
ii  libusb-1.0-0           2:1.0.30-1
ii  poppler-utils          26.07.0-4
ii  procps                 2:4.0.7-1.1

Versions of packages cups recommends:
ii  avahi-daemon  0.8-18
pn  colord        <none>

Versions of packages cups suggests:
ii  cups-bsd                                   2.4.20-1
pn  cups-pdf                                   <none>
pn  foomatic-db-compressed-ppds | foomatic-db  <none>
pn  smbclient                                  <none>
ii  udev                                       262-1

-- debconf information:
  cupsys/backend: lpd, socket, usb, snmp, dnssd
  cupsys/raw-print: true

Reply via email to