I can't update Yunohost and Nextcloud system

Hello. I have a problem trying to update the packages from Yunohost. It asks me to update the system version: moulinette (from 4.0.3 fins to 4.1.4) ssowat (from 4.0.4.1 fins to 4.1.3) yunohost-admin (from 4.0.4 fins to 4.1.4) yunohost (from 4.0.8 fins to 4.1.7.3) And of application. nextcloud from 20.0.4 ~ ynh1 fins to 20.0.7 ~ ynh1 I have tried to update from terminal and from Webmin but it gives me the following error: sudo yunohost tools upgrade --system Info: Actualitzant els paquets … Info: Actualitzant els paquets «especials» (relations with YunoHost) … Attention: Aquesta actualització special will continue in second plan. It did not start any other action to the server in the next ~ 10 minutes (depending on the speed of the machine). Després d’això, if you have to reconnect to the administration interface. The update registers will be available at Eines → Registres (at the administration interface) or use “yunohost log list” (from the line ofordres). Running scope as unit: run-rf94e9f5bbd9f4b8b830d5d1e2476b551.scope / tmp / yunohost-selfupgrade: line 3: EOF unexpected while it is near «’» / tmp / yunohost-selfupgrade: line 4: syntaxi error: end of fitxer unexpected The server is a Dual Core with 2Gb of RAM that works without problems. The problem is that it does not allow me to update these packages. I would appreciate any help you could give me. Sorry for my English, I’m translating directly from Googele Transalator. :slight_smile:

Info:
args:
apps: null
system: true
operation: tools_upgrade
related_to: []
started_at: 2021-03-08 10:47:58.634285
yunohost_version: 4.0.8

============

2021-03-08 11:47:58,676: INFO - Actualitzant els paquets «especials» (relacionats amb YunoHost)…
2021-03-08 11:47:59,240: WARNING - Aquesta actualització especial continuarà en segon pla. No comenceu cap altra acció al servidor en els pròxims ~10 minuts (depèn de la velocitat del maquinari). Després d’això, pot ser que us hagueu de tornar a connectar a la interfície d’administració. Els registres de l’actualització estaran disponibles a Eines → Registres (a la interfície d’administració) o utilitzant «yunohost log list» (des de la línia d’ordres).
2021-03-08 11:47:59,241: DEBUG - Running command :
((while [ -f /var/run/moulinette_yunohost.lock ]; do sleep 2; done) && DEBIAN_FRONTEND=noninteractive APT_LISTCHANGES_FRONTEND=none apt-get --fix-broken --show-upgraded --assume-yes --quiet -o=Dpkg::Use-Pty=0 -o Dpkg::Options::="–force-confold" -o Dpkg::Options::="–force-confmiss" -o Dpkg::Options::="–force-confdef" dist-upgrade 2>&1 | tee -a /var/log/yunohost/categories/operation/20210308-104758-tools_upgrade.log) && (echo ‘Done!’ | tee -a /var/log/yunohost/categories/operation/20210308-104758-tools_upgrade.log && echo ‘success: true’ >> /var/log/yunohost/categories/operation/20210308-104758-tools_upgrade.yml) || (echo ‘Failed :(’ | tee -a /var/log/yunohost/categories/operation/20210308-104758-tools_upgrade.log && echo ‘success: false’ >> /var/log/yunohost/categories/operation/20210308-104758-tools_upgrade.yml); sed -i “s/ended_at: .*$/ended_at: $(date -u +’%Y-%m-%d %H:%M:%S.%N’)/” /var/log/yunohost/categories/operation/20210308-104758-tools_upgrade.yml; echo ’
Actualització dels paquets YunoHost acabada.
Premeu [Enter] per tornar a la línia d’ordres’

Wokay I’m not sure to fully understand the issue because all the formatting is fucked up …

But as a workaround, I can suggest (exceptionally) running

apt update && apt dist-upgrade

from the command line

1 Like

Solving! Thank you, thank you and 1000 thank you! Very grateful Aleks. Quick and effective solution!

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