Difference between revisions of "Apt-key"

From wikieduonline
Jump to navigation Jump to search
(Created page with " 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://k...")
 
 
(17 intermediate revisions by 4 users not shown)
Line 1: Line 1:
  sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xF1656F24C74CD1D8
+
{{lowercase}}
 +
 
 +
* <code>[[apt-key --help]]</code>
 +
* <code>[[apt-key add]]</code>
 +
* <code>[[apt-key adv]]</code>
 +
* <code>[[apt-key list]]</code>
 +
* <code>[[apt-key update]]</code>
 +
 
 +
== Examples ==
 +
  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
 
  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
  
  
  gpg: key F1656F24C74CD1D8: 6 signatures not checked due to missing keys
+
  sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys C208ADDE26C2B797
  gpg: key F1656F24C74CD1D8: public key "MariaDB Signing Key <signing-key@mariadb.org>" imported
+
  gpg: key C208ADDE26C2B797: public key "Hewlett Packard Enterprise Company RSA-2048-25 <signhp@hpe.com>" imported
 
  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 ==
 +
* <code>[[apt update]]</code>
 +
* <code>[[apt-key add]]</code>
  
 
== See also ==
 
== See also ==
 +
* {{apt-key}}
 
* {{APT}}
 
* {{APT}}
  
 
[[Category:Software]]
 
[[Category:Software]]
 +
[[Category:APT]]

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: