Hello,
I've got update issues too. I found this thread here to solve it.
Unfortunatly it doens't work for me.
Here is the output from my terminal:
wget https://packages.sury.org/php/apt.gpg
wget: Syntax error in /etc/wgetrc at line 5.
wget: Syntax error in /etc/wgetrc at line 10.
wget: Syntax error in /etc/wgetrc at line 17.
wget: Syntax error in /etc/wgetrc at line 22.
wget: Syntax error in /etc/wgetrc at line 30.
wget: Syntax error in /etc/wgetrc at line 42.
wget: Syntax error in /etc/wgetrc at line 119.
Parsing system wgetrc file failed. Please check
'/etc/wgetrc',
or specify a different file using --config.
My Pi-Hole runs on a raspberry3 and here is the installation guide:
https://community.ubnt.com/t5/UniFi-Routing-Switching/Step-By-Step-Tutorial-Guide-Raspberry-Pi-with-UniFi-Controller/td-p/2470231?fbclid=IwAR1RxX-OWLCfWo2zL5xTUd6OlAE7WQCjZXgTCep-RtoOAPmVVWBpgATYqIs
Thanks in advance.
Thomas