tiny-pilot / tinypilot

Use your Raspberry Pi as a browser-based KVM.
https://tinypilotkvm.com
MIT License
2.99k stars 250 forks source link

Bring back --allow-releaseinfo-change-suite #1630

Closed mtlynch closed 11 months ago

mtlynch commented 11 months ago

In #776, we added the --allow-releaseinfo-change-suite to avoid erroring out if the Raspbian apt repo changed suite names.

In #1604, we deleted the apt update command entirely, as it seemed unnecessary after deleting Ansible.

In #1623, we brought back the apt update command, but we left off the flag we were previously using.

In recent installs, I'm seeing this warning:

4 packages can be upgraded. Run 'apt list --upgradable' to see them.
N: Repository 'http://raspbian.raspberrypi.org/raspbian bullseye InRelease' changed its 'Suite' value from 'stable' to 'oldstable'
Reading package lists... Done

For the sake of preserving longstanging behavior, I think we should bring back the --allow-releaseinfo-change-suite flag.

Review on CodeApprove

mtlynch commented 11 months ago
Automated comment from CodeApprove ➜

⏳ @jdeanwallace please review this Pull Request