[✓] Your debug token is: https://tricorder.pi-hole.net/bjuw6nr6a2
Thanks for the help!
Run sudo git status
in the /etc/.pihole
directory.
pi@raspberrypi:/etc/.pihole $ sudo git status
On branch master
Your branch is behind 'origin/master' by 500 commits, and can be fast-forwarded.
(use "git pull" to update your local branch)
nothing to commit, working tree clean
And sudo git status
in /var/www/html/admin
?
pi@raspberrypi:/etc/.pihole $ cd /var/www/html/admin
pi@raspberrypi:/var/www/html/admin $ sudo git status
On branch master
Your branch is up-to-date with 'origin/master'.
nothing to commit, working tree clean
Okay, give pihole -up
another run.
pi@raspberrypi:/var/www/html/admin $ pihole -up
[i] Checking for updates...
[i] Pi-hole Core: update available
[i] Web Interface: up to date
[i] FTL: update available
[i] Pi-hole core files out of date, updating local repo.
[✓] Check for existing repository in /etc/.pihole
[i] Update repo in /etc/.pihole...
: Could not update local repository. Contact support.
I guess I don't mind blowing it away and starting from scratch but it would be nice to know what the issue is.
We're not done yet. Let's try the nuclear option:
cd /
sudo rm -rf /etc/.pihole
sudo git clone https://github.com/pi-hole/pi-hole /etc/.pihole
pihole -up
pi@raspberrypi:/var/www/html/admin $ cd /
pi@raspberrypi:/ $ sudo rm -rf /etc/.pihole
pi@raspberrypi:/ $ sudo git clone https://github.com/pi-hole/pi-hole /etc/.pihole
Cloning into '/etc/.pihole'...
remote: Enumerating objects: 8, done.
remote: Counting objects: 100% (8/8), done.
remote: Compressing objects: 100% (8/8), done.
remote: Total 16922 (delta 0), reused 2 (delta 0), pack-reused 16914
Receiving objects: 100% (16922/16922), 5.62 MiB | 1.38 MiB/s, done.
Resolving deltas: 100% (10567/10567), done.
pi@raspberrypi:/ $ pihole -up
[i] Checking for updates...
[i] Pi-hole Core: up to date
[i] Web Interface: up to date
[i] FTL: update available
[i] FTL out of date, it will be updated by the installer.
[✓] Root user check
.;;,.
.ccccc:,.
:cccclll:. ..,,
:ccccclll. ;ooodc
'ccll:;ll .oooodc
.;cll.;;looo:.
.. ','.
.',,,,,,'.
.',,,,,,,,,,.
.',,,,,,,,,,,,....
....''',,,,,,,'.......
......... .... .........
.......... ..........
.......... ..........
......... .... .........
........,,,,,,,'......
....',,,,,,,,,,,,.
.',,,,,,,,,'.
.',,,,,,'.
..'''.
[i] Existing PHP installation detected : PHP version 7.0.33-0+deb9u7
[i] Performing unattended setup, no whiptail dialogs will be displayed
[✓] Disk space check
[✗] Update local cache of available packages
Error: Unable to update package cache. Please try "apt-get update"
Unable to complete update, please contact Pi-hole Support
What was the result when you ran sudo apt update
[quote="jfb, post:13, topic:31847"]
sudo apt update
pi@raspberrypi:/ $ sudo apt update
Hit:1 http://archive.raspberrypi.org/debian stretch InRelease
Get:2 http://raspbian.raspberrypi.org/raspbian stretch InRelease [15.0 kB]
Hit:3 https://repo.jellyfin.org/raspbian stretch InRelease
Ign:4 https://dev2day.de/pms jessie InRelease
Err:5 https://dev2day.de/pms jessie Release
404 Not Found
Reading package lists... Done
E: The repository 'https://dev2day.de/pms jessie Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
You have mixed packages (Jessie and Stretch), and that one does not exist. I think the Jellyfin source might also cause problems. You will need to clean up the OS install and then Pi-hole can get past this step of the updater.
I would start with looking at your /etc/apt/sources.list per the following guide:
I have a similar problem
pi@raspberrypi:~ $ pihole -up
[i] Checking for updates...
[i] Pi-hole Core: update available
[i] Web Interface: update available
[i] FTL: update available
[i] Pi-hole core files out of date, updating local repo.
[✓] Check for existing repository in /etc/.pihole
[i] Update repo in /etc/.pihole...
: Could not update local repository. Contact support.
I don't have mixed packages and have used pihole -up many times before
Andrew
Cleaned up my sources list and Pihole is now upgraded to 5.0! Thanks for your help!
P
The nuclear option worked for me - thanks!
Also this:
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.