Expected Behaviour:
Update with command pihole -up
-operating system DietPi 8.1.2
-hardware]_ RPi 3B
Actual Behaviour:
When running pihole -up
the process aborts with following error message:
[✓] Update local cache of available packages
[i] Existing PHP installation detected : PHP version 7.4.28
[✓] Checking for git
[✓] Checking for iproute2
[✓] Checking for whiptail
[✓] Checking for ca-certificates
[i] Checking for updates...
error: refs/tags/2.0 does not point to a valid object!
error: refs/tags/2.8 does not point to a valid object!
error: refs/tags/V2.5.1 does not point to a valid object!
error: refs/tags/V2.9.1 does not point to a valid object!
error: refs/tags/V2.9.2 does not point to a valid object!
error: refs/tags/v2.1 does not point to a valid object!
error: refs/tags/v2.10 does not point to a valid object!
error: refs/tags/v2.10.1 does not point to a valid object!
error: refs/tags/v2.10.2 does not point to a valid object!
error: refs/tags/v2.11 does not point to a valid object!
error: refs/tags/v2.11.1 does not point to a valid object!
fatal: offset beyond end of pack index for .git/objects/pack/pack-c2a7e85c6e0c9b04f9fb70c5d4eef9002fc80229.pack (truncated index?)
fatal: offset beyond end of pack index for .git/objects/pack/pack-c2a7e85c6e0c9b04f9fb70c5d4eef9002fc80229.pack (truncated index?)
fatal: offset beyond end of pack index for .git/objects/pack/pack-c2a7e85c6e0c9b04f9fb70c5d4eef9002fc80229.pack (truncated index?)
Error: Local revision could not be obtained, please contact Pi-hole Support
Additional debugging output:
On branch master
Your branch is behind 'origin/master' by 4 commits, and can be fast-forwarded.
(use "git pull" to update your local branch)
nothing to commit, working tree clean
Tried pihole checkout master
and it fails too with following error message:
[i] Shortcut "master" detected - checking out master branches...
[i] Pi-hole core
error: refs/tags/2.0 does not point to a valid object!
error: refs/tags/2.8 does not point to a valid object!
error: refs/tags/V2.5.1 does not point to a valid object!
error: refs/tags/V2.9.1 does not point to a valid object!
error: refs/tags/V2.9.2 does not point to a valid object!
error: refs/tags/v2.1 does not point to a valid object!
error: refs/tags/v2.10 does not point to a valid object!
error: refs/tags/v2.10.1 does not point to a valid object!
error: refs/tags/v2.10.2 does not point to a valid object!
error: refs/tags/v2.11 does not point to a valid object!
error: refs/tags/v2.11.1 does not point to a valid object!
fatal: offset beyond end of pack index for .git/objects/pack/pack-c2a7e85c6e0c9b04f9fb70c5d4eef9002fc80229.pack (truncated index?)
[✗] Unable to pull Core master branch