linuxmint / mint21-beta

BETA Bug Squash Rush
16 stars 3 forks source link

[Cinnamon] add-apt-repository ppa... Warning: apt-key is deprecated. #163

Open SebastJava opened 2 years ago

SebastJava commented 2 years ago

Each time i add a PPA, i get this warning:

Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).

And i also get this message in mintUpdate, for every time i click on "Refresh", and for every PPA.

To Reproduce

  1. In the terminal, type: sudo add-apt-repository ppa:inkscape.dev/stable or any other PPA
  2. See warning message

Hardware and mintUpdate

Additional context This is rather annoying because mintUpdate stops on a dialog box about this on every refresh.

spamegg1 commented 2 years ago

Not a bug, this also happens on Ubuntu. They are deprecating apt-key. There is a solution to remove the warnings and increase security: https://forums.linuxmint.com/viewtopic.php?f=42&t=377591 I was able to apply it to all my additional repositories. (Note that the suggestion given in the warning is also considered unsafe.)