Pihole install will not finish on Ubuntu on a RaspberryPi 5.
I tried Ubuntu 24.04.5 LTS Server, 26.04.1 LTS Server and 26.10 Server.
The installation starts but will always forever stay at "Installing Pi-hole dependency package"
I even let it once run for 8 hours while i was sleeping but nothing.
Try to install using 2 separate steps:
curl -o basic-install.sh https://install.pi-hole.net
sudo bash basic-install.sh
calamyt1@Pi-hole:\~$ curl -o basic-install.sh https://install.pi-hole.net
sudo bash basic-install.sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 145 100 145 0 0 799 0 --:--:-- --:--:-- --:--:-- 801
basic-install.sh: line 1: html: No such file or directory
basic-install.sh: line 2: syntax error near unexpected token `<' 'asic-install.sh: line 2: `302 Found
https://install.pi-hole.net/ is a redirect, try again with -L to follow redirects:
curl -Lo basic-install.sh https://install.pi-hole.net
sudo bash basic-install.sh
Try the direct link:
curl -o basic-install.sh https://raw.githubusercontent.com/pi-hole/pi-hole/master/automated%20install/basic-install.sh
OK this one worked. It runs now.
Thanks everyone for the help!
This thread is solved, no need to reply any further. Additionally, this is a known issue of Ubuntu’s sudo-rs, it will not be fixed by a fresh install.


