Error installing unbound on new PI 4

you can't have the same directive in different conf files

run

sudo /usr/sbin/unbound-checkconf

or wherever unbound-checkconf is located on your system.