Skip to content

SHANER.LIFE

  • TOOLS
    • Encrypted Pastebin
    • Passphrase Generator
    • Password Generator
    • Wordlists
  • RESOURCES
    • Youtube Channel
    • Great Curation
  • shane@shaner.life

Tag: debian

Key is stored in legacy trusted.gpg keyring

apt-key has been deprecated. Here’s a quick one-liner to fix the annoying message during apt-get update . Ideally, you’d want to pluck out each key using apt-key list then apt-key export <id> placing each key in it’s own file under /etc/apt/trusted.gpg.d.

sudo apt-key --keyring /etc/apt/trusted.gpg exportall | \
sudo tee  /etc/apt/trusted.gpg.d/all_keys.asc
Author shanerPosted on July 18, 2022July 22, 2022Categories How toTags apt-get, debian, ubuntuLeave a comment on Key is stored in legacy trusted.gpg keyring

Recent Posts

  • The Little known SSH ForceCommand
  • Slow iSCSI performance on ZFS Volumes (zvol)
  • Finding Idle Cloud Desktops (Linux)
  • Create SSL Cert and Key
  • Key is stored in legacy trusted.gpg keyring

acme advice alix apt-get bash bhyve bro certificates containers curtin debian dhcp dnsmasq elasticsearch freebsd hashicorp how-to iscsi kubernetes letsencrypt linux lxd maas networking nfs nsm openssl pfsense security smartos ssh syncthing tls ubuntu unix vault virtual-machines vm vm-bhyve vnc windows xorg xprintidle zfs zones

Archives

  • January 2023
  • August 2022
  • July 2022
  • May 2022
  • March 2022
  • September 2020
  • June 2019
  • April 2019
  • February 2019
  • January 2019
  • December 2018
  • September 2018
  • July 2018
  • March 2018
  • January 2018
  • December 2017
  • May 2017
  • July 2016

Categories

  • General
  • How to
  • TOOLS
    • Encrypted Pastebin
    • Passphrase Generator
    • Password Generator
    • Wordlists
  • RESOURCES
    • Youtube Channel
    • Great Curation
  • shane@shaner.life
SHANER.LIFE Proudly powered by WordPress