ownCloud desktop client for Debian repository with GPG error

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.

The problem is the expired key of the repository.

Update the repository key

I need to update the key of the repository.

List all apt-key keys

The following command should give you an overview of your keys.

apt-key list

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>

Delete expired key

The following command executed with super user permissions will delete the expired key.

apt-key del YYYYYYYY
OK

Add new key

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" [1]
apt-key add - < Release.key
OK

Update package information

We can now update our package informations again without any error.

apt-get update
Next Previous