Difference between revisions of "Apt-key adv"

From wikieduonline
Jump to navigation Jump to search
Line 9: Line 9:
 
== Examples ==
 
== Examples ==
 
  <code>sudo [[apt-key]] adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xF1656F24C74CD1D8</code>
 
  <code>sudo [[apt-key]] adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xF1656F24C74CD1D8</code>
 
[[apt-key adv --keyserver]] keyserver.ubuntu.com --recv-keys 3F01618A513
 
gpg: 3F01618A513 not a key ID: skipping
 
 
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys DA418C88A3219F7B
 
Warning: [[apt-key is deprecated]]. Manage keyring files in [[trusted.gpg.d]] instead (see apt-key(8)).
 
Executing: /tmp/apt-key-gpghome.sWTGbEDF6I/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys DA418C88A3219F7B
 
gpg: key DA418C88A3219F7B: public key "HashiCorp Security (HashiCorp Package Signing) <[email protected]>" imported
 
gpg: Total number processed: 1
 
gpg:              imported: 1
 
  
 
  [[apt-key adv --refresh-keys]]
 
  [[apt-key adv --refresh-keys]]

Revision as of 13:00, 28 October 2022

apt-key adv --recv-keys
apt-key adv --refresh-keys
apt-key adv --keyserver
apt-key adv --help
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys C208ADDE26C2B797

Examples

sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xF1656F24C74CD1D8
apt-key adv --refresh-keys

Related

See also

Advertising: