Questions tagged [gnupg]
The GNU Privacy Guard (GnuPG) is a free replacement for PGP.
646
questions
1
vote
0
answers
37
views
NO_PUBKEY error of apt update
I'm trying to perform apt-update on ubuntu 22.04 LTS and I get an error
root@kisharra:~# apt update
Hit:1 http://apt.postgresql.org/pub/repos/apt jammy-pgdg InRelease
Hit:2 http://ru.archive.ubuntu....
0
votes
0
answers
45
views
Why does ls -l /etc/apt/trusted.gpg.d list key files twice?
This happens in Xubuntu 22.04.3 LTS.
Look at this:
$ ls -l /etc/apt/trusted.gpg.d
insgesamt 20
-rw-r--r-- 1 root root 392 2024-02-03 17:36 atareao-ubuntu-atareao.gpg
-rw-r--r-- 1 root root 0 2024-...
0
votes
1
answer
65
views
MySQL Installation issues on Ubuntu 22.04
Trying to install MySQL and Workbench on Ubuntu 22.04, issues with GPG key. When running update to see if my changes have had effect I persistently get:
: An error occurred during the signature ...
1
vote
1
answer
95
views
How can I restore /etc/apt/keyrings directory? [duplicate]
I am new to Linux, and when I was trying to install postgresql on my ubuntu 22.04, in one of the steps while adding the necessary gpg key, being not accurate it seems I deleted all the gpg files from /...
1
vote
0
answers
75
views
What is the proper procedure to remove a gpg key from /usr/share/keyrings?
Ubuntu 22.04.4
What is the proper procedure to remove a gpg key from /usr/share/keyrings?
Recently I had need to add repo "http://repos.azulsystems.com/ubuntu stable main" for which I used ...
1
vote
1
answer
97
views
How to delete GPG key and repository? Key is not shown under apt-key
I wanted to install ctop on Ubuntu 22 and added the key and repository. But the repository does not contain a release file and apparently ctop is no longer maintained.
Now I wanted to delete the key ...
-1
votes
1
answer
107
views
Vivaldi PPA: NO_PUBKEY errors
Vivaldi appears to have an issue with managing public keys. Apparently this is due to old keys being present in the local system. Errors displayed similar to:
W: Während der Überprüfung der Signatur ...
0
votes
0
answers
20
views
Is it okay to have the same key for these three files, "pkgs-osrf-archive-keyring.gpg", "gazebo-archive-keyring.gpg"?
I have the same PGP key values for both the above mentioned .gpg files,
this is how it looks
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1
...
0
votes
0
answers
32
views
Is it okay to have a .gpg file under sources.list.d?
I have the following file under sources.list.d
goutham@goutham-11-11:/etc/apt/sources.list.d$ ls
cuda-ubuntu2204-12-3-local.list gazebo-stable.list google-chrome.list obsproject-...
0
votes
0
answers
87
views
Getting an error related to apt-key deprecation [duplicate]
When I tried to run sudo apt update I got the following errors related to NO_PUBKEY 67170598AF249743.
Err:8 https://packages.osrfoundation.org/gazebo/ubuntu-stable jammy InRelease
The following ...
0
votes
0
answers
26
views
sudo apt update: Conflicting values set for option Signed-By regarding source [duplicate]
This is the error I get when running sudo apt update:
goutham@goutham-11-11:/$ sudo apt update
E: Conflicting values set for option Signed-By regarding source http://packages.osrfoundation.org/gazebo/...
0
votes
0
answers
80
views
Error when using the sudo apt-get update command [duplicate]
List of PPAs:
Error output from terminal:
nessie27@nessie27-MS-7A38:~$ sudo apt-get update
[sudo] password for nessie27:
Exist:1 http://ru.archive.ubuntu.com/ubuntu jammy InRelease
Gender:2 http://ru....
1
vote
1
answer
115
views
I cannot get a key in gnupg - file not found
In order to get a software working I need to get a key.
I tried it as a user, then as root, no effect.
Checked with Synaptic if all software for gnupg is there, do not see anything missing.
I build up ...
0
votes
1
answer
79
views
how to prevent *.list files from getting overwritten?
Following the accepted answer to this question, I have adjusted the ppa entry for geogebra to the following entry:
deb [signed-by=/usr/share/keyrings/geogebra.gpg] http://www.geogebra.net/linux/ ...
0
votes
1
answer
758
views
How to Resolve Warning about Key Stored in Legacy trusted.gpg Keyring in apt-get Update? [duplicate]
I'm running into an issue while updating my package lists on Ubuntu. When I run sudo apt-get update, the process completes successfully, but it ends with a warning message about a key being stored in ...
0
votes
0
answers
14
views
Solution for GPG expandrive key error [duplicate]
al intentar ejecutar sudo apt-get update en ubuntu 22, obtengo el siguiente error:
W: Error de GPG: https://packages.expandrive.com/expandrive stable InRelease: Las siguientes firmas no fueron válidas:...
0
votes
0
answers
13
views
docker php image problem with keys [duplicate]
I have problem after upgrading PHP image from 8.0 to PHP image 8.1 and on stackoverflow they sent me there
this is my dockerfile:
FROM php:8.1-apache AS apache
RUN a2enmod rewrite
WORKDIR /bin
...
0
votes
0
answers
15
views
NO_PUBKEY B53DC80D13EDEF05 [duplicate]
When i run sudo apt update i get this error
Err:13 https://packages.cloud.google.com/apt cloud-sdk InRelease
The following signatures couldn't be verified because the public key is not available: ...
0
votes
0
answers
12
views
I added a GPG key but it is not appearing in the key list [duplicate]
I added a new GPG key using this command:
curl -fsSL https://pgp.mongodb.com/server-7.0.asc | \
sudo gpg -o /usr/share/keyrings/mongodb-server-7.0.gpg \
--dearmor
The file is appearing in /usr/...
2
votes
0
answers
3k
views
Randomly get: gpg: keyserver receive failed: Cannot assign requested address
I want to add new repositories on Ubuntu 18.04 and randomly get the following error:
gpg: keyserver receive failed: Cannot assign requested address
Randomly, as in, the same command sometimes works ...
0
votes
1
answer
19
views
Problem with heanet.ie when trying to download gpg keys
Having an issue trying to download gpg security keys from heanet.ie servers on my debian/linux distro when trying to install mariadb as the keys are not signed. Anyone know how to resolve this issue?
0
votes
0
answers
643
views
gpg: My PPA setup is causing DEPRECATION Warning, Manage keyring files in trusted.gpg.d instead
My PPA setup is causing DEPRECATION Warning:
W: http://ppa.launchpad.net/myid/ppa/ubuntu/dists/focal/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION ...
0
votes
1
answer
187
views
"Sending of the message failed" when trying to sign a message with a gpg key (Thunderbird 102.11.2) using a gmail account
I'm trying to troubleshoot why thunderbird may be refusing to send a message when adding a signature to it, but works fine otherwise? Is it possible that gmail is blocking/refusing to process gpg ...
0
votes
0
answers
633
views
apt-key deprecated. Install key without installing gpg?
I know that apt-key is deprecated and want to install kubectl like this:
docker run -it ubuntu:22.04 bash
apt update; apt install gpg curl sudo
curl -s https://packages.cloud.google.com/apt/doc/apt-...
1
vote
1
answer
2k
views
Problem with InfluxDB key causing GPG error during apt update
If I run an apt update, I get this error:
W: An error occurred during the signature verification.
The repository is not updated and the previous index files will be used.
GPG error: https://repos....
0
votes
0
answers
62
views
Unable to upgrade from 22.10 to 23.04 becuase of nvidia gpg key
Every time I try sudo apt update, I get the error, GPG error: https://developer.download.nvidia.com/hpc-sdk/ubuntu/amd64 InRelease: The following signatures couldn't be verified because the public ...
0
votes
0
answers
34
views
I can't get the app store icon
I uninstalled some apps in Ubuntu 20.04 using the app store. After a while I tried to install a new program, but I can't get the app store icon anymore. The system is searching forever, but gives no ...
0
votes
1
answer
391
views
Permission Denied when trying to Install Anaconda Public GPG Key to the Trusted Store
Context:
I'm setting up JupyterHub on an EC2 instance running Ubuntu 22.04 LTS and I'm trying to install the Anaconda Public GPG Key to Trusted Store via the following command:
curl https://repo....
0
votes
0
answers
79
views
Skype - getting rid off cross-signing keys
With a fresh Ubuntu 23.04 installation, I would like to manage all keys in a proper way and get rid off the cross-siging threat.
I've installed Skype simply by:
wget -c https://repo.skype.com/latest/...
1
vote
0
answers
164
views
Can't verify repository GPG signature even though key is installed
I'm facing a warning whenever I try to rur apt update:
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 23F3D4EA75716059
This is a common issue, ...
0
votes
0
answers
337
views
sudo apt-get update gives gpg keyring warning messages
System details
OS - Ubuntu 22.04
Problem
I am running the command sudo apt-get update on my Ubuntu 22.04 in the terminal. But I am getting the gpg keyring warning messages as follows
W: http://...
5
votes
1
answer
5k
views
Unable to Complete MongoDB Install Ubuntu 22.04
I'm following MongoDB's official guide for installing on Ubuntu 22.04, but I'm unable to get past step three. I've tried importing the public key and created the list file. When I attempt to execute ...
3
votes
0
answers
113
views
Help me understand gpg outcome
I am following https://ubuntu.com/tutorials/how-to-verify-ubuntu#1-overview.
to download an Ubuntu ISO file.
I run gpg --keyid-format long --verify SHA256SUMS.gpg SHA256SUMS
and get the following ...
1
vote
0
answers
1k
views
gpg error: can't connect to the agent: IPC connect call failed
I am using Ubuntu 20.04.6 LTS. I am unable to run any gpg commands without using sudo. I can't generate keys, I can't list keys etc. The error message I get is:
gpg: starting migration from earlier ...
1
vote
0
answers
2k
views
Ubuntu 22.04 - connection between adapting to apt-key deprecation and Ubuntu Software and Updates (software-properties-gtk)
With Ubuntu 22.04 and beyond, apt-key has been deprecated and will eventually be removed.
This creates deprecation messages, so to solve this and attempt to improve security, I followed the following ...
0
votes
0
answers
3k
views
Getting a keying error - > Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details [duplicate]
I am new to ubuntu it was working just fine after some time when i tried to update i ran to this error
(base) siddharth@Siddharth:~$ sudo apt update
[sudo] password for siddharth:
Hit:1 http://archive....
0
votes
0
answers
309
views
Customizing LiveCD 22.04 - unable to boot - Squashfs GPG signature / keyring issues
I have spent last few weeks trying to customize Ubuntu LiveCD. Main guide which I follow is https://help.ubuntu.com/community/LiveCDCustomization This produces a modified image, but upon booting a ...
1
vote
1
answer
1k
views
gpg-agent is older than us: how to find "us"?
From what I understand, the gpg-agent is older than us warning happens when the gpg-agent version doesn't match the gpg version, often because there are two gpg-agents installed (and sharing the ...
1
vote
0
answers
106
views
Google Authenticator not giving correct verification code
I'm setting up a google authenticator for a linux image that i'm creating. Every time it gives me a verification code it's different to what my phone gives me.
My question is because this is time ...
0
votes
1
answer
1k
views
GPG - Bad Passphrase when using a signing key
I'm using duplicity (via duplicity-backup.sh https://github.com/zertrin/duplicity-backup.sh - no longer under development or supported, but it's a convenient wrapper for duplicity), which I've been ...
0
votes
1
answer
772
views
How to remove a PubKey
I'm getting the error:
GPG error: file:/var/cudnn-local-repo-ubuntu2004-8.8.0.121 InRelease:
The following signatures couldn't be verified because the public key is not available:
NO_PUBKEY ...
0
votes
0
answers
3k
views
GPG error, but could not update public key
When I ran:
sudo apt-get update
I got these errors:
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://...
0
votes
0
answers
30
views
Opera repo not signed due to GPG error NO_PUBKEY [duplicate]
I am unable to perform software updates on my new Ubuntu 22.04 installation due to the following error/issue:
Warning: GPG error: https://deb.opera.com/opera-stable stable InRelease: The following ...
0
votes
1
answer
1k
views
GPG error on inexistent NO_PUBKEY id
I am facing a common issue on my ubuntu 22.04: can't execute apt-get update successfully because of missing signatures:
Reading package lists... Done
W: GPG error: https://dl.k6.io/deb stable ...
3
votes
0
answers
445
views
Exact commands to replace deprecated `add-apt-repository ppa:<username>/<package>` with gpg, curl, etc
I understand that add-apt-repository is being deprecated because it adds the repo key globally instead of specifically for the package(s) that need it. However, the examples I see on the web don't ...
1
vote
0
answers
20
views
Upgraded from 20.04 to 22.04 on Dell machine and Dell repo no longer has a public key in update [duplicate]
I recently upgraded from 20.04 to 22.04 on a Dell Inspiron. When I ran apt-get update after the upgrade I got the following error:
Get:1 http://dell.archive.canonical.com jammy InRelease [197 kB]
Err:...
1
vote
0
answers
311
views
Problem with Repository and Keys
I wanted to update my I2P software and was following the steps provided in the official I2P website (https://geti2p.net/en/download/debian):
Open a terminal and enter:
sudo apt-add-repository ppa:...
1
vote
1
answer
659
views
apt-key command: What is the difference among '--recv-key', '--recv-keys' and '--recv' options?
For documentation purposes, about the apt-key command in many places I found these two variations:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys PUBKEY
sudo apt-key adv --...
1
vote
0
answers
1k
views
How do I add a gpg key and ppa for mozillavpn without using apt-key or add-apt-repository?
I want to install mozillavpn without using apt-key or add-apt-repository because using those methods leads to deprecation warnings every time you run sudo apt update. If you follow the Mozilla VPN ...
2
votes
1
answer
4k
views
Ubuntu 22.10 : Fix missing GPG Key
On ubuntu 22.10, I am facing this error of missing public key, went through a lot of articles and tried doing everything but still the error remains the same.
Using this command, sudo apt-key adv --...