E: The repository 'http://repo.mysql.com/apt/debian bookworm InRelease' is not signed.
reference code
4acdea54-5089-40e4-93d5-84a53255cab6
You added the 3rd party repo repo.mysql.com to your system, without adding the key. I am not sure for what reason you need a more recent MySQL than provided by Debian Bookworm, and instead of MariaDB (which I would usually prefer), but if this was intentional, review whichever guide you used to add this repo, and check for a step which adds the related GPG key.
Hi thanks for the swift reply. I installed that because I ran out of ideas reading guides on how to sort this:
Err:1 http://repo.mysql.com/apt/debian bookworm InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4ndsvknsdkjvndkjsvsd (redacted)
You should remove this repository if not needed.
I installed that because I ran out of ideas reading guides on how to sort this:
The repository is the reason for the error, so there must have been another reason you installed it in the first place 😄.
If you hence need it for a particular reason, this should do it:
curl -sSf 'https://repo.mysql.com/RPM-GPG-KEY-mysql-2022' | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/mysql.gpg
But if you do not actually need (a very recent) MySQL, I would remove it. To check which file contains it:
grep -l 'repo.mysql.com' /etc/apt/sources.list.d/*.list
thank you all that solved it, im a complete noob