Matériel: VM Promox VE 7.4-3 / Serveur FUJITSU PRIMERGY TX1330 M1 auto-hébergé. Version de YunoHost: 11.2.9.1 (stable) J’ai accès à mon serveur : En SSH et Par la webadmin et En direct avec un clavier/écran. Êtes-vous dans un contexte particulier ou avez-vous effectué des modificiations particulières sur votre instance ? : non Si oui, expliquer: Si votre requête est liée à une application, précisez son nom et sa version: Nextcloud 28.0.1~ynh1
Description du problème
Sur un nouveau YNH, j’ai restauré Wordpress, Paheko et YesWiki. J’ai installé Prometheus : RAS. Mais j’ai un soucis d’install avec NextCloud.
C’est peu être lié à l’utilisation d’etckeeper ?
J’ai fait un etckeeper commit juste avant de lancer l’install en webGUI.
yanngui@eidl:~$ sudo apt install --dry-run imagemagick imagemagick-6.q16 php8.2-imagick libmagickcore-6.q16-6
[sudo] password for yanngui:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
imagemagick-6.q16 : Depends: libmagickwand-6.q16-6 (>= 8:6.9.10.2) but it is not going to be installed
Depends: hicolor-icon-theme but it is not going to be installed
Recommends: libmagickcore-6.q16-6-extra but it is not going to be installed
Recommends: ghostscript but it is not going to be installed
Recommends: netpbm but it is not going to be installed
libmagickcore-6.q16-6 : Depends: libfftw3-double3 (>= 3.3.5) but it is not going to be installed
Depends: liblcms2-2 (>= 2.6) but it is not going to be installed
Depends: liblqr-1-0 (>= 0.4.0) but it is not going to be installed
Depends: libopenjp2-7 (>= 2.0.0) but it is not going to be installed
Depends: libwebpdemux2 (>= 0.5.1) but it is not going to be installed
Depends: libwebpmux3 (>= 0.6.1-2.1) but it is not going to be installed
Depends: imagemagick-6-common (>= 8:6.9.6.2+dfsg-3) but it is not going to be installed
Recommends: ghostscript but it is not going to be installed
Recommends: gsfonts but it is not going to be installed
nextcloud-ynh-deps : Depends: libmagickcore-6.q16-6-extra but it is not going to be installed
Depends: smbclient but it is not going to be installed
Depends: php8.2-bz2 but it is not going to be installed
Depends: php8.2-imap but it is not going to be installed
Depends: php8.2-gmp but it is not going to be installed
Depends: php8.2-apcu but it is not going to be installed
Depends: php8.2-redis but it is not going to be installed
Depends: php8.2-igbinary but it is not going to be installed
Depends: php8.2-bcmath but it is not going to be installed
php8.2-imagick : Depends: libmagickwand-6.q16-6 (>= 8:6.9.10.2) but it is not going to be installed
Recommends: ghostscript but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
yanngui@eidl:~$ sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
fontconfig fonts-droid-fallback fonts-noto-mono fonts-urw-base35 ghostscript gsfonts hicolor-icon-theme imagemagick imagemagick-6-common imagemagick-6.q16 libarchive13
libavahi-client3 libavahi-common-data libavahi-common3 libc-client2007e libcairo2 libcups2 libdatrie1 libdjvulibre-text libdjvulibre21 libfftw3-double3 libgraphite2-3 libgs9
libgs9-common libharfbuzz0b libijs-0.35 libilmbase25 libjbig2dec0 libjxr-tools libjxr0 liblcms2-2 libldb2 liblqr-1-0 libmagickcore-6.q16-6 libmagickcore-6.q16-6-extra
libmagickwand-6.q16-6 libnetpbm10 libopenexr25 libopenjp2-7 libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpaper-utils libpaper1 libpixman-1-0 libsmbclient
libtalloc2 libtdb1 libtevent0 libthai-data libthai0 libwbclient0 libwebpdemux2 libwebpmux3 libwmf0.2-7 libxcb-render0 libxcb-shm0 libxrender1 mlock netpbm php8.2-apcu
php8.2-bcmath php8.2-bz2 php8.2-gmp php8.2-igbinary php8.2-imagick php8.2-imap php8.2-redis poppler-data python3-gpg python3-ldb python3-samba python3-talloc python3-tdb
samba-common samba-common-bin samba-dsdb-modules samba-libs smbclient
Suggested packages:
fonts-noto fonts-freefont-otf | fonts-freefont-ttf fonts-texgyre ghostscript-x imagemagick-doc autotrace cups-bsd | lpr | lprng enscript ffmpeg gimp gnuplot grads graphviz
hp2xx html2ps libwmf-bin mplayer povray radiance sane-utils texlive-base-bin transfig ufraw-batch xdg-utils lrzip uw-mailutils cups-common libfftw3-bin libfftw3-dev
liblcms2-utils inkscape libwmf0.2-7-gtk poppler-utils fonts-japanese-mincho | fonts-ipafont-mincho fonts-japanese-gothic | fonts-ipafont-gothic fonts-arphic-ukai
fonts-arphic-uming fonts-nanum heimdal-clients python3-markdown cifs-utils
The following NEW packages will be installed:
fontconfig fonts-droid-fallback fonts-noto-mono fonts-urw-base35 ghostscript gsfonts hicolor-icon-theme imagemagick imagemagick-6-common imagemagick-6.q16 libarchive13
libavahi-client3 libavahi-common-data libavahi-common3 libc-client2007e libcairo2 libcups2 libdatrie1 libdjvulibre-text libdjvulibre21 libfftw3-double3 libgraphite2-3 libgs9
libgs9-common libharfbuzz0b libijs-0.35 libilmbase25 libjbig2dec0 libjxr-tools libjxr0 liblcms2-2 libldb2 liblqr-1-0 libmagickcore-6.q16-6 libmagickcore-6.q16-6-extra
libmagickwand-6.q16-6 libnetpbm10 libopenexr25 libopenjp2-7 libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpaper-utils libpaper1 libpixman-1-0 libsmbclient
libtalloc2 libtdb1 libtevent0 libthai-data libthai0 libwbclient0 libwebpdemux2 libwebpmux3 libwmf0.2-7 libxcb-render0 libxcb-shm0 libxrender1 mlock netpbm php8.2-apcu
php8.2-bcmath php8.2-bz2 php8.2-gmp php8.2-igbinary php8.2-imagick php8.2-imap php8.2-redis poppler-data python3-gpg python3-ldb python3-samba python3-talloc python3-tdb
samba-common samba-common-bin samba-dsdb-modules samba-libs smbclient
0 upgraded, 79 newly installed, 0 to remove and 1 not upgraded.
Need to get 0 B/41.4 MB of archives.
After this operation, 155 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
** **etckeeper detected uncommitted changes in /etc prior to apt run**
** Aborting apt run. Manually commit and restart.
E: Problem executing scripts DPkg::Pre-Invoke 'if [ -x /usr/bin/etckeeper ]; then etckeeper pre-install; fi'
E: Sub-process returned an error code
yanngui@eidl:~$
Il semblerait bien que ce soit etckeeper qui pose pb.
J’ai stoper etckeeper, enfin je crois :
yanngui@eidl:~$ sudo systemctl status etckeeper.timer
● etckeeper.timer - Daily autocommit of changes in /etc directory
Loaded: loaded (/lib/systemd/system/etckeeper.timer; enabled; vendor preset: enabled)
Active: inactive (dead) since Tue 2024-01-16 15:50:11 CET; 10s ago
Trigger: n/a
Triggers: ● etckeeper.service
Docs: man:etckeeper(8)
Jan 16 15:45:26 eidl.fr systemd[1]: Started Daily autocommit of changes in /etc directory.
Jan 16 15:50:11 eidl.fr systemd[1]: etckeeper.timer: Succeeded.
Jan 16 15:50:11 eidl.fr systemd[1]: Stopped Daily autocommit of changes in /etc directory.
yanngui@eidl:~$ sudo systemctl status etckeeper.service
● etckeeper.service - Autocommit of changes in /etc directory
Loaded: loaded (/lib/systemd/system/etckeeper.service; static)
Active: inactive (dead) since Tue 2024-01-16 15:45:16 CET; 5min ago
TriggeredBy: ● etckeeper.timer
Docs: man:etckeeper(8)
Process: 30652 ExecStart=/etc/etckeeper/daily (code=exited, status=0/SUCCESS)
Main PID: 30652 (code=exited, status=0/SUCCESS)
CPU: 2ms
Jan 16 15:45:16 eidl.fr systemd[1]: Starting Autocommit of changes in /etc directory...
Jan 16 15:45:16 eidl.fr systemd[1]: etckeeper.service: Succeeded.
Jan 16 15:45:16 eidl.fr systemd[1]: Finished Autocommit of changes in /etc directory.
yanngui@eidl:~$
Mais rien n’y fait j’ai le même retour des commandes apt
Merci Aleks pour ton aide. J’ai installer etckeeper car j’en avait entendu parler comme une bonne pratique pour suivre l’évolution de /etc/. Mais c’est peu être obsolète, ça date de 2015. Devrais-je retenter une install de Nextcloud après avoir déinstaller etckeeper ?
C’est une bonne pratique pour les turbos-barbu qui aime micro-gérer leur serveur à l’ancienne, mais dans le contexte de YunoHost, et si tu ne sais pas comment le dépatouiller, alors mon point de vue c’est que c’est du bloat et ça pose plus de problèmes que ça n’en résoud.