Collaboraoffice CODE, Nextcloud - apt error/GPG error

What type of hardware are you using: VPS bought online
What YunoHost version are you running: 12.0.17
What app is this about: collaboraoffice CODE, Nextcloud

Describe your issue

If you get an apt error while try to upgrade collabora, you can try this solution

  1. Login with ssh
  2. sudo -i
  3. cd /usr/share/keyrings
  4. wget http://www.collaboraoffice.com/downloads/gpg/collaboraonline-release-keyring.gpg
  5. cd /etc/apt/sources.list.d/
  6. nano collabora.list
  7. change to:
    deb [signed-by=/usr/share/keyrings/collaboraonline-release-keyring.gpg] https://collaboraoffice.com/repos/CollaboraOnline/CODE-debian11 ./
  8. apt update → no errors
  9. Perform updates with the admin GUI → no errors

Perhaps there’s a more beautiful solution but in my case it works.

Share relevant logs or error messages

W: GPG error: https://collaboraoffice.com/repos/CollaboraOnline/CODE-debian11 ./ InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY D8915E456E7C440E
E: The repository ‘https://collaboraoffice.com/repos/CollaboraOnline/CODE-debian11 ./ InRelease’ is not signed.
N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

2 Likes

Thanks a lot for your post !

I had to do wget https://www.collaboraoffice.com/downloads/gpg/collaboraonline-release-keyring.gpg to work fine, the port 80 seems closed and the download fails otherwise.

Great job !

Thanks alot ! Helped me as well !

Thank you!
That was a good solution, apt works again and apt and app upgrade went super smooth.

Thank you!

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.