Erreur lors de la mise à jour vers Yunohost 3.2.2

Bonjour !

Lors de la mise à jour de Yunohost 3.2.1 vers 3.2.2, j’ai obtenu le log suivant :

Reading package lists…
Building dependency tree…
Reading state information…
The following packages were automatically installed and are no longer required:
imagemagick-common libmilter1.0.1 libmysqlclient18 libonig2 libopendkim9
libqdbm14 libvpx1 php5-apcu php5-cli php5-common php5-curl php5-fpm php5-gd
php5-intl php5-json php5-ldap php5-mcrypt php5-mysql php5-readline
php5-redis rmilter
Use ‘apt autoremove’ to remove them.
Suggested packages:
htop acpi-support-base udisks2
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 280 kB of archives.
After this operation, 8,192 B of additional disk space will be used.
Get:1 Index of /debian/ stretch/stable armhf yunohost all 3.2.2 [280 kB]
apt-listchanges: Reading changelogs…
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
Fetched 280 kB in 0s (588 kB/s)
(Reading database … (Reading database … 5%(Reading database … 10%(Reading database … 15%(Reading database … 20%(Reading database … 25%(Reading database … 30%(Reading database … 35%(Reading database … 40%(Reading database … 45%(Reading database … 50%(Reading database … 55%(Reading database … 60%(Reading database … 65%(Reading database … 70%(Reading database … 75%(Reading database … 80%(Reading database … 85%(Reading database … 90%(Reading database … 95%(Reading database … 100%(Reading database … 61966 files and directories currently installed.)
Preparing to unpack …/yunohost_3.2.2_all.deb …
Unpacking yunohost (3.2.2) over (3.2.1) …
Processing triggers for systemd (232-25+deb9u4) …
Setting up metronome (3.10.14+yunohost-2) …

Configuration file ‘/etc/metronome/metronome.cfg.lua’
==> Modified (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer’s version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** metronome.cfg.lua (Y/I/N/O/D/Z) [default=N] ? dpkg: error processing package metronome (–configure):
end of file on stdin at conffile prompt
dpkg: dependency problems prevent configuration of yunohost:
yunohost depends on metronome; however:
Package metronome is not configured yet.
Package metronome which provides metronome is not configured yet.

dpkg: error processing package yunohost (–configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
metronome
yunohost
E: Sub-process /usr/bin/dpkg returned an error code (1)

Quelle est la conduite à tenir ?

Avec mes remerciements pour votre travail et pour votre aide :wink:

bonjour,
j’ai eu une erreur analogue.
J’ai relancé le script en forçant la mise à jour. En effet, tu constates dans le log que le système ne force pas la mise à jour de metronome.cfg.lua

Il faut donc relancer le script et répondre Y à la question.
Le script est :
apt-get install yunohost moulinette yunohost-admin ssowat -y && rm -f /etc/cron.d/yunohost-upgrade

Marc

Ne faudrait-il pas plutôt répondre N pour conserver la configuration faite par yunohost ?

En effet, il faut mieux garder la proposition par défaut, c’est à dire garder la configuration existante, donc ‘N’