Please follow the below template, it will help us to help you!
If you are Experiencing issues with a Pi-hole install that has non-standard elements (e.g you are using nginx
instead of lighttpd
, or there is some other aspect of your install that is customised) - please use the Community Help category.
Expected Behaviour:
I viewed the Pi-Hole administrator page, and it indicated that there were updates available for the Web Interface and FTL. I connected via SSL and issued the "pihole -up" command. The update failed with the messages "E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem". I entered the command and received a dpkg parsing error. The complete transcript of the session follows.
I entered 'pihole -v' to verify the versions, and see that the web interface update was successful, but the FTL is still out of date.
Actual Behaviour:
Here is the console log of the update session:
Linux pihole 5.10.11-v7l+ #1399 SMP Thu Jan 28 12:09:48 GMT 2021 armv7l
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Tue Feb 23 10:11:34 2021 from 192.168.1.216
Wi-Fi is currently blocked by rfkill.
Use raspi-config to set the country before use.
pi@pihole:~ $ pihole -up
[i] Checking for updates...
[i] Pi-hole Core: up to date
[i] Web Interface: update available
[i] FTL: update available
[i] Pi-hole Web Admin files out of date, updating local repo.
[✓] Check for existing repository in /var/www/html/admin
[i] Update repo in /var/www/html/admin...HEAD is now at 989e1ba Merge pull request #1737 from pi-hole/release/v5.4
[✓] Update repo in /var/www/html/admin
[i] If you had made any changes in '/var/www/html/admin/', they have been stashed using 'git stash'
[i] FTL out of date, it will be updated by the installer.
[✓] Root user check
.;;,.
.ccccc:,.
:cccclll:. ..,,
:ccccclll. ;ooodc
'ccll:;ll .oooodc
.;cll.;;looo:.
.. ','.
.',,,,,,'.
.',,,,,,,,,,.
.',,,,,,,,,,,,....
....''',,,,,,,'.......
......... .... .........
.......... ..........
.......... ..........
......... .... .........
........,,,,,,,'......
....',,,,,,,,,,,,.
.',,,,,,,,,'.
.',,,,,,'.
..'''.
[✓] Update local cache of available packages
[i] Existing PHP installation detected : PHP version 7.3.27-1~deb10u1
[i] Performing unattended setup, no whiptail dialogs will be displayed
[✓] Checking apt-get for upgraded packages... 12 updates available
[i] It is recommended to update your OS after installing the Pi-hole!
[i] Installer Dependency checks...
[i] Checking for dhcpcd5 (will be installed)
[i] Checking for git (will be installed)
[i] Checking for iproute2 (will be installed)
[i] Checking for whiptail (will be installed)
[i] Checking for dnsutils (will be installed)
[i] Processing apt-get install(s) for: dhcpcd5 git iproute2 whiptail dnsutils, please wait...
------------------------------------------------------------------------------------------------------------------------------------------------------
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
Unable to complete update, please contact Pi-hole Support
pi@pihole:~ $ sudo dpkg --configure -a
dpkg: error: parsing file '/var/lib/dpkg/updates/0000' near line 0:
field name '�v��' must be followed by colon
pi@pihole:~ $ sudo dpkg --configure -a
dpkg: error: parsing file '/var/lib/dpkg/updates/0000' near line 0:
field name '�v��' must be followed by colon
pi@pihole:~ $ pihole -v
Pi-hole version is v5.2.4 (Latest: v5.2.4)
AdminLTE version is v5.4 (Latest: v5.4)
pi@pihole:~ $
Debug Token:
https://tricorder.pi-hole.net/6orr1ky5bs