linuxmint / mint21.1-beta

BETA Bug Squash Rush
7 stars 0 forks source link

PPA : add PPA doesn't work #20

Closed letuxmasque closed 1 year ago

letuxmasque commented 1 year ago

Added a PPA doesn't work (GUI and CLI). The key is not imported correctly: erreur ppa dans mintupdate

erreur ajout ppa cli

mdevansh06 commented 1 year ago

This is a problem in mint vanessa as well an ubuntu jammy due to ubuntu migrating to trusted.gpg.d from trusted.gpg. You may need to add the key yourself with sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com <missing-key>. This will add the key to trusted.gpg and apt will still show a warning for key stored in legacy trusted.gpg. See here!

letuxmasque commented 1 year ago

@mdevansh06 apt-key is deprecated. So in Linux Mint 21.1, the way to import the key is changing, and it will be directly import in /etc/apt/keyrings/ as recommended by Debian. Like that you don't need to import the key manually. @clefebvre announced in a blog post this change will be backported in vanessa too.

callagg2 commented 1 year ago

ah glad i wasn't doing anything wrong then, I had this issue also with adding PPAs - even through the Software Sources application.

clefebvre commented 1 year ago

Fixed in mintsources 2.2.1

mdevansh06 commented 1 year ago

Will this affect adding ppa by mintsources only or also fix the issue for add-apt-repository?

letuxmasque commented 1 year ago

The tests I have done after upgrade to mintsources 2.2.1 solve the issue on both.

callagg2 commented 1 year ago

agreed, working fine for me now in Software Sources