No token - does not install
Raspbian and NOOB on purchased chip. Only other package installed is RealVNC server.
Have tried all three installation methods. All abort at same line with same message.
All install commands prefixed with 'sudo' ex: sudo bash -x basic-install.sh ...etc.
Only anomaly encountered (help ticket sent to raspberry/github) is when I do a sudo apt-get update i get:
pi@raspberrypi:/Pi-hole/automated install $ sudo apt-get update
Hit:1 http://archive.raspberrypi.org/debian buster InRelease
Reading package lists... Done
W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/raspi.list:3
W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/raspi.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/raspi.list:1
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/raspi.list:1
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/raspi.list:1
W: Target Translations (main/i18n/Translation-en_US.UTF-8) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/raspi.list:1
W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/raspi.list:3
W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/raspi.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/raspi.list:1
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/raspi.list:1
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/raspi.list:1
W: Target Translations (main/i18n/Translation-en_US.UTF-8) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/raspi.list:1
Have spent a couple days trying to figure this out but have run out of knowledge and ideas.
Regards
You need to solve the issue with apt-get failing first. This indicates a broken OS and we will not complete the install if things are broken at that level.
You can try sudo apt-get --yes --no-install-recommends install dialog but that probably will just list out more errors for you to fix.
They may have shipped you a damaged OS. Since you aren't far into this, I would use Etcher software to burn a new Raspbian image (you can get the latest at Raspberry Pi OS β Raspberry Pi )
Don't forget to put an empty file name SSH in the boot directory when you make the new OS image, or you won't be able to remote into the Pi.
I cleared the OS multiple configuration errors by commenting out duplicate 'deb' entries in the raspi.list source file. Ran apt-update and apt-upgrade with no errors. Pi-hole [Bash -x basic-install.sh] still hangs at same spot with same message. Currently downloading fresh OS onto new chip to test for corrupted OS as you suggest. Thanks
root@raspberrypi://home/pi# apt-get --yes --no-install-recommends install dialog
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package dialog is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'dialog' has no installation candidate
root@raspberrypi://home/pi#
Installation Successful:
Reinstalled from web NOOBS/Raspbian to new chip and tried again as suggested. This time I did everything from the su accnt (root) rather than the PI user accnt via sudo. Installation of OS and PI successful: I believe I had a corrupted OS. I also think the first time installing Pi-hole I didn't have root privileges which may have added to probs. Thanks for your help. Takes me back to my long since forgotten M6800 assembler days in the early 70's.
............. Pi-hole install......
[β] Force-reloading DNS service
[β] DNS service is running
[i] Pi-hole blocking will be enabled
[i] Enabling blocking
[β] Reloading DNS service
[β] Pi-hole Enabled
[i] Web Interface password: cmgzAvvl
[i] This can be changed using 'pihole -a -p'
[i] You may now configure your devices to use the Pi-hole as their DNS server
[i] Pi-hole DNS (IPv4): 192.168.1.75
[i] If you set a new IP address, please restart the server running the Pi-hole
[i] The install log is located at: /etc/pihole/install.log Installation Complete!
------ Pi-hole Install end ------