$ echo deb http://nginx.org/packages/debian/ buster nginx | sudo tee /etc/apt/sources.list.d/nginx.list
注:主线版本源为 deb http://nginx.org/packages/mainline/debian/ buster nginx
$ apt install gnupg2
$ wget http://nginx.org/keys/nginx_signing.key && sudo apt-key add nginx_signing.key
$ sudo apt update && apt install nginx -y
解决: 强制覆盖改文件