Bonsoir,
Je dĂ©terre le topic, mais jâai un souci avec la MAJ de metronome sur mon Raspberry Pi 1B et 3B.
Jâai voulu via le panel web de YunoHost faire la MAJ, y compris celle mineure de YunoHost 3.8.x.x sur mon Raspberry Pi 3B, malheureusement, ça a plantĂ© et je me suis retrouvĂ© avec un erreur 500 et avec seulement un accĂšs SSH.
Jâai donc rebootĂ© la framboise et les services sont revenus ⊠mais les MAJ de metronome et yunohost toujours prĂ©sentes et toujours Ă faire.
DĂ©tail : je NAT tous les ports que jâutilise sur ma box ⊠et je ne NAT pas ceux dâXMPP que je nâutilise pas.
Du coup je me suis connecté à mon Raspberry Pi 1B qui sert pour le CI Package Check et dont seul le port SSH est NATé.
MĂȘme problĂšme : impossible de mettre Ă jour metronome qui du coup empĂȘche la MAJ de YunoHost et potentiellement dâautres paquets.
Voilà ce que ça raconte dans le Terminal :
Résumé Raspberry Pi 1
root@raspberrypi:~# apt update && apt dist-upgrade && apt autoremove && apt autoclean
Get:1 http://archive.raspberrypi.org/debian stretch InRelease [25.4 kB]
Hit:2 http://forge.yunohost.org/debian stretch InRelease
Get:3 http://raspbian.raspberrypi.org/raspbian stretch InRelease [15.0 kB]
Fetched 40.3 kB in 5s (7,504 B/s)
Reading package lists⊠Done
Building dependency tree
Reading state information⊠Done
1 package can be upgraded. Run âapt list --upgradableâ to see it.
Reading package lists⊠Done
Building dependency tree
Reading state information⊠Done
Calculating upgrade⊠Done
The following packages will be upgraded:
yunohost
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0 B/824 kB of archives.
After this operation, 44.0 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Reading changelogs⊠Done
Setting up metronome (3.14.1+ynh9-1) âŠ
Job for metronome.service failed because the control process exited with error code.
See âsystemctl status metronome.serviceâ and âjournalctl -xeâ for details.
invoke-rc.d: initscript metronome, action âstartâ failed.
â metronome.service - LSB: Metronome XMPP Server
Loaded: loaded (/etc/init.d/metronome; generated; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2020-05-28 18:12:16 CEST; 223ms ago
Docs: man:systemd-sysv-generator(8)
Process: 10390 ExecStart=/etc/init.d/metronome start (code=exited, status=1/FAILURE)
CPU: 316ms
May 28 18:12:15 raspberrypi systemd[1]: Starting LSB: Metronome XMPP ServerâŠ
May 28 18:12:16 raspberrypi metronome[10390]: Starting Metronome XMPP Server: metronomeIllegal instruction
May 28 18:12:16 raspberrypi metronome[10390]: failed!
May 28 18:12:16 raspberrypi systemd[1]: metronome.service: Control process exited, code=exited status=1
May 28 18:12:16 raspberrypi systemd[1]: Failed to start LSB: Metronome XMPP Server.
May 28 18:12:16 raspberrypi systemd[1]: metronome.service: Unit entered failed state.
May 28 18:12:16 raspberrypi systemd[1]: metronome.service: Failed with result âexit-codeâ.
dpkg: error processing package metronome (âconfigure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
metronome
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@raspberrypi:~#
Si vous avez une idée de ce qui peut faire boguer le truc ou une solution je suis preneur
Edit :
Jâai essayĂ© dpkg --configure
Résumé dpkg --configure -a
root@raspberrypi:~# dpkg --configure -a
Setting up metronome (3.14.1+ynh9-1) âŠ
Job for metronome.service failed because the control process exited with error code.
See âsystemctl status metronome.serviceâ and âjournalctl -xeâ for details.
invoke-rc.d: initscript metronome, action âstartâ failed.
â metronome.service - LSB: Metronome XMPP Server
Loaded: loaded (/etc/init.d/metronome; generated; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2020-05-28 18:14:19 CEST; 189ms ago
Docs: man:systemd-sysv-generator(8)
Process: 10861 ExecStart=/etc/init.d/metronome start (code=exited, status=1/FAILURE)
CPU: 307ms
May 28 18:14:18 raspberrypi systemd[1]: Starting LSB: Metronome XMPP ServerâŠ
May 28 18:14:19 raspberrypi metronome[10861]: Starting Metronome XMPP Server: metronomeIllegal instruction
May 28 18:14:19 raspberrypi metronome[10861]: failed!
May 28 18:14:19 raspberrypi systemd[1]: metronome.service: Control process exited, code=exited status=1
May 28 18:14:19 raspberrypi systemd[1]: Failed to start LSB: Metronome XMPP Server.
May 28 18:14:19 raspberrypi systemd[1]: metronome.service: Unit entered failed state.
May 28 18:14:19 raspberrypi systemd[1]: metronome.service: Failed with result âexit-codeâ.
dpkg: error processing package metronome (âconfigure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
metronome
root@raspberrypi:~#
Jâai aussi essayĂ© pour mettre Ă jour puis configurer metronome
de le passer en apt hold
et dâarrĂȘter le service mais sans succĂšs.
Jâai Ă©galement essayĂ© de apt remove metronome
mais je me suis arrĂȘtĂ© car sinon jâavais tous les paquets YunoHost qui allait ĂȘtre remove
aussi.
Résumé apt remove metronome
root@raspberrypi:~# apt remove metronome
Reading package lists⊠Done
Building dependency tree
Reading state information⊠Done
The following packages were automatically installed and are no longer required:
bind9utils dnsmasq dnsutils dovecot-antispam galera-3 ldap-utils libaio1 libconfig-inifiles-perl libhiredis0.13 libjemalloc1 liblua5.1-0
libluajit-5.1-2 libmail-spf-perl libmemcached11 libmemcachedutil2 libnet-dns-perl libnet-ip-perl libnetaddr-ip-perl libnginx-mod-http-auth-pam
libnginx-mod-http-cache-purge libnginx-mod-http-dav-ext libnginx-mod-http-echo libnginx-mod-http-fancyindex libnginx-mod-http-geoip
libnginx-mod-http-headers-more-filter libnginx-mod-http-image-filter libnginx-mod-http-lua libnginx-mod-http-ndk libnginx-mod-http-perl
libnginx-mod-http-subs-filter libnginx-mod-http-uploadprogress libnginx-mod-http-upstream-fair libnginx-mod-http-xslt-filter libnginx-mod-mail
libnginx-mod-nchan libnginx-mod-stream libnss-ldapd libnss-myhostname libodbc1 libopendbx1 libopendkim11 libpam-ldapd librbl1 libunbound2
libunwind8 libvbr2 libyaml-0-2 lua-event lua-expat lua-filesystem lua-json lua-ldap lua-lpeg lua-rex-pcre lua-sec lua-socket mariadb-client-10.1
mariadb-client-core-10.1 mariadb-common mariadb-server mariadb-server-10.1 mariadb-server-core-10.1 moulinette nginx-common nginx-extras nslcd
opendkim-tools php-fpm php-intl php-ldap php-mysql php7.0-fpm php7.0-intl php7.0-ldap php7.0-mysql postfix-policyd-spf-perl postsrsd
python-argcomplete python-bottle python-chardet python-dnspython python-gevent python-gevent-websocket python-greenlet python-jinja2 python-ldap
python-markupsafe python-miniupnpc python-openssl python-packaging python-psutil python-pyparsing python-requests python-toml python-tz
python-urllib3 python-yaml redis-server redis-tools rspamd slapd socat ssowat sudo-ldap unscd
Use âapt autoremoveâ to remove them.
The following packages will be REMOVED:
metronome yunohost
WARNING: The following essential packages will be removed.
This should NOT be done unless you know exactly what you are doing!
yunohost metronome (due to yunohost)
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 5,094 kB disk space will be freed.
You are about to do something potentially harmful.
To continue type in the phrase âYes, do as I say!â
?] n
Abort.
You have new mail in /var/mail/root
root@raspberrypi:~#
ppr