#1145015 lemonade-server fails to install: groupadd not found

Package:
lemonade-server
Source:
lemonade-server
Description:
Local LLM serving with GPU and NPU acceleration server
Submitter:
Helmut Grohne
Date:
2026-08-21 13:53:08 UTC
Severity:
normal
#1145015#5
Date:
2026-08-20 14:00:42 UTC
From:
To:
lemonade-server fails to install due to a missing dependency on
base-passwd. You can reproduce it as follows:

| $ mmdebstrap unstable /dev/null --variant=apt --include lemonade-server
| ...
| Setting up lemonade-server (11.5.2-1) ...
| /var/lib/dpkg/info/lemonade-server.postinst: 10: groupadd: not found
| dpkg: error processing package lemonade-server (--configure):
|  old lemonade-server package postinst maintainer script subprocess failed with exit status 127
| Processing triggers for libc-bin (2.43-3) ...
| Errors were encountered while processing:
|  lemonade-server
| E: Sub-process env returned an error code (1)
| ...
| $

Please consider using sysusers.d instead of manual invocations of
groupadd. You could install /usr/lib/sysusers.d/lemonade-server.conf:

    u! lemonade - - /var/lib/lemonade
    m lemonade systemd-journal
    m lemonade render

Note that you need to add dh-sequence-installsysusers to Build-Depends
and systemd-sysusers to Depends for this to work.

Helmut