root@DESKTOP-7EA9N91:/etc/apt/sources.list.d# sudo apt-get install apt-transport-https ca-certificates curl gnupg2 software-properties-common
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
Note, selecting ‘apt’ instead of ‘apt-transport-https’
Package gnupg2 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package ‘gnupg2’ has no installation candidate
执行失败,已将gnupg2替换为gnupg安装成功,咨询一下是否有影响?没有影响建议更新社区文档。