Update on my nanopi NEO2 (pi-hole) went smooth and hassle free,
but on my RPi-Zero-W (headless music streamer) the update to v6.23 seems to have completely bricked my installation…
Update halted with error. Got a message that advised to run ‘apt --fix-broken install’ but that doesn’t work:
apt --fix-broken install
Reading package lists… Done
Building dependency tree
Reading state information… Done
Correcting dependencies… Done
The following additional packages will be installed:
php7.0-cli php7.0-common php7.0-curl php7.0-fpm
The following packages will be upgraded:
php7.0-cli php7.0-common php7.0-curl php7.0-fpm
4 upgraded, 0 newly installed, 0 to remove and 12 not upgraded.
12 not fully installed or removed.
Need to get 0 B/2,723 kB of archives.
After this operation, 1,370 kB disk space will be freed.
Do you want to continue? [Y/n] y
E: Sub-process /usr/bin/dpkg exited unexpectedly
Machine won’t reboot either:
root@DietPi:~# reboot
Illegal instruction
I also cannot restore my backup:
dietpi-backup -1 /mnt/dietpi-backup
/DietPi/dietpi/func/dietpi-globals: line 105: ((: == 3 : syntax error: operand expected (error token is "== 3 ")
/DietPi/dietpi/func/dietpi-globals: line 109: ((: == 4 : syntax error: operand expected (error token is "== 4 ")
/DietPi/dietpi/func/dietpi-globals: line 113: ((: == 5 : syntax error: operand expected (error token is "== 5 ")
/DietPi/dietpi/func/dietpi-globals: line 546: ((: > 3 : syntax error: operand expected (error token is "> 3 ")
[ OK ] DietPi-Backup | Root access verified.
/DietPi/dietpi/func/dietpi-globals: line 479: 8694 Illegal instruction grep -q ‘[[:blank:]]/[[:blank:]].*[[:blank:]]ro,’ /proc/mounts
[ OK ] DietPi-Backup | RootFS R/W access verified.
/DietPi/dietpi/func/dietpi-globals: line 177: 8695 Illegal instruction mkdir -p /tmp/$G_PROGRAM_NAME
[ INFO ] DietPi-Backup | Checking for pre-req APT packages: rsync
/DietPi/dietpi/func/dietpi-globals: line 1762: 8697 Illegal instruction dpkg --get-selections > $fp_temp
/DietPi/dietpi/func/dietpi-globals: line 1775: 8698 Illegal instruction grep -qi “^$i[[:space:]]” $fp_temp
[ INFO ] DietPi-Backup | Flagged for installation: rsync
/DietPi/dietpi/func/dietpi-globals: line 1531: ((: >= 4 : syntax error: operand expected (error token is ">= 4 ")
[ INFO ] DietPi-Backup | APT installation for: rsync, please wait…
E: Unmet dependencies. Try ‘apt --fix-broken install’ with no packages (or specify a solution).
[FAILED] DietPi-Backup | G_AGI rsync
/DietPi/dietpi/func/dietpi-globals: line 1079: 8707 Illegal instruction ps aux
8708 | grep -qi ‘[d]ietpi-config’
It’s really frustrating since the update on nanopi NEO2 went fine.
Can also not create bug report (gives errors)…
So what to do now?