Can't update to FTL 5.9 Final: "Error: Unable to update package cache."

Please follow the below template, it will help us to help you!

Expected Behaviour:

Raspberry PI 3B+, as always log into the console and run pihole -up

Actual Behaviour:

Pi-hole and web interface update regularly but when trying to update FTL from 5.8.1 to 5.9 this error message pops up

[✗] Update local cache of available packages
Error: Unable to update package cache. Please try "sudo apt-get update"
Unable to complete update, please contact Pi-hole Support

Upon trying to run sudo apt-get update this message is shown:
Reading package lists... Done
E: Repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' changed its 'Suite' value from 'stable' to 'oldstable'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.

Haven't gone beyond this point to avoid mistakes.

Debug Token:

https://tricorder.pi-hole.net/QA0SBCS6/

2 Likes

That's an issue with updating your OS rather than with Pi-hole:
Your OS is informing you that the repository is now oldstable.

Answering [y]es to that question or running

sudo apt-get update --allow-releaseinfo-change

should allow your OS to reflect that change and continue.

2 Likes

Thanks a lot, that did indeed work. A nice day to you sir!

BTW is this going to be an issue mid-long term? Is there any OS update without touching pi-hole guide available?

Thanks again,
Alessio

If you look for information how to upgrade your OS including or how to switch to a new release, you'd have to refer to your respective OS's documentation and support.

Since you seem to be using Raspberry Pi OS, note that the latest Raspberry Pi OS image as available from raspberrypi.org is still dating from May 7th 2021, so Buster still. Also, note that he RPi Foundation discourages in-place upgrades to new releases. That probably means starting with a fresh image of Raspberry Pi OS 11/Bullseye once that is released.

All very clear, thanks again!

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