GPG Error (Ubuntu 18.04 / 16.04 / ...)

Steps to reproduce

  1. Ubuntu 18.04, apt-get update

Expected behaviour

No error when updating the apt repo.

Actual behaviour

A GPG error occurs when updating the APT Repos. Also a new insertion of the key by means of:

wget -nv https://download.owncloud.org/download/repositories/production/Ubuntu_18.04/Release.key -O Release.key
apt-key add - < Release.key

will have the same result.

Ign:1 https://attic.owncloud.org/download/repositories/production/Ubuntu_18.04  InRelease
Holen:6 https://download.owncloud.org/download/repositories/production/Ubuntu_18.04  Release [980 B]
Holen:7 https://download.owncloud.org/download/repositories/production/Ubuntu_18.04  Release.gpg [481 B]
Ign:7 https://download.owncloud.org/download/repositories/production/Ubuntu_18.04  Release.gpg
Paketlisten werden gelesen... Fertig
W: GPG-Fehler: https://download.owncloud.org/download/repositories/production/Ubuntu_18.04  Release: Die folgenden Signaturen waren ungültig: BADSIG 47AE7F72479BC94B ownCloud build service <obsrun@localhost>
E: Das Depot »http://download.owncloud.org/download/repositories/production/Ubuntu_18.04  Release« ist nicht signiert.
N: Eine Aktualisierung von solch einem Depot kann nicht auf eine sichere Art durchgeführt werden, daher ist es standardmäßig deaktiviert.

Server configuration

Operating system: Ubuntu 18.04 Server

Web server: Apache 2.4.29-1ubuntu4.13

ownCloud version: 10.4.1

Hi, can you tell me from which version you are trying to upgrade?

This can go in to the steps to reproduce, so that we have a clear state and a goal.

It’s in my actual posting. -> 10.4.1

However, the problem is not the upgrade prozess, but updating the APT repository.

not sure i need a new topic for this but 16.04 has the same issue.
apt-get update results in the same error

W: An error occurred during the signature verification. The repository is not updated and the 
previous index files will be used. GPG error: 
https://download.owncloud.org/download/repositories/production/Ubuntu_16.04  Release: The 
following signatures were invalid: BADSIG 47AE7F72479BC94B ownCloud build service 
W: Failed to fetch 
http://download.owncloud.org/download/repositories/production/Ubuntu_16.04/Release.gpg  The 
following signatures were invalid: BADSIG 47AE7F72479BC94B ownCloud build service

I’m having the same exact issue on a normal apt-get update:

Err:8 https://download.owncloud.org/download/repositories/production/Ubuntu_18.04  Release.gpg
  The following signatures were invalid: BADSIG 47AE7F72479BC94B ownCloud build service <obsrun@localhost>
Fetched 1,461 B in 3s (466 B/s)
Reading package lists... Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://download.owncloud.org/download/repositories/production/Ubuntu_18.04  Release: The following signatures were invalid: BADSIG 47AE7F72479BC94B ownCloud build service <obsrun@localhost>
W: Failed to fetch http://download.owncloud.org/download/repositories/production/Ubuntu_18.04/Release.gpg  The following signatures were invalid: BADSIG 47AE7F72479BC94B ownCloud build service <obsrun@localhost>
W: Some index files failed to download. They have been ignored, or old ones used instead

Server Configuration:
OS Version = Ubuntu 18.04.4 LTS
Kernel Version = 4.15.0-112-generic
Apache Version = Apache/2.4.29 (Ubuntu)
ownCloud Version = 10.4.1.3

More threads:


Same error with Debian 9 and owncloud 10.4.1
Ref: Gpg apt error - BADSIG

ownCloud is working on this see

2 Likes