YunoHost-Apps / onlyoffice_ynh

OnlyOffice package for YunoHost
https://www.onlyoffice.com
GNU General Public License v3.0
19 stars 19 forks source link

Purge fails for onlyoffice-documentserver #87

Open Gredin67 opened 2 years ago

Gredin67 commented 2 years ago

I'm getting some troubles with the nextcloud connector after removing and reinstalling onlyoffice "token is not formed properly". I realized that onlyoffice remove is not working properly, purge is failing: https://paste.yunohost.org/raw/nomadoduju

sudo apt purge onlyoffice-documentserver is failing too : E: Sub-process /usr/bin/dpkg returned an error code (1)

Maybe worth addressing before merging #86 @ericgaspar ?

Gredin67 commented 1 year ago

@zamentur could it be related to the helper that would be failing at remove ? ynh_install_extra_app_dependencies --repo="https://download.onlyoffice.com/repo/debian squeeze main" --package=$extra_dependencies --key="https://ftp-master.debian.org/keys/release-$(lsb_release --release --short).asc"

Gredin67 commented 1 year ago
Info : [##++................] > Removing OnlyOffice...
Attention : ln: impossible de créer le lien symbolique '/usr/local/bin/supervisorctl': Le fichier existe
Attention : dpkg: error processing package onlyoffice-documentserver (--purge):
Attention :  installed onlyoffice-documentserver package post-removal script subprocess returned error exit status 127
Attention : Errors were encountered while processing:
Attention :  onlyoffice-documentserver
Attention : E: Sub-process /usr/bin/dpkg returned an error code (1)
Info : [####++..............] > Removing the PostgreSQL database...
Info : [######++............] > Removing dependencies...
Attention : E: Unable to locate package onlyoffice-ynh-deps
Attention : Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).