Debian Repository for Qubes says GPG error

Howdy folks,

I’m trying to update the Qubes repository information on my virtual.
I’ve does what it said to do to install the key and all that from the website.
It still says that the signatures couldn’t be verified.

Anyone know what I can do to get the repository active please?

adding [trusted=yes] or using --allow-unauthenticated isn’t doing it either.

Does anyone have the instructions on how to do it correctly please?

Are you trying to add Qubes OS repository to your debian VM not based on a template (installed from ISO)?

You can try this:
Add key:

curl https://keys.qubes-os.org/keys/qubes-release-4.2-debian-signing-key.asc | gpg --dearmor | sudo tee /usr/share/keyrings/qubes-archive-keyring-4.2.gpg

Add sources list:

cat << 'EOF' | sudo tee /etc/apt/sources.list.d/qubes-r4.list
deb [arch=amd64 signed-by=/usr/share/keyrings/qubes-archive-keyring-4.2.gpg ] https://deb.qubes-os.org/r4.2/vm bookworm main
EOF

Hi Drew
It would be helpful if you pointed to wherever you found “what it said
to do”, so we know what it is you have done.

I never presume to speak for the Qubes team. When I comment in the Forum I speak for myself.