Fix #2800 Update key import method for debian
Fix #2800 Update key import method for debian

Fix #2800 

This is similar to https://github.com/caddyserver/dist/issues/83, so I fixed it by adapting their solution. Tested on fresh Ubuntu 22.04 VPS.
go-swagger/go-swagger,go-swagger/go-swagger