Difference between revisions of "Apt-key adv"

From wikieduonline
Jump to navigation Jump to search
Line 21: Line 21:
 
== Related ==
 
== Related ==
 
* <code>[[curl --silent]] https://packages.gitlab.com/gpg.key | sudo [[apt-key add]] -</code>
 
* <code>[[curl --silent]] https://packages.gitlab.com/gpg.key | sudo [[apt-key add]] -</code>
 +
* <code>[[apt-add-repository]]</code>
  
 
== See also ==
 
== See also ==

Revision as of 18:56, 12 September 2022

apt-key adv --recv-keys
apt-key adv --refresh-keys
apt-key adv --help

Examples

sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xF1656F24C74CD1D8
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

Related

See also

Advertising: