🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.rc
2 messages
2 total messages Started by Francesco Poli (frx) Fri, 13 Nov 2026 23:30
Bug#1153943: cups: Bad device URI "://" and driverless network printing no longer works
#3110
Author: Francesco Poli (frx)
Date: Fri, 13 Nov 2026 23:30
119 lines
5524 bytes
Package: cups
Version: 2.4.20-1
Severity: grave
Justification: renders package unusable
X-Debbugs-Cc: frx@free-vortex.org

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
Processed: Re: Bug#1153943: cups: Bad device URI "://" and driverless network printing no longer works
#3111
Author: Debian Bug Tracking System
Date: Fri, 13 Nov 2026 23:40
12 lines
2089 bytes
Processing control commands:

> forwarded -1 https://github.com/OpenPrinting/cups/issues/1751
Bug #1153943 [cups] cups: Bad device URI "://" and driverless network printing no longer works
Set Bug forwarded-to-address to 'https://github.com/OpenPrinting/cups/issues/1751'.

-- 
1153943: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1153943
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads