Gpg: invalid key resource URL '/etc/apt/trusted.gpg.d/isv:ownCloud:desktop.gpg'

After upgrade to ubuntu20, whenever I try to add another key, I get this error:

gpg: invalid key resource URL '/etc/apt/trusted.gpg.d/isv:ownCloud:desktop.gpg'
gpg: Schlüsselblockhilfsmittel`(null)': Allgemeiner Fehler
gpg: key 4ABE1AC7557BEFF9: 1 Beglaubigung wegen fehlendem Schlüssel nicht geprüft
gpg: key 3B4FE6ACC0B21F32: 3 Beglaubigungen wegen fehlender Schlüssel nicht geprüft
gpg: key D94AA3F0EFE21092: 3 Beglaubigungen wegen fehlender Schlüssel nicht geprüft
gpg: key 871920D1991BC93C: 1 Beglaubigung wegen fehlendem Schlüssel nicht geprüft
gpg: key 8881B2A8210976F2: 1 Beglaubigung wegen fehlendem Schlüssel nicht geprüft
gpg: Anzahl insgesamt bearbeiteter Schlüssel: 10
gpg:       ignorierte neue Schlüssel: 10

I found this thread which covers a similar issue, but I’m not sure whether it’s actually the same…

OC desktop client works fine, but I’m not sure whether it blocks me from installing other software (trying pgAdmin4).

Cheers,
Wolf

@herrdeh where did you install from? Could you post all steps?

Ah sorry.
I followed this instructions at SuSE:

echo 'deb http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Ubuntu_20.04/ /' | sudo tee /etc/apt/sources.list.d/isv:ownCloud:desktop.list
curl -fsSL https://download.opensuse.org/repositories/isv:ownCloud:desktop/Ubuntu_20.04/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/isv:ownCloud:desktop.gpg > /dev/null
sudo apt update
sudo apt install owncloud-client

I have exactly the same problem. I have only ever had problems with Owncloud repositories in the 10 years plus that I have been using it on Linux. Why is this? I always install as per the instructions on opensuse, yet I always get problems like this at some stage down the line.
Please Owncloud sort this out once and for all. It’s the only thing letting this product down.

Hey,

if there are problems with the ownCloud repositories some one of ownCloud needs to get active then i think you could create an issue at https://github.com/owncloud/client/issues

I’m always recommending to open an issue at the github bugtrackers because i’m not sure if the ownCloud people will notice this topic. :frowning_face:

Bug issued HERE.

2 Likes

HERE is the solution:

My workaround was rename "/etc/apt/ **trusted.gpg.d/isv:ownCloud:desktop.gpg** " to "/etc/apt/trusted.gpg.d/ **isv-ownCloud-desktop.gpg** "

It works for me on 2 machines, so I’d say it’s more than a “workaround”.
Many thanks to Mr. “jferradans”.

Cheers,
Wolf

1 Like

SUSE fixed the instructions. They now use isv_ownCloud_desktop.gpg instead of isv:ownCloud:desktop.gpg