Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs/install.rst: do GPG key setup before setting sources for debian #357

Merged
merged 1 commit into from
Oct 23, 2023

Conversation

baprusty
Copy link
Contributor

Fixes GPG warning observed while performing 'apt update' operation:
GPG error: https://apt.fury.io/mtda InRelease: The following signatures couldn't be verified because the public key is not available

Signed-off-by: Badrikesh Prusty [email protected]

Apt warning observed:

badrikesh@debian:~$ sudo apt update
Hit:1 http://deb.debian.org/debian bookworm InRelease
Hit:2 http://security.debian.org/debian-security bookworm-security InRelease
Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
Hit:4 http://deb.debian.org/debian bookworm-backports InRelease
Get:5 https://apt.fury.io/mtda  InRelease [1,975 B]
Ign:5 https://apt.fury.io/mtda  InRelease
Get:6 https://apt.fury.io/mtda  Packages [228 kB]
Fetched 230 kB in 3s (87.6 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
2 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: GPG error: https://apt.fury.io/mtda  InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C8F9D89C247C0257

After adding gpg key:

badrikesh@debian:~$ ls -l /etc/apt/keyrings
total 4
-rw-r--r-- 1 root root 2265 Oct 23 03:45 mtda.gpg
badrikesh@debian:~$ cat /etc/apt/sources.list.d/mtda.list
deb [arch=amd64 signed-by=/etc/apt/keyrings/mtda.gpg] https://apt.fury.io/mtda/ /

badrikesh@debian:~$ sudo apt update
Hit:1 http://deb.debian.org/debian bookworm InRelease
Hit:2 http://security.debian.org/debian-security bookworm-security InRelease
Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
Hit:4 http://deb.debian.org/debian bookworm-backports InRelease
Get:5 https://apt.fury.io/mtda  InRelease [1,975 B]
Fetched 1,975 B in 1s (1,446 B/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
2 packages can be upgraded. Run 'apt list --upgradable' to see them.
badrikesh@debian:~$

Fixes GPG warning observed while performing 'apt update' operation:
GPG error: https://apt.fury.io/mtda  InRelease: The following signatures couldn't be verified because the public key is not available

Signed-off-by: Badrikesh Prusty <[email protected]>
@chombourger chombourger merged commit 10be26e into siemens:master Oct 23, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants