Questions tagged [apt-key]
17 questions
29
votes
1 answer
How to identify gpg key IDs so they may be deleted
Upon executing apt-key list, I see a key which I wish to remove.
...
pub rsa2048 2017-11-24 [SC]
3241 413F 3CE0 B919 E82F DCA0 6239 92CF C9A9 7C2C
uid [ unknown] John Doe
sub rsa2048 2017-11-24 [E]
...
man…
user1032531
- 1,877
- 6
- 29
- 35
22
votes
2 answers
Now that apt-key is deprecated, how do you add an Ubuntu PPA as a Debian APT source?
Background
In the past, if you wanted to install software from an Ubuntu PPA in Debian, the approach was to
import/trust the developer's GPG key from keyserver.ubuntu.com,
$ sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com…
Ryan Lue
- 996
- 2
- 9
- 20
6
votes
3 answers
How to install pgAdmin 4 on Linux Mint
I'm running Linux Mint 19 Tara, and trying to follow the instructions here with the goal of installing pgAdmin4 as a desktop app. There seems to be a problem involving the authentication of the repository.
The apt-key step seems to work, as I…
ShapeOfMatter
- 181
- 1
- 1
- 6
5
votes
2 answers
Migrating away from apt-key adv
I have quite some scripts that are still using the apt-key adv command. And I know this command is deprecated. And soon becoming unable to use.
Correct me if I'm wrong, but Debian 11 is the last Debian version supporting apt-key.
I also know we need…
Melroy van den Berg
- 173
- 9
4
votes
1 answer
repo.skype.com/deb/dists/stable/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION
The following warning message appears during my apt-get update && apt-get upgrade procedure on Linux Mint 21:
W: https://repo.skype.com/deb/dists/stable/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the…
Vlastimil Burián
- 27,586
- 56
- 179
- 309
3
votes
2 answers
Can't upgrade Jenkins on Debian11, the public key is not available: NO_PUBKEY FCEF32E745F2C3D5
I try to upgrade jenkins.
I use the new way to use gpg keys:
wget https://pkg.jenkins.io/debian-stable/jenkins.io.key
gpg --dearmor jenkins.io.key
mv jenkins.io.key.gpg /usr/share/keyrings/jenkins-keyring.asc
cat…
Mévatlavé Kraspek
- 479
- 4
- 15
3
votes
1 answer
What are the keyid and finguerprint of a public key in gpg and apt-key?
https://superuser.com/a/931814/ says
Here follows an example command to use the GnuPG package's gpg command
to receive a key (-recv-keys) with the fingerprint 7CE8FC69BE118222:
$ gpg --recv-keys 7CE8FC69BE118222
Are a key and its fingerprint…
Tim
- 98,580
- 191
- 570
- 977
2
votes
1 answer
I am suddenly getting " Unknown error executing apt-key" when attempting to update my system
I have been able to update my system and suddenly I am getting an error
Unknown error executing apt-key
and I have no idea what caused it. Also when I attempt any query of the key I get an error
/usr/bin/apt-key: 710: touch: Too many levels of…
bdaniel
- 21
- 1
- 2
2
votes
1 answer
How can a public key contain several public keys with GPG (or what am I doing wrong)?
I'm setting up some Ubuntu servers. I received from another sysadmin a key to be added (call it somekey.pub) for apt package verification on in-house packages.
Adding this key with apt-key add somekey.pub results in TWO additional entries showing…
Wildcard
- 35,316
- 26
- 130
- 258
2
votes
1 answer
Verify gpg key from stdin
I'm using these commands in a Dockerfile to add the LLVM Ubuntu package repository:
RUN echo deb http://apt.llvm.org/artful/ llvm-toolchain-artful-6.0 main > \
/etc/apt/sources.list.d/llvm.list && \
wget -O -…
Björn Pollex
- 153
- 7
1
vote
1 answer
no public key on debian 11 unable to apt update
I've tried all methods published in older questions, such as adding from ubuntu.keyserver, using gpg, from hkp://pool.sks-keyservers.net:80 etc, any ideas ¿?
gpg:
gpg --recv-keys 0E61D3BBAAEE37FE
gpg: recepción del servidor de claves fallida: No…
ser356
- 58
- 9
1
vote
1 answer
Update php key debian/ubuntu
How I can renew php key in apt ? the one I'm using is almost expired.
I've tried to use https://packages.sury.org/php/apt.gpg but it will also expire on 2021-03-17.
BOUKANDOURA Mhamed
- 328
- 3
- 13
1
vote
2 answers
How to locate an URL that serves public GPG key for a package repository?
When I install [email protected] and [email protected] in my Debian Jessie docker image with
apt-get install -y software-properties-common && \
add-apt-repository 'deb http://archive.ubuntu.com/ubuntu trusty universe' && \
apt-get install -y mysql-server-5.6…
Hirurg103
- 111
- 1
- 4
1
vote
1 answer
apt key management failure any full online solution or key download method
Using a Debian9 server, behind a proxy, I need to install a docker client.
So to get a key I use the commands:
apt-key adv --keyserver http://WHATEVERKEYSERVERITRY --keyserver-options http-proxy="http://proxy.myclientdomain:4128" --recv-keys…
francois P
- 1,219
- 11
- 27
0
votes
1 answer
apt-key: gpg: conversmon from '�t�-8' to &UTF-8' not evailable
If i run sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1655A0AB68576280
i get gpg: conversmon from '�t�-8' to &UTF-8' not evailable. segmentation fault
(This is the original message copy-pasted)
Edit: If i execute gpg i get the same…
mkcdu
- 11
- 1