Eric J Ma's Website

How to solve raspberry pi failing to update because of repository suite value

written by Eric J. Ma on 2022-08-20 | tags: raspberry pi linux til


Today I learned how to solve yet another fairly esoteric issue with apt.

Today I learned a new thing trying to install Tailscale on the Raspberry Pi machine responsible for running Pihole.

Part of the install script involves doing an apt-get update. On running the command, I would get:

E: Repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' changed its 'Suite' value from 'testing' to 'stable'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.

After a bit of digging, I saw a blog post on kraaima.com that describes the solution:

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

This will bypass the error message listed above.

After that, we do an upgrade:

sudo apt-get upgrade

After this, updates & upgrades should resume regular working operation.


Cite this blog post:
@article{
    ericmjl-2022-how-value,
    author = {Eric J. Ma},
    title = {How to solve raspberry pi failing to update because of repository suite value},
    year = {2022},
    month = {08},
    day = {20},
    howpublished = {\url{https://ericmjl.github.io}},
    journal = {Eric J. Ma's Blog},
    url = {https://ericmjl.github.io/blog/2022/8/20/how-to-solve-raspberry-pi-failing-to-update-because-of-repository-suite-value},
}
  

I send out a newsletter with tips and tools for data scientists. Come check it out at Substack.

If you would like to sponsor the coffee that goes into making my posts, please consider GitHub Sponsors!

Finally, I do free 30-minute GenAI strategy calls for teams that are looking to leverage GenAI for maximum impact. Consider booking a call on Calendly if you're interested!