Setting up GPG key for OnlyOffice…
gpg: keyring ‘/tmp/onlyoffice.gpg’ created
gpg: /root/.gnupg/trustdb.gpg: trustdb created
gpg: key 8320CA65CB2DE8E5: public key “Ascensio System Limited (ONLYOFFICE) support@onlyoffice.com” imported
gpg: Total number processed: 1
gpg: imported: 1
Adding OnlyOffice repository…
deb [signed-by=/usr/share/keyrings/onlyoffice.gpg] https://download.onlyoffice.com/repo/debian squeeze main
Updating package lists…
Hit:1 Index of /ubuntu noble InRelease
Hit:2 Index of /ubuntu noble-security InRelease
Hit:3 Index of /ubuntu noble-updates InRelease
Hit:4 Index of /ubuntu noble-backports InRelease
Ign:5 https://download.onlyoffice.com/repo/debian squeeze InRelease
Get:6 https://download.onlyoffice.com/repo/debian squeeze Release [9,865 B]
Ign:7 https://download.onlyoffice.com/repo/debian squeeze Release.gpg
Reading package lists… Done
E: The repository ‘https://download.onlyoffice.com/repo/debian squeeze Release’ 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.
Hello there,
the issue is clearly described in the output. All you have to do is look it up.
You have added the repository, but you did not import the signing key.
Just follow the official instructions.
Hi did already but same it happen in latest version it was working on version 9 …
mkdir -p -m 700 ~/.gnupg
curl -fsSL https://download.onlyoffice.com/GPG-KEY-ONLYOFFICE | gpg --no-default-keyring --keyring gnupg-ring:/tmp/onlyoffice.gpg --import
chmod 644 /tmp/onlyoffice.gpg
sudo chown root:root /tmp/onlyoffice.gpg
sudo mv /tmp/onlyoffice.gpg /usr/share/keyrings/onlyoffice.gpg
Hello there,
apparently onlyoffice did not sign their own keys? To circumvent this you can edit the source file and add [trusted=yes]
. It should look like this (file under /etc/apt/sources.list.d/onlyoffice.list
):
deb [trusted=yes signed-by=/usr/share/keyrings/onlyoffice.gpg] https://download.onlyoffice.com/repo/debian squeeze main