Hello everyone!
I have Pi-Hole installed on a Raspberry Pi 2 Model B Rev 1.1.
I installed it a few months ago, and it's been working fine until recently when I started noticing that the blocking percentage dropped considerably. When I checked the web interface, the footer displayed a message that FTL needed an update, saying:
Core v6.2.2
FTL v6.2.3 ยท Update available!
Web interface v6.3
If I try to update it (sudo pihole -up), it doesn't update. I also tried repairing the installation (sudo pihole -r), but that didn't solve it either. The errors I see when attempting to update are:
[i] Web Interface: up to date
/etc/.pihole/automated install/basic-install.sh: line 1961: awk: command not found
And further down:
[i] FTL Checks...
[โ] This processor architecture is not supported by Pi-hole () [i] Downloading and Installing FTL...curl: (3) bad range in URL position 70:
[โ] This processor architecture is not supported by Pi-hole ()
^
[โ] Downloading and Installing FTL
[โ] This processor architecture is not supported by Pi-hole () not found
[โ] FTL Engine not installed
Unable to complete update, please contact Pi-hole Support
The error is the same when I run the repair, except it doesn't show the message about contacting Support.
Any ideas?
Thanks a lot!
xxxxxxxxxxx:~ $ sudo apt update
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
xxxxxxxxxxx:~ $ sudo apt install gawk
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done E: Unable to locate package gawk
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
mawk is already the newest version (1.3.4.20200120-3.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
awk - auto mode
link best version is /usr/bin/mawk
link currently absent
link awk is /usr/bin/awk
slave awk.1.gz is /usr/share/man/man1/awk.1.gz
slave nawk is /usr/bin/nawk
slave nawk.1.gz is /usr/share/man/man1/nawk.1.gz
/usr/bin/mawk - priority 5
slave awk.1.gz: /usr/share/man/man1/mawk.1.gz
slave nawk: /usr/bin/mawk
slave nawk.1.gz: /usr/share/man/man1/mawk.1.gz
update-alternatives: using /usr/bin/mawk to provide /usr/bin/awk (awk) in auto mode
And now:
awk - auto mode
link best version is /usr/bin/mawk
link currently points to /usr/bin/mawk
link awk is /usr/bin/awk
slave awk.1.gz is /usr/share/man/man1/awk.1.gz
slave nawk is /usr/bin/nawk
slave nawk.1.gz is /usr/share/man/man1/nawk.1.gz
/usr/bin/mawk - priority 5
slave awk.1.gz: /usr/share/man/man1/mawk.1.gz
slave nawk: /usr/bin/mawk
slave nawk.1.gz: /usr/share/man/man1/mawk.1.gz
I tried again: sudo pihole -up and get few typicals lines without errors and the last:
\[i\] SELinux not detected
\[โ\] Update local cache of available packages
Error: Unable to update package cache. Please try "sudo apt update"
Unable to complete update, please contact Pi-hole Support
Now if I run: sudo pihole -r
I get:
\[i\] SELinux not detected
\[โ\] Update local cache of available packages
Error: Unable to update package cache. Please try "sudo apt update"