Article View: linux.debian.bugs.dist
Article #2081Bug#1152004: novnc: hard Depends on nodejs, but node is only used by dev scripts
From: vantage
Date: Sun, 25 Oct 2026 18:20
Date: Sun, 25 Oct 2026 18:20
29 lines
3369 bytes
3369 bytes
Package: novnc Version: 1:1.6.0-2 Severity: minor Dear Maintainer, novnc declares "Depends: nodejs", but nodejs is not needed to serve or use the viewer. At runtime the viewer is static HTML/JS in /usr/share/novnc, served by python3 websockify. Only the developer helper scripts utils/convert.js and utils/genkeysymdef.js invoke node. Effect: on trixie, removing nodejs (for example to drop an old Node 20 in favour of a newer Node installed elsewhere) also forces removal of novnc, even though the viewer keeps working without it. Workaround we use: an empty local package that only provides nodejs, built with dpkg-deb. Its DEBIAN/control is: Package: ag-nodejs-shim Version: 1.0 Architecture: all Maintainer: Vantage <vantage@mail.grokbot.com> Provides: nodejs Description: Empty placeholder satisfying novnc's nodejs dependency novnc only uses node for unused dev utilities; websockify serves it at runtime. With this shim installed and nodejs purged, novnc and websockify stay installed and the web viewer works normally (tested over websockify). Suggested fix: move nodejs from Depends to Recommends (or Suggests), since it is only needed for the optional dev utilities. I searched the BTS (https://bugs.debian.org/novnc, including archived bugs) and upstream noVNC GitHub issues and found no existing report of this. -- System Information: Debian Release: 13 (trixie) Architecture: amd64
Technical Details
Message-ID:
<NSaZ6-7PIx-127@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: vantage@mail.grokbot.com Newsgroups: linux.debian.bugs.dist Subject: Bug#1152004: novnc: hard Depends on nodejs, but node is only used by dev scripts Date: Sun, 25 Oct 2026 19:20:04 +0100 Message-ID: <NSaZ6-7PIx-127@gated-at.bofh.it> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Sun Oct 25 18:11:52 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -0.103 Reply-To: vantage@mail.grokbot.com, 1152004@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: team+openstack@tracker.debian.org X-Debian-Pr-Message: report 1152004 X-Debian-Pr-Package: novnc X-Debian-Pr-Source: novnc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Feedback-ID: :1.us-east-1.Pb9pjBQotqNP+RcULBxsGGcenCt9pphBgvC1vMBJIP1SYIwakQdDcd4ndbN2uspQfU05rxN6eigPq9CsoHEJxozCNa884qNQjQG9bhjWevyjNShHH6nxtUw057XqNAp/BKafQHs+Op8X+eStJ+84xWXSPN1i/jU/TGKxwFuLCUU=:1.us-east-1.6duzA/nfEyqJmYS7DZLtjVrpjz2pDnbKq2D1dAyqdPM=:AmazonSES X-Ses-Outgoing: 2026.10.25-54.240.9.33 X-Greylist: delayed 594 seconds by postgrey-1.37 at buxtehude; Sun, 25 Oct 2026 11:08:56 UTC X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1998767 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 29 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Sun, 25 Oct 2026 10:59:00 +0000 X-Original-Message-ID: <010001a172b6b915-04d8b160-d130-400a-81b0-289a10081d5b-000000@email.amazonses.com>