Difference between revisions of "Apt-key"

From wikieduonline
Jump to navigation Jump to search
 
(One intermediate revision by one other user not shown)
Line 22: Line 22:
 
  gpg: Total number processed: 1
 
  gpg: Total number processed: 1
 
  gpg:              imported: 1
 
  gpg:              imported: 1
 +
 +
== [[Deprecation]] ==
 +
W: https://apt.releases.hashicorp.com/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
 +
 +
Warning: apt-key is deprecated. Manage keyring files in [[trusted.gpg.d]] instead (see apt-key(8)).
  
 
== Related commands ==
 
== Related commands ==

Latest revision as of 10:46, 8 December 2023

Examples[edit]

sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xF1656F24C74CD1D8
Executing: /tmp/apt-key-gpghome.RAaH5cV15V/gpg.1.sh --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xF1656F24C74CD1D8
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 6494C6D6997C215E
gpg: key F1656F24C74CD1D8: 6 signatures not checked due to missing keys
gpg: key F1656F24C74CD1D8: public key "MariaDB Signing Key <[email protected]>" imported
gpg: Total number processed: 1
gpg:               imported: 1


sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys C208ADDE26C2B797
gpg: key C208ADDE26C2B797: public key "Hewlett Packard Enterprise Company RSA-2048-25 <[email protected]>" imported
gpg: Total number processed: 1
gpg:               imported: 1

Deprecation[edit]

W: https://apt.releases.hashicorp.com/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).

Related commands[edit]

See also[edit]

Advertising: