NLnetLabs / unbound

Unbound is a validating, recursive, and caching DNS resolver.
https://nlnetlabs.nl/unbound
BSD 3-Clause "New" or "Revised" License
3.03k stars 347 forks source link

Fresh RasbianOS/Pi-hole install, cannot install Unbound #566

Open amorshc opened 2 years ago

amorshc commented 2 years ago

Describe the bug Error sub-process /usr/bin/dpkg returned an error code 2 and will not install Unbound

To reproduce Fresh install of latest RasbianOS and Pi-Hole, running sudo apt install unbound and I receive the following error: image

image

Expected behavior I expect Unbound to install properly.

System: image

wcawijngaards commented 2 years ago

We do not actually do the packaging of Unbound for those systems. So the error looks like it is about the package installation. Unbound is not really involved, I mean the server. I think the place to go is the package you are installing, where that is from; from the system and package distro that you are using.

Looks like dpkg does not have proper file lists; should you use a different package install tool, like apt install unbound, as Ubuntu uses; or is the set up broken?

If you want to ignore the package install, it is possible to manually compile unbound; get the source code, eg. from our website or from git. And then compile it with ./configure and make; then you can run ./unbound from the build directory; or perhaps install it. https://unbound.docs.nlnetlabs.nl/en/latest/getting-started/installation.html#building-from-source-compiling