I cannot install Desktop Editors In Debian 12.2 KDE using repository

Apparently there is a problem with the public key GPG to authenticate the repository.

gpg --no-default-keyring --keyring gnupg-ring:/tmp/onlyoffice.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys CB2DE8E5

The answer is:

gpg: anillo ‘/tmp/onlyoffice.gpg’ creado
gpg: recepción del servidor de claves fallida: No existe ninguna ruta hasta el `host’

When you update the repositories.
sudo apt-get update

The answer is:
W: Error de GPG: https://download.onlyoffice.com/repo/debian squeeze InRelease: L
as firmas siguientes no se pudieron verificar porque su clave pública no está dis
ponible: NO_PUBKEY
E: El repositorio «https://download.onlyoffice.com/repo/debian squeeze InRelease» no está firmado.
N: No se puede actualizar de un repositorio como este de forma segura y por tanto está deshabilitado por omisión.

And Obviously I cannot install Desktop Editors using repository.
Thanks in advance.

1 Like

Hi @Jose_Manuel

Did you install the editor following this instruction?
https://helpcenter.onlyoffice.com/installation/desktop-install-ubuntu.aspx

Hi Nikolas,

Yes, I follow those instructions.

This command

gpg --no-default-keyring --keyring gnupg-ring:/tmp/onlyoffice.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys CB2DE8E5

doesn’t get the public key.

Seems like there is an issue with reaching the keyserver:

gpg: keyserver receive failed: No route to host

Try running the following command:

gpg --no-default-keyring --keyring gnupg-ring:/tmp/onlyoffice.gpg --keyserver hkp://185.125.188.27:80 --recv-keys CB2DE8E5

Thanks Nikolas, your solution works. I recommend adding this solution in the original instructions. Regards.

I’ve found several problems in your repository.

When I update Debian 12, I get this error:

La instalación del paquete ha fallado:

Error while installing package: installed onlyoffice-desktopeditors package post-installation script subprocess returned error exit status 127

And when I update the database of Clamav, another error:

clamav-freshclam ya está en su versión más reciente (1.0.3+dfsg-1~deb12u1).
0 actualizados, 0 nuevos se instalarán, 0 para eliminar y 0 no actualizados.
1 no instalados del todo o eliminados.
Se utilizarán 0 B de espacio de disco adicional después de esta operación.
¿Desea continuar? [S/n] s
Configurando onlyoffice-desktopeditors (7.5.1-23) …
/var/lib/dpkg/info/onlyoffice-desktopeditors.postinst: 26: update-desktop-database: not found
dpkg: error al procesar el paquete onlyoffice-desktopeditors (–configure):
el subproceso instalado paquete onlyoffice-desktopeditors script post-installation devolvió el código de salida de error 127
Procesando disparadores para libc-bin (2.36-9+deb12u3) …
Se encontraron errores al procesar:
onlyoffice-desktopeditors
E: Sub-process /usr/bin/dpkg returned an error code (1)

Apparently there is something of ClamAV in your repository.
In my computer I cannot fix this issues. Regards.

@Jose_Manuel :handshake:

It seems you’ve identified a bug. :eyes:
Several users have already reported this issue on GitHub.

Check the solution provided by Ewan67. It should work.

Our team is aware of the problem!