The issue I am facing:
I tried updating pi-hole using pihole -up. Most of it updated fine but FTL, at first due to a repository on apt-get that returned error.
After fixing it I get the error:
Unable to locate package php7.3-xml
Now the Web interface is updated, PiHole too, but the FTL is not. And the web interface is very slow and not showing all of the usual data.
Details about my system:
Raspian Buster on a RBPi2
[✓] Update local cache of available packages
[i] Existing PHP installation detected : PHP version 7.3.14-1~deb10u1
[i] Performing unattended setup, no whiptail dialogs will be displayed
[✓] Disk space check
[✓] Checking apt-get for upgraded packages... up to date!
[i] Installer Dependency checks...
[✓] Checking for dhcpcd5
[✓] Checking for git
[✓] Checking for iproute2
[✓] Checking for whiptail
[✓] Checking for dnsutils
[✓] Supported OS detected
[i] SELinux not detected
[i] Performing reconfiguration, skipping download of local repos
[✓] Resetting repository within /etc/.pihole...
[✓] Resetting repository within /var/www/html/admin...
[i] Main Dependency checks...
[✓] Checking for cron
[✓] Checking for curl
[✓] Checking for iputils-ping
[✓] Checking for lsof
[✓] Checking for netcat
[✓] Checking for psmisc
[✓] Checking for sudo
[✓] Checking for unzip
[✓] Checking for wget
[✓] Checking for idn2
[✓] Checking for sqlite3
[✓] Checking for libcap2-bin
[✓] Checking for dns-root-data
[✓] Checking for libcap2
[✓] Checking for lighttpd
[✓] Checking for php7.3-common
[✓] Checking for php7.3-cgi
[✓] Checking for php7.3-sqlite3
[i] Checking for php7.3-xml (will be installed)
[i] Checking for php7.3-intl (will be installed)
[i] Processing apt-get install(s) for: php7.3-xml php7.3-intl, please wait...
----------------------------------------------------------------------------------------------------------------E: Unable to locate package php7.3-xml
E: Couldn't find any package by glob 'php7.3-xml'
E: Couldn't find any package by regex 'php7.3-xml'
E: Unable to locate package php7.3-intl
E: Couldn't find any package by glob 'php7.3-intl'
E: Couldn't find any package by regex 'php7.3-intl'
Unable to complete update, please contact Pi-hole Support
Maybe just an issue with the DNS server that your RPi 2 is using for itself.
Try
sudo nano /etc/resolv.conf
Check the nameserver line: If it is pointing to Pi-hole's IP or 127.0.0.1, change it to nameserver 9.9.9.9 or your preferred third party DNS service, save and exit, then retry updating Pi-hole.
Yes.
Any changes to that file will be reset/restored when rebooting or when network state changes.
Try install one from the list manually with below and post results ?
pi@ph5:~ $ sudo grep -v '^\s*#\|^\s*$' -R /etc/apt/sources.list*
/etc/apt/sources.list:deb http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi
/etc/apt/sources.list.d/raspi.list:deb http://archive.raspberrypi.org/debian/ buster main
Create below file:
sudo nano /etc/apt/sources.list
Add below/save/exit:
deb http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi