Closed cminton-hub closed 7 months ago
There is also no data on ubuntu keyserver.
There is a possible solution to this problem (worked for me) posted on the OctoPrint forum @ https://community.octoprint.org/t/apt-update-doesnt-work-and-getting-no-public-key/57618
Hope this helps, Steve
@shofeur Thank you for pointing out the solution. I have been looking for the solution for hours. The question in the forum was asked after my search and so I couldn't find it. Apparently I was one of the first to not be able to solve the problem myself :D
SOLUTION: curl -s --compressed "https://apt.octoprint.org/octoprint.gpg.key" | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/octoprint.gpg > /dev/null
https://apt.octoprint.org/
Not the only one ;) I just was stubborn enough to look yesterday and someone finally had posted something that worked! Glad I could help.
Steve
What were you doing?
Tried to install influxdb2 on an octopi image to only have one pi running in the household.
What did you expect to happen?
What happened instead?
`Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease
Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease Get:3 https://apt.octoprint.org/debian bullseye InRelease [4,067 B] Hit:4 https://repos.influxdata.com/debian stable InRelease
Err:3 https://apt.octoprint.org/debian bullseye InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 418208F07AD011A2 Reading package lists... Done W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. 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 W: Failed to fetch https://apt.octoprint.org/debian/dists/bullseye/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 418208F07AD011A2 W: Some index files failed to download. They have been ignored, or old ones used instead. Reading package lists... Done Building dependency tree... Done Reading state information... Done E: Unable to locate package influxdb2`
Did the same happen when running OctoPrint in safe mode?
Doesn't matter.
Version of OctoPi
See supportbundle (system info zip) octoprint-systeminfo-20240322211219.zip
Use: https://bundleviewer.octoprint.org/
Printer model & used firmware incl. version
Doesn't matter
Screenshot(s)/video(s) showing the problem:
I have read the FAQ.