Skip to content

Instantly share code, notes, and snippets.

@izuolan
Created March 11, 2016 11:20
Show Gist options
  • Save izuolan/d17f2d722f841a598e20 to your computer and use it in GitHub Desktop.
Save izuolan/d17f2d722f841a598e20 to your computer and use it in GitHub Desktop.
修复公钥问题
  • 首先删除用户目录下的.gnupg

  • 然后mv /etc/apt/trusted.gpg.d /etc/apt/trusted.gpg.d.old

  • 最后可以重新导入秘钥sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment