Cannot remove Trusted Software Provider keys

Asked by Elias K Gardner

Ubuntu 17.10 using Wayland

Open Software & Updates, and go to the Authentication tab.
Select a trusted software provider key and click remove.
Enter admin password.
The key is never removed.

Using apt-key del returns OK but the key is still not deleted.

I can't for the life of me figure out what package Software & Updates is. Neither ubuntu-bug -w or xprop WM_CLASS will select the Software & Updates window, there does not seem to be properties for gnome launchers anymore and the ubuntu software center does not give package names.

Whats going on?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu software-properties Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

You can rely to terminal for list current trusted software provider, by:

sudo apt-key list

Now find your key that you want to remove, when you finish searching, run following command:

sudo apt-key del (keyid)

Where (keyid) is the actual keyid of your corresponding trusted software providers.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

For example:

Liso@thinkpad:~$ apt-key list
/etc/apt/trusted.gpg.d/nowrep-qupzilla.gpg
------------------------------------------
pub 1024R/7A2DA9DB 2011-12-05
uid Launchpad PPA for David Rosca

/etc/apt/trusted.gpg.d/ppsspp-stable.gpg
----------------------------------------
pub 4096R/ED0F784C 2014-08-02
uid Launchpad PPA for PPSSPP
Liso@thinkpad:~$ sudo apt-key del ED0F784C
[sudo] password for Liso:

Revision history for this message
Elias K Gardner (zorkerz) said :
#3

As I tried to say in my original question using 'sudo apt-key del (keyid)' returns OK but no key is deleted.

Revision history for this message
Elias K Gardner (zorkerz) said :
#4

Oh I figured out my apt-key del problem. I was not using the correct keyid.

Mine looks a bit different than yours do actionparsnip. For example:
pub rsa4096 2012-05-11 [SC]
      8439 38DF 228D 22F7 B374 2BC0 D94A A3F0 EFE2 1092
uid [ unknown] Ubuntu CD Image Automatic Signing Key (2012) <email address hidden>

The keyid is '8439 38DF 228D 22F7 B374 2BC0 D94A A3F0 EFE2 1092'

Either way, this is just a workaround. Why doesn't the gui remove button in Software & Updates work? I wonder if it has to do with wayland. Maybe there is a bugreport about this already I couldn't find it and don't know what package Software & Updates is from to search for it.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

I don't know. I don't use the GUI stuff in Ubuntu much. I use the terminal a lot

You could report a bug.

If you add the key back in, can you now remove it with the GUI?

Revision history for this message
Elias K Gardner (zorkerz) said :
#6

No, they still cannot be removed from the GUI.

I actually tried to report as a bug originally but stopped when I could not figure out what software package is.

Revision history for this message
Elias K Gardner (zorkerz) said :
#7

No, they still cannot be removed from the GUI.

I actually tried to report as a bug originally but stopped when I could not figure out what software package is.

Revision history for this message
Manfred Hampl (m-hampl) said :
#8

I assume that you are talking about the program software-properties-gtk with the bug tracker being https://launchpad.net/ubuntu/+source/software-properties/+filebug

Revision history for this message
Elias K Gardner (zorkerz) said :
#9

Thanks, Manifred that appears to be it. How could I have figured that out myself?

Can you help with this problem?

Provide an answer of your own, or ask Elias K Gardner for more information if necessary.

To post a message you must log in.