Unable to complete update, please contact Pi-hole Support

Expected Behaviour:

Update finishes successfully

Actual Behaviour:

[✗] Update local cache of available packages
Error: Unable to update package cache. Please try "sudo apt update"

Unable to complete update, please contact Pi-hole Support

Debug Token:

https://discourse.pi-hole.net

Troubleshooting undertaken, and/or other relevant information:

Searched several related Raspbian updates, including

But both doesn't work.

Did you try

What's the output?

Here's the output

Hit:1 http://archive.raspberrypi.org/debian buster InRelease
Get:2 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
Get:3 http://dl.mt-aws.com/debian/current wheezy InRelease [13.9 kB]
Get:4 http://raspbian.raspberrypi.org/raspbian buster/main Sources [11.4 MB]
Err:3 http://dl.mt-aws.com/debian/current wheezy InRelease
  The following signatures were invalid: 2C00B003A56C5F2A75C44BF82A6E0307D0FF5699
Get:5 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages [13.0 MB]                                                                                                                                                 
Reading package lists... Done                                                                                                                                                                                                       
W: GPG error: http://dl.mt-aws.com/debian/current wheezy InRelease: The following signatures were invalid: 2C00B003A56C5F2A75C44BF82A6E0307D0FF5699
E: The repository 'http://dl.mt-aws.com/debian/current wheezy InRelease' is not signed.
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 will need to clean up your apt repositories. You are running a combination of Buster and Wheezy sources. Wheezy is way out of date (last supported years ago):

Debian 9.0 codename Stretch releases, Wheezy becomes oldoldstable (17 June 2017; 4 years ago)
Wheezy long term support reached end-of-life (1 June 2018; 3 years ago)
Wheezy extended long term support reached end-of-life (30 June 2020; 22 months ago)

Until apt update completes normally, the Pi-hole updater won't continue.

Thanks for the hint. Having commented the line within the file mt-aws.list in /etc/apt/sources.list.d directory that's pointing to a wheezy distribution has made the upgrade successful.

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