#1009292 isc-dhcp-server.service reports failure upon installation on Raspberry Pi OS Bullseye

Package:
isc-dhcp-server
Source:
isc-dhcp
Description:
ISC DHCP server for automatic IP address assignment
Submitter:
Mattia Dal Ben
Date:
2022-04-11 06:54:04 UTC
Severity:
minor
#1009292#5
Date:
2022-04-11 06:51:04 UTC
From:
To:
Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?

On a fresh Raspberry Pi OS Bullseye install isc-dhcp-server with "sudo apt install isc-dhcp-server".

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

Nothing as the error is reported immediately after installation.

   * What was the outcome of this action?

The installation log reports the following error:

pi@raspberrypi:~ $ sudo apt install isc-dhcp-server
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
...
Setting up isc-dhcp-server (4.4.1-2.3) ...
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Generating /etc/default/isc-dhcp-server...
Job for isc-dhcp-server.service failed because the control process exited with error code.
See "systemctl status isc-dhcp-server.service" and "journalctl -xe" for details.
invoke-rc.d: initscript isc-dhcp-server, action "start" failed.
● isc-dhcp-server.service - LSB: DHCP server
     Loaded: loaded (/etc/init.d/isc-dhcp-server; generated)
     Active: failed (Result: exit-code) since Tue 2022-03-29 08:32:17 BST; 49ms ago
       Docs: man:systemd-sysv-generator(8)
    Process: 4048 ExecStart=/etc/init.d/isc-dhcp-server start (code=exited, status=1/FAILURE)
        CPU: 80ms

Mar 29 08:32:15 raspberrypi dhcpd[4063]: before submitting a bug.  These pages explain the proper
Mar 29 08:32:15 raspberrypi dhcpd[4063]: process and the information we find helpful for debugging.
Mar 29 08:32:15 raspberrypi dhcpd[4063]:
Mar 29 08:32:15 raspberrypi dhcpd[4063]: exiting.
Mar 29 08:32:17 raspberrypi isc-dhcp-server[4048]: Starting ISC DHCPv4 server: dhcpdcheck syslog for diagnostics. ...
Mar 29 08:32:17 raspberrypi isc-dhcp-server[4068]:  failed!
...

   * What outcome did you expect instead?

I expected it either:
- to have a valid auto-generated configuration after installation
- the service to not be launched immediately after installation