ubuntu

Fix "apt-key is deprecated" warnings

I’m using Ubuntu LTS version on my server. Previously it was 20.04, but after upgrading to 22.04, every time I update the system it reports a bunch of warning messages. Although it doesn’t affect the functionality, there must be something wrong, and as an obsessive-compulsive person I had to find out what it was. I found out that the problem is related to the deprecation of apt-key, and the whole apt signature system has a new configuration scheme.