What type of hardware are you using: Old laptop or computer What YunoHost version are you running: 12.0.9 What app is this about: Nextcloud
Describe your issue
I tried to update my 2 Nextcloud instances (same server but separate domain). Nothing to report on the nextcloud instance but it fails on the nextcloud__2 instance.
According to the logs, this is due to a problem with the command dpkg-query --show '--showformat=${Depends}' nextcloud__2-ynh-deps.
In SSH, I reproduce the error but it seems to work better with dpkg-query --show '--showformat=${Depends}' nextcloud--2-ynh-deps… Unfortunately, I didn’t find how to fix this in the upgrade script!
Info: Deprovisioning apt…
Warning: ./deprovision_apt: line 5: ynh_apt_remove_dependencies: command not found
Error: deprovision failed for apt : An error occured inside the script snippet
Info: The operation ‘Remove the ‘nextcloud__2’ app’ could not be completed.