404 error on admin page after update and more errors trying to fix that

Expected Behaviour:

Update to 4.0 Without Errors

Actual Behavior:

Pi-Hole seems to be functioning but, getting 404 error on Admin page, and the following error when trying to run repair:

Error: Unable to update package cache. Please try "apt-get update"

apt-get error:

Reading package lists... Error!
E: Malformed 3rd word in the Status line
E: Error occurred while processing bind9-host (UsePackage3)
E: Problem with MergeList /var/lib/dpkg/status
E: The package lists or status file could not be parsed or opened.

Debug Token:

sgcjtx75jn

You typically need root privileges to update

sudo apt update
sudo apt upgrade

Here are the results for those commands:

pi@pi-hole:~ $ sudo apt update
Hit http://archive.raspberrypi.org jessie InRelease
Hit http://mirrordirector.raspbian.org jessie InRelease
Hit http://archive.raspberrypi.org jessie/main armhf Packages
Hit http://mirrordirector.raspbian.org jessie/main armhf Packages
Hit http://archive.raspberrypi.org jessie/ui armhf Packages
Hit http://mirrordirector.raspbian.org jessie/contrib armhf Packages
Hit http://mirrordirector.raspbian.org jessie/non-free armhf Packages
Hit http://mirrordirector.raspbian.org jessie/rpi armhf Packages
Ign http://archive.raspberrypi.org jessie/main Translation-en_GB
Ign http://archive.raspberrypi.org jessie/main Translation-en
Ign http://archive.raspberrypi.org jessie/ui Translation-en_GB
Ign http://archive.raspberrypi.org jessie/ui Translation-en
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en
Ign http://mirrordirector.raspbian.org jessie/main Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/main Translation-en
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en
Reading package lists... Error!
E: Malformed 3rd word in the Status line
E: Error occurred while processing bind9-host (UsePackage3)
E: Problem with MergeList /var/lib/dpkg/status
E: The package lists or status file could not be parsed or opened.

pi@pi-hole:~ $ sudo apt upgrade
Reading package lists... Error!
E: Malformed 3rd word in the Status line
E: Error occurred while processing bind9-host (UsePackage3)
E: Problem with MergeList /var/lib/dpkg/status
E: The package lists or status file could not be parsed or opened.

You have an issue with the package lists you are using. Once you fix that issue, then updating should work.

any advise on ow to fix the package list?

I don't touch the raspian at all, I just occasionally run the pihole -up command.

Aslo, is it possible to backup my config without the UI? I 'm thinking it might just be easier for me to reinstall and reload my current config.

OK, So I managed to repair the package list with the instructions on this page:

https://www.raspberrypi.org/forums/viewtopic.php?t=11824

I still have no web UI, and I'm getting the following error when I try to update:

pi@pi-hole:/var/lib/apt $ pihole -up

Error: Core Pi-hole repo is missing from system!
Please re-run install script from https://pi-hole.net
pi@pi-hole:/var/lib/apt $ pihole -v
Pi-hole version is v3.3 (Latest: v4.0)
AdminLTE version is -1 (Latest: v4.0)
FTL version is v4.0 (Latest: v4.0)

Did you try following these directions?

Please re-run install script from https://pi-hole.net

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.