unbound installation fails

The issue I am facing:
bernd@raspberrypi:~ $ sudo apt install unbound
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
unbound
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 884 kB of archives.
After this operation, 4,929 kB of additional disk space will be used.
Get:1 Index of /debian bookworm/main arm64 unbound arm64 1.17.1-2+deb12u2 [884 kB]
Fetched 884 kB in 1s (1,057 kB/s)
Selecting previously unselected package unbound.
(Reading database ... 163546 files and directories currently installed.)
Preparing to unpack .../unbound_1.17.1-2+deb12u2_arm64.deb ...
Unpacking unbound (1.17.1-2+deb12u2) ...
Setting up unbound (1.17.1-2+deb12u2) ...
Could not execute systemctl: at /usr/bin/deb-systemd-invoke line 145.
Processing triggers for man-db (2.11.2-2) ...

Details about my system:
Raspberry Pi with a fresh Bookworm 64 bit installation + Pihole installation

What I have changed since installing Pi-hole:
Just calling the install command.

It seems that this command cant been executed:

        if (@start_units) {
            system('systemctl', '--quiet', @instance_args, $action, @start_units) == 0 or die("Could not execute systemctl: $!");
        }

How can I fix this problem?

I've not run across that. Did you install pihole first, then unbound? You could try running unbound-checkconf and see if gives shows errors in the config. Other than that, perhaps a dependancy is missing.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.