🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.rc
Article #3110

Bug#1153943: cups: Bad device URI "://" and driverless network printing no longer works

#3110
From: 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
Technical Details
Message-ID: <NZ8St-bIQV-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!bofh.it!news.nic.it!robomod
From: "Francesco Poli (frx)" <frx@free-vortex.org>
Newsgroups: linux.debian.bugs.rc
Subject: Bug#1153943: cups: Bad device URI "://" and driverless network printing no longer works
Date: Sat, 14 Nov 2026 00:30:01 +0100
Message-ID: <NZ8St-bIQV-1@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-rc-request@lists.debian.org  Fri Nov 13 23:23:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.65
Reply-To: "Francesco Poli (frx)" <frx@free-vortex.org>, 1153943@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: frx@free-vortex.org, debian-printing@lists.debian.org
X-Debian-Pr-Message: report 1153943
X-Debian-Pr-Package: cups
X-Debian-Pr-Source: cups
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Mailer: reportbug 13.2.0+nmu1
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-rc@lists.debian.org> archive/latest/838160
List-ID: <debian-bugs-rc.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-rc/>
Approved: robomod@news.nic.it
Lines: 119
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Sat, 14 Nov 2026 00:22:14 +0100
X-Original-Message-ID: <179461213436.75082.8058374874207845359.reportbug@crunch>