Video describes how to use the attached bash script to solve this problem.
Bash Script Link: https://cloud.compumatter.biz/s/o3qjL...
Use of this bash script is done as-is with no warranty of any kind. If you hose your apt pkg system because it is not backed up, that is your responsibility.
I've seen this error way too many times and I've always taken the long way around. Sometimes the VERY long way around. Tonight I decided it's time to stop, do the research and figure out the quickest and best way to the finish line. Next time you see "Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details" reach for this video :-) Bash script in description that solves 2/3rd's of the problem.
Watch video APT-KEY Deprecated - TIME TO FIX THIS - bash script attached online without registration, duration hours minute second in high quality. This video was added by user ServerMatter 20 January 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 401 once and liked it 15 people.