I found a fix for this issue after dealing with the same setup using the Raspberry desktop OS on an esxi VM.
if you run uname -r -m and dpkg --print-architecture you will most likely get 4.19.0-12-amd64 x86_64 and i386 as discussed in this article:
A solution was to install the libc6:amd64 package manually using apt-get here:
I ran sudo apt install libc6:amd64 and did the pihole install script using bash and it worked without any issue.
2 Likes