OctoPrint / OctoPi-UpToDate

Latest OctoPi image with OctoPrint already updated to the latest release
GNU General Public License v3.0
58 stars 7 forks source link

The new camera stack image shows an error on `apt update` for apt.octoprint.org #14

Closed foosel closed 8 months ago

foosel commented 8 months ago

The current signing key will go invalid on March 15th. It has thus been rotated to a new one. Sadly this requires a re-import of the public key for apt to recognize the new key (something not on my radar when I created the old key and set it to only one year of runtime).

This manifests in an error like this:

W: GPG error: https://apt.octoprint.org/debian bullseye InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 418208F07AD011A2
E: The repository 'https://apt.octoprint.org/debian bullseye 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.

If you run into this, please enter these commands to re-import the updated public key:

curl -s --compressed "https://foosel.github.io/apt.octoprint.org/octoprint.gpg.key" | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/octoprint.gpg > /dev/null
sudo apt update

The updated key will be valid until March 10th 2034.

Future builds will recognize the updated key out-of-the-box.