I am running the ownCloud desktop client 2.2.3 for Debian 8, jessie. Since a while the client shows me that version 2.3.1 is available, but unfortunately did I get the following error if I want to update the client.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://download.opensuse.org Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY XXXXXXXXXXXXXXXX
W: Failed to fetch http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Debian_8.0/Release
W: Some index files failed to download. They have been ignored, or old ones used instead.
The problem is the expired key of the repository.
I need to update the key of the repository.
The following command should give you an overview of your keys.
XXXXX/YYYYYYYYis just a placeholder in this post.
And one of the entries in the output of the command should contain something like this.
pub XXXXX/YYYYYYYY 2012-02-08 [expired: 2017-04-19] uid isv:ownCloud OBS Project <isv:ownCloud@build.opensuse.org>
The following command executed with super user permissions will delete the expired key.
apt-key del YYYYYYYY OK
We will add a new key for the repository the same way as mentioned here. Again with super user permissions.
wget -nv http://download.opensuse.org/repositories/isv:ownCloud:desktop/Debian_8.0/Release.key -O Release.key 2017-04-21 14:35:48 URL:http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Debian_8.0/Release.key [1098/1098] -> "Release.key"  apt-key add - < Release.key OK
We can now update our package informations again without any error.