Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apt-get Update error on running playbook #15

Open
stats2909 opened this issue Sep 2, 2021 · 0 comments
Open

Apt-get Update error on running playbook #15

stats2909 opened this issue Sep 2, 2021 · 0 comments

Comments

@stats2909
Copy link

stats2909 commented Sep 2, 2021

Hi, trying to deploy new config to a number of Room Assistant nodes using your ansible playbook to isolate/test potential bugs in the main app. I've followed you instructions (I think) and its worked so far, but now I'm getting the following error across all my nodes:

fatal: [HOSTNAME]: FAILED! => {"changed": false, "msg": "Failed to update apt cache: W:This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details., E:Repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' changed its 'Suite' value from 'stable' to 'oldstable'"}

Id tried an sudo apt-get update command outside of ansible and get the following:

Get:1 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
Hit:2 http://archive.raspberrypi.org/debian buster InRelease
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

I'm sure is something simple, I've had a dig around and whilst I kind of get whats happening, updating the playbook is beyond me and I don't want to mess with the nodes themselves without being sure on the impact of what I'm doing.

Any help to get round this would be hugely appreciated.

As always great work, love what this does! Thanks

EDITED: Hostname not showing in initial error message > updated to "HOSTNAME"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant