[BUG CRITIQUE] Lors de la mise à jour des paquets : E: The package cache file is corrupted

Mon serveur YunoHost

Matériel: Raspberry Pi 4 à la maison
Version de YunoHost: 4.0.8 (stable)
J’ai accès à mon serveur : Par la webadmin
Êtes-vous dans un contexte particulier ou avez-vous effectué des modificiations particulières sur votre instance ? : non

Description du problème

Bonjour,
Sur une installation fraîche de Raspberry Pi, dès le lancement, j’ai un message d’erreur E: The package cache file is corrupted, voici les logs :

E: The package cache file is corrupted
Impossible de mettre à jour le cache APT (gestionnaire de paquets Debian). Voici un extrait du fichier sources.list qui pourrait vous aider à identifier les lignes problématiques :
sources.list:deb http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi
sources.list.d/yunohost.list:deb http://forge.yunohost.org/debian/ buster stable
sources.list.d/raspi.list:deb http://archive.raspberrypi.org/debian/ buster main
W: You may want to run apt-get update to correct these problems
E: Unable to parse package file /var/lib/apt/lists/raspbian.raspberrypi.org_raspbian_dists_buster_main_binary-armhf_Packages (1)
Récupération des mises à jour disponibles pour les paquets du système…
Connecté
Installation terminée
La post-installation terminée! Pour finaliser votre configuration, il est recommandé de :
- ajouter un premier utilisateur depuis la section "Utilisateurs" de l’interface web (ou "yunohost user create " en ligne de commande) ;
- diagnostiquer les potentiels problèmes dans la section "Diagnostic" de l'interface web (ou "yunohost diagnosis run" en ligne de commande) ;
- lire les parties "Finalisation de votre configuration" et "Découverte de YunoHost" dans le guide de l’administrateur: https://yunohost.org/admindoc.
YunoHost est maintenant configuré
La configuration a été mise à jour pour 'slapd'
La configuration a été mise à jour pour 'dovecot'
Le fichier de configuration '/etc/dovecot/dovecot.conf' est maintenant géré par YunoHost (catégorie dovecot).
La configuration a été mise à jour pour 'avahi-daemon'
Le fichier de configuration '/etc/avahi/avahi-daemon.conf' est maintenant géré par YunoHost (catégorie avahi-daemon).
La configuration a été mise à jour pour 'mysql'
Le fichier de configuration '/etc/mysql/my.cnf' est maintenant géré par YunoHost (catégorie mysql).
La configuration a été mise à jour pour 'fail2ban'
Le fichier de configuration '/etc/fail2ban/jail.conf' est maintenant géré par YunoHost (catégorie fail2ban).
La configuration a été mise à jour pour 'dnsmasq'
Le fichier de configuration '/etc/dnsmasq.conf' est maintenant géré par YunoHost (catégorie dnsmasq).
Le fichier de configuration '/etc/default/dnsmasq' est maintenant géré par YunoHost (catégorie dnsmasq).
La configuration a été mise à jour pour 'nginx'
La configuration a été mise à jour pour 'apt'
La configuration a été mise à jour pour 'rspamd'
La configuration a été mise à jour pour 'yunohost'
La configuration a été mise à jour pour 'postfix'
Le fichier de configuration '/etc/default/postsrsd' est maintenant géré par YunoHost (catégorie postfix).
Le fichier de configuration '/etc/postfix/main.cf' est maintenant géré par YunoHost (catégorie postfix).
Le fichier de configuration '/etc/postfix/master.cf' est maintenant géré par YunoHost (catégorie postfix).
La configuration a été mise à jour pour 'metronome'
Le fichier de configuration '/etc/metronome/metronome.cfg.lua' est maintenant géré par YunoHost (catégorie metronome).
La configuration a été mise à jour pour 'ssh'
Le service « yunohost-firewall » a été démarré
Le service « yunohost-firewall » sera désormais lancé automatiquement au démarrage du système.
Le catalogue des applications a été mis à jour !
Mise à jour du catalogue d’applications…
Système de catalogue d’applications initialisé !
Pare-feu rechargé
Le mot de passe d’administration a été modifié
Votre mot de passe root a été remplacé par votre mot de passe administrateur.
Le domaine principal a été modifié
Le domaine a été créé
Le certificat auto-signé est maintenant installé pour le domaine « un-test-raspberry.nohost.me »
La tâche cron pour le domaine DynDNS a été créée
Domaine DynDNS enregistré
L'autorité de certification locale a été créée.
La configuration a été mise à jour pour 'ssl'
L’annuaire LDAP initialisé
La configuration a été mise à jour pour 'nslcd'
Le fichier de configuration '/etc/nslcd.conf' est maintenant géré par YunoHost (catégorie nslcd).
La configuration a été mise à jour pour 'nsswitch'
Le fichier de configuration '/etc/nsswitch.conf' est maintenant géré par YunoHost (catégorie nsswitch).
L’installation de YunoHost est en cours…

La solution pour résoudre le problème est la suivante :
En SSH et root, exécuter les commandes :

sudo rm /var/lib/apt/lists/* -vf
sudo apt-get clean
sudo apt-get update
sudo apt-get upgrade

Ce bug est critique puis qu’il empêche l’installation de toute application comme Nextcloud par exemple :

args:
  app: nextcloud
  args: domain=maindomain.tld&path=%2Fnextcloud&admin=administrateur_nextcloud&user_home=0
  force: false
  label: Nextcloud
  no_remove_on_failure: false
ended_at: 2020-12-26 12:46:06.387673
env:
  YNH_APP_ARG_ADMIN: administrateur_nextcloud
  YNH_APP_ARG_DOMAIN: maindomain.tld
  YNH_APP_ARG_PATH: /nextcloud
  YNH_APP_ARG_USER_HOME: 0
  YNH_APP_ID: nextcloud
  YNH_APP_INSTANCE_NAME: nextcloud
  YNH_APP_INSTANCE_NUMBER: '1'
  YNH_CWD: /var/cache/yunohost/from_file/nextcloud_ynh-e38941325e6e0eb6a401fbb4db0f2d1c603e4a23/scripts
  YNH_INTERFACE: api
  YNH_STDINFO: /tmp/tmpYaNwaT/stdinfo
  YNH_STDRETURN: /tmp/tmpFmkMpc/stdreturn
error: "Une erreur est survenue dans le script d\u2019installation de l\u2019application"
operation: app_install
related_to:
- - app
  - nextcloud
started_at: 2020-12-26 12:45:57.185417
success: false
yunohost_version: 4.0.8

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

2020-12-26 12:45:57,208: INFO - Installation de l’application nextcloud …
2020-12-26 12:45:57,342: DEBUG - The permission database has been resynchronized
2020-12-26 12:45:57,350: DEBUG - La configuration de SSOwat générée
2020-12-26 12:45:57,380: DEBUG - No default hook for action 'post_app_addaccess' in /usr/share/yunohost/hooks/
2020-12-26 12:45:57,381: DEBUG - No custom hook for action 'post_app_addaccess' in /etc/yunohost/hooks.d/
2020-12-26 12:45:57,381: DEBUG - Permission 'nextcloud.main' créée
2020-12-26 12:45:57,382: DEBUG - Journal complet de cette opération : '<a href="#/tools/logs/20201226-124557-permission_create-nextcloud" style="text-decoration:underline"> Créer permission 'nextcloud' </a>'
2020-12-26 12:45:57,407: DEBUG - Exécution de la commande 'sh -c YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/var/cache/yunohost/from_file/nextcloud_ynh-e38941325e6e0eb6a401fbb4db0f2d1c603e4a23/scripts YNH_APP_ARG_USER_HOME=0 YNH_STDINFO=/tmp/tmpYaNwaT/stdinfo YNH_APP_INSTANCE_NAME=nextcloud YNH_APP_ARG_ADMIN=administrateur_nextcloud YNH_INTERFACE=api YNH_APP_ID=nextcloud YNH_APP_ARG_PATH=/nextcloud YNH_STDRETURN=/tmp/tmpFmkMpc/stdreturn YNH_APP_ARG_DOMAIN=maindomain.tld BASH_XTRACEFD=7 /bin/bash -x "./install" maindomain.tld /nextcloud administrateur_nextcloud 0 nextcloud 7>&1' …
2020-12-26 12:45:57,407: DEBUG - About to run the command '['sh', '-c', 'YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/var/cache/yunohost/from_file/nextcloud_ynh-e38941325e6e0eb6a401fbb4db0f2d1c603e4a23/scripts YNH_APP_ARG_USER_HOME=0 YNH_STDINFO=/tmp/tmpYaNwaT/stdinfo YNH_APP_INSTANCE_NAME=nextcloud YNH_APP_ARG_ADMIN=administrateur_nextcloud YNH_INTERFACE=api YNH_APP_ID=nextcloud YNH_APP_ARG_PATH=/nextcloud YNH_STDRETURN=/tmp/tmpFmkMpc/stdreturn YNH_APP_ARG_DOMAIN=maindomain.tld BASH_XTRACEFD=7 /bin/bash -x "./install" maindomain.tld /nextcloud administrateur_nextcloud 0 nextcloud 7>&1']'
2020-12-26 12:45:57,443: DEBUG - + source _common.sh
2020-12-26 12:45:57,445: DEBUG - ++ pkg_dependencies='imagemagick acl tar smbclient at'
2020-12-26 12:45:57,445: DEBUG - ++ YNH_PHP_VERSION=7.3
2020-12-26 12:45:57,446: DEBUG - ++ extra_php_dependencies='php7.3-bz2 php7.3-imap php7.3-smbclient php7.3-gmp php7.3-gd php7.3-json php7.3-intl php7.3-curl php7.3-apcu php7.3-redis php7.3-ldap php7.3-imagick php7.3-zip php7.3-mbstring php7.3-xml php7.3-mysql php7.3-igbinary php7.3-bcmath'
2020-12-26 12:45:57,446: DEBUG - + source /usr/share/yunohost/helpers
2020-12-26 12:45:57,447: DEBUG - +++ run-parts --list /usr/share/yunohost/helpers.d
2020-12-26 12:45:57,447: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-12-26 12:45:57,448: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/apt ']'
2020-12-26 12:45:57,448: DEBUG - ++ . /usr/share/yunohost/helpers.d/apt
2020-12-26 12:45:57,448: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-12-26 12:45:57,449: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/backup ']'
2020-12-26 12:45:57,449: DEBUG - ++ . /usr/share/yunohost/helpers.d/backup
2020-12-26 12:45:57,449: DEBUG - +++ CAN_BIND=1
2020-12-26 12:45:57,550: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-12-26 12:45:57,551: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/fail2ban ']'
2020-12-26 12:45:57,551: DEBUG - ++ . /usr/share/yunohost/helpers.d/fail2ban
2020-12-26 12:45:57,551: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-12-26 12:45:57,552: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/getopts ']'
2020-12-26 12:45:57,552: DEBUG - ++ . /usr/share/yunohost/helpers.d/getopts
2020-12-26 12:45:57,553: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-12-26 12:45:57,553: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/hardware ']'
2020-12-26 12:45:57,554: DEBUG - ++ . /usr/share/yunohost/helpers.d/hardware
2020-12-26 12:45:57,555: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-12-26 12:45:57,555: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/logging ']'
2020-12-26 12:45:57,556: DEBUG - ++ . /usr/share/yunohost/helpers.d/logging
2020-12-26 12:45:57,556: DEBUG - +++ increment_progression=0
2020-12-26 12:45:57,557: DEBUG - +++ previous_weight=0
2020-12-26 12:45:57,557: DEBUG - +++ max_progression=-1
2020-12-26 12:45:57,558: DEBUG - +++ progress_scale=20
2020-12-26 12:45:57,558: DEBUG - +++ progress_string2='####################'
2020-12-26 12:45:57,559: DEBUG - +++ progress_string1=++++++++++++++++++++
2020-12-26 12:45:57,559: DEBUG - +++ progress_string0=....................
2020-12-26 12:45:57,560: DEBUG - ++++ date +%s
2020-12-26 12:45:57,560: DEBUG - +++ base_time=1608986757
2020-12-26 12:45:57,561: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-12-26 12:45:57,561: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/logrotate ']'
2020-12-26 12:45:57,562: DEBUG - ++ . /usr/share/yunohost/helpers.d/logrotate
2020-12-26 12:45:57,563: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-12-26 12:45:57,563: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/mysql ']'
2020-12-26 12:45:57,564: DEBUG - ++ . /usr/share/yunohost/helpers.d/mysql
2020-12-26 12:45:57,565: DEBUG - +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
2020-12-26 12:45:57,565: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-12-26 12:45:57,566: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/network ']'
2020-12-26 12:45:57,567: DEBUG - ++ . /usr/share/yunohost/helpers.d/network
2020-12-26 12:45:57,567: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-12-26 12:45:57,568: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/nginx ']'
2020-12-26 12:45:57,568: DEBUG - ++ . /usr/share/yunohost/helpers.d/nginx
2020-12-26 12:45:57,569: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-12-26 12:45:57,569: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/nodejs ']'
2020-12-26 12:45:57,570: DEBUG - ++ . /usr/share/yunohost/helpers.d/nodejs
2020-12-26 12:45:57,570: DEBUG - +++ n_version=6.5.1
2020-12-26 12:45:57,571: DEBUG - +++ n_install_dir=/opt/node_n
2020-12-26 12:45:57,571: DEBUG - +++ node_version_path=/opt/node_n/n/versions/node
2020-12-26 12:45:57,572: DEBUG - +++ export N_PREFIX=/opt/node_n
2020-12-26 12:45:57,572: DEBUG - +++ N_PREFIX=/opt/node_n
2020-12-26 12:45:57,573: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-12-26 12:45:57,573: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/php ']'
2020-12-26 12:45:57,574: DEBUG - ++ . /usr/share/yunohost/helpers.d/php
2020-12-26 12:45:57,574: DEBUG - +++ readonly YNH_DEFAULT_PHP_VERSION=7.3
2020-12-26 12:45:57,575: DEBUG - +++ YNH_DEFAULT_PHP_VERSION=7.3
2020-12-26 12:45:57,576: DEBUG - +++ YNH_PHP_VERSION=7.3
2020-12-26 12:45:57,576: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-12-26 12:45:57,577: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/postgresql ']'
2020-12-26 12:45:57,578: DEBUG - ++ . /usr/share/yunohost/helpers.d/postgresql
2020-12-26 12:45:57,578: DEBUG - +++ PSQL_ROOT_PWD_FILE=/etc/yunohost/psql
2020-12-26 12:45:57,579: DEBUG - +++ PSQL_VERSION=11
2020-12-26 12:45:57,579: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-12-26 12:45:57,580: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/setting ']'
2020-12-26 12:45:57,580: DEBUG - ++ . /usr/share/yunohost/helpers.d/setting
2020-12-26 12:45:57,580: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-12-26 12:45:57,581: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/string ']'
2020-12-26 12:45:57,582: DEBUG - ++ . /usr/share/yunohost/helpers.d/string
2020-12-26 12:45:57,582: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-12-26 12:45:57,583: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/systemd ']'
2020-12-26 12:45:57,583: DEBUG - ++ . /usr/share/yunohost/helpers.d/systemd
2020-12-26 12:45:57,584: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-12-26 12:45:57,584: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/user ']'
2020-12-26 12:45:57,585: DEBUG - ++ . /usr/share/yunohost/helpers.d/user
2020-12-26 12:45:57,585: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-12-26 12:45:57,586: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/utils ']'
2020-12-26 12:45:57,587: DEBUG - ++ . /usr/share/yunohost/helpers.d/utils
2020-12-26 12:45:57,587: DEBUG - + ynh_abort_if_errors
2020-12-26 12:45:57,588: DEBUG - + set -o errexit
2020-12-26 12:45:57,588: DEBUG - + set -o nounset
2020-12-26 12:45:57,588: DEBUG - + trap ynh_exit_properly EXIT
2020-12-26 12:45:57,589: DEBUG - + domain=maindomain.tld
2020-12-26 12:45:57,589: DEBUG - + path_url=/nextcloud
2020-12-26 12:45:57,590: DEBUG - + admin=administrateur_nextcloud
2020-12-26 12:45:57,590: DEBUG - + user_home=0
2020-12-26 12:45:57,591: DEBUG - + app=nextcloud
2020-12-26 12:45:57,794: DEBUG - + echo '[....................] > Validating installation parameters...'
2020-12-26 12:45:57,795: DEBUG - + final_path=/var/www/nextcloud
2020-12-26 12:45:57,795: DEBUG - + test '!' -e /var/www/nextcloud
2020-12-26 12:45:57,795: DEBUG - + ynh_webpath_register --app=nextcloud --domain=maindomain.tld --path_url=/nextcloud
2020-12-26 12:45:57,898: DEBUG - + yunohost app register-url nextcloud maindomain.tld /nextcloud
2020-12-26 12:45:57,899: INFO - [....................] > Validating installation parameters...
2020-12-26 12:45:58,805: DEBUG - + echo '[....................] > Storing installation settings...'
2020-12-26 12:45:58,806: DEBUG - + ynh_app_setting_set --app=nextcloud --key=domain --value=maindomain.tld
2020-12-26 12:45:59,009: DEBUG - + ynh_app_setting set nextcloud domain maindomain.tld
2020-12-26 12:45:59,010: INFO - [....................] > Storing installation settings...
2020-12-26 12:45:59,011: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-12-26 12:45:59,011: DEBUG - + ACTION=set
2020-12-26 12:45:59,011: DEBUG - + APP=nextcloud
2020-12-26 12:45:59,012: DEBUG - + KEY=domain
2020-12-26 12:45:59,012: DEBUG - + VALUE=maindomain.tld
2020-12-26 12:45:59,012: DEBUG - + python2.7 -
2020-12-26 12:45:59,213: DEBUG - + [[ domain =~ ^(unprotected|skipped)_ ]]
2020-12-26 12:45:59,214: DEBUG - + ynh_app_setting_set --app=nextcloud --key=path --value=/nextcloud
2020-12-26 12:45:59,418: DEBUG - + ynh_app_setting set nextcloud path /nextcloud
2020-12-26 12:45:59,418: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-12-26 12:45:59,419: DEBUG - + ACTION=set
2020-12-26 12:45:59,419: DEBUG - + APP=nextcloud
2020-12-26 12:45:59,419: DEBUG - + KEY=path
2020-12-26 12:45:59,420: DEBUG - + VALUE=/nextcloud
2020-12-26 12:45:59,420: DEBUG - + python2.7 -
2020-12-26 12:45:59,621: DEBUG - + [[ path =~ ^(unprotected|skipped)_ ]]
2020-12-26 12:45:59,634: DEBUG - + ynh_app_setting_set --app=nextcloud --key=admin --value=administrateur_nextcloud
2020-12-26 12:45:59,838: DEBUG - + ynh_app_setting set nextcloud admin administrateur_nextcloud
2020-12-26 12:45:59,839: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-12-26 12:45:59,839: DEBUG - + ACTION=set
2020-12-26 12:45:59,840: DEBUG - + APP=nextcloud
2020-12-26 12:45:59,840: DEBUG - + KEY=admin
2020-12-26 12:45:59,840: DEBUG - + VALUE=administrateur_nextcloud
2020-12-26 12:45:59,841: DEBUG - + python2.7 -
2020-12-26 12:46:00,042: DEBUG - + [[ admin =~ ^(unprotected|skipped)_ ]]
2020-12-26 12:46:00,042: DEBUG - + ynh_app_setting_set --app=nextcloud --key=user_home --value=0
2020-12-26 12:46:00,246: DEBUG - + ynh_app_setting set nextcloud user_home 0
2020-12-26 12:46:00,247: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-12-26 12:46:00,247: DEBUG - + ACTION=set
2020-12-26 12:46:00,248: DEBUG - + APP=nextcloud
2020-12-26 12:46:00,248: DEBUG - + KEY=user_home
2020-12-26 12:46:00,248: DEBUG - + VALUE=0
2020-12-26 12:46:00,249: DEBUG - + python2.7 -
2020-12-26 12:46:00,450: DEBUG - + [[ user_home =~ ^(unprotected|skipped)_ ]]
2020-12-26 12:46:00,653: DEBUG - + echo '[+...................] > Installing dependencies...'
2020-12-26 12:46:00,654: DEBUG - + ynh_install_app_dependencies imagemagick acl tar smbclient at
2020-12-26 12:46:00,655: DEBUG - + local 'dependencies=imagemagick acl tar smbclient at'
2020-12-26 12:46:00,656: DEBUG - ++ echo 'imagemagick acl tar smbclient at'
2020-12-26 12:46:00,656: DEBUG - ++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g'
2020-12-26 12:46:00,757: DEBUG - + dependencies='imagemagick, acl, tar, smbclient, at'
2020-12-26 12:46:00,757: INFO - [+...................] > Installing dependencies...
2020-12-26 12:46:00,759: DEBUG - + local 'dependencies=imagemagick, acl, tar, smbclient, at'
2020-12-26 12:46:00,759: DEBUG - + local manifest_path=../manifest.json
2020-12-26 12:46:00,760: DEBUG - + '[' '!' -e ../manifest.json ']'
2020-12-26 12:46:00,760: DEBUG - ++ grep '\"version\": ' ../manifest.json
2020-12-26 12:46:00,760: DEBUG - ++ cut '--delimiter="' --fields=4
2020-12-26 12:46:00,761: DEBUG - + local version=19.0.3~ynh1
2020-12-26 12:46:00,761: DEBUG - + '[' 11 -eq 0 ']'
2020-12-26 12:46:00,762: DEBUG - + local dep_app=nextcloud
2020-12-26 12:46:00,762: DEBUG - + [[ imagemagick, acl, tar, smbclient, at =~ [<=>] ]]
2020-12-26 12:46:00,762: DEBUG - + echo imagemagick, acl, tar, smbclient, at
2020-12-26 12:46:00,763: DEBUG - + grep --quiet php
2020-12-26 12:46:00,763: DEBUG - + cat
2020-12-26 12:46:00,764: DEBUG - + ynh_package_install_from_equivs /tmp/nextcloud-ynh-deps.control
2020-12-26 12:46:00,764: DEBUG - + local controlfile=/tmp/nextcloud-ynh-deps.control
2020-12-26 12:46:00,765: DEBUG - ++ grep '^Package: ' /tmp/nextcloud-ynh-deps.control
2020-12-26 12:46:00,765: DEBUG - ++ cut '--delimiter= ' --fields=2
2020-12-26 12:46:00,765: DEBUG - + local pkgname=nextcloud-ynh-deps
2020-12-26 12:46:00,766: DEBUG - ++ grep '^Version: ' /tmp/nextcloud-ynh-deps.control
2020-12-26 12:46:00,766: DEBUG - ++ cut '--delimiter= ' --fields=2
2020-12-26 12:46:00,767: DEBUG - + local pkgversion=19.0.3~ynh1
2020-12-26 12:46:00,767: DEBUG - + [[ -z nextcloud-ynh-deps ]]
2020-12-26 12:46:00,768: DEBUG - + [[ -z 19.0.3~ynh1 ]]
2020-12-26 12:46:00,768: DEBUG - + ynh_package_update
2020-12-26 12:46:00,768: DEBUG - + ynh_apt update
2020-12-26 12:46:00,769: DEBUG - + ynh_wait_dpkg_free
2020-12-26 12:46:01,071: DEBUG - + return 0
2020-12-26 12:46:01,071: DEBUG - + LC_ALL=C
2020-12-26 12:46:01,071: DEBUG - + DEBIAN_FRONTEND=noninteractive
2020-12-26 12:46:01,072: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2020-12-26 12:46:01,374: DEBUG - Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
2020-12-26 12:46:01,375: DEBUG - Hit:2 http://archive.raspberrypi.org/debian buster InRelease
2020-12-26 12:46:01,375: DEBUG - Get:3 http://forge.yunohost.org/debian buster InRelease [18.2 kB]
2020-12-26 12:46:02,178: DEBUG - Fetched 18.2 kB in 1s (17.0 kB/s)
2020-12-26 12:46:02,278: DEBUG - Reading package lists...
2020-12-26 12:46:02,279: WARNING - E: Unable to parse package file /var/lib/apt/lists/raspbian.raspberrypi.org_raspbian_dists_buster_main_binary-armhf_Packages (1)
2020-12-26 12:46:02,281: WARNING - W: You may want to run apt-get update to correct these problems
2020-12-26 12:46:02,282: WARNING - E: The package cache file is corrupted
2020-12-26 12:46:02,283: DEBUG - ++ mktemp --directory
2020-12-26 12:46:02,384: DEBUG - + local TMPDIR=/tmp/tmp.Gh8DwiO1Xl
2020-12-26 12:46:02,385: DEBUG - + echo 10
2020-12-26 12:46:02,385: DEBUG - + ynh_wait_dpkg_free
2020-12-26 12:46:02,587: DEBUG - + return 0
2020-12-26 12:46:02,587: DEBUG - + cp /tmp/nextcloud-ynh-deps.control /tmp/tmp.Gh8DwiO1Xl/control
2020-12-26 12:46:02,588: DEBUG - + cd /tmp/tmp.Gh8DwiO1Xl
2020-12-26 12:46:02,588: DEBUG - + LC_ALL=C
2020-12-26 12:46:02,589: DEBUG - + equivs-build ./control
2020-12-26 12:46:04,593: DEBUG - + LC_ALL=C
2020-12-26 12:46:04,594: DEBUG - + dpkg --force-depends --install ./nextcloud-ynh-deps_19.0.3~ynh1_all.deb
2020-12-26 12:46:04,594: DEBUG - + tee ./dpkg_log
2020-12-26 12:46:04,695: DEBUG - Selecting previously unselected package nextcloud-ynh-deps.
2020-12-26 12:46:04,796: DEBUG - (Reading database ... 52516 files and directories currently installed.)
2020-12-26 12:46:04,796: DEBUG - Preparing to unpack .../nextcloud-ynh-deps_19.0.3~ynh1_all.deb ...
2020-12-26 12:46:04,799: DEBUG - Unpacking nextcloud-ynh-deps (19.0.3~ynh1) ...
2020-12-26 12:46:04,899: DEBUG - dpkg: nextcloud-ynh-deps: dependency problems, but configuring anyway as you requested:
2020-12-26 12:46:04,900: DEBUG -  nextcloud-ynh-deps depends on imagemagick; however:
2020-12-26 12:46:04,900: DEBUG -   Package imagemagick is not installed.
2020-12-26 12:46:04,901: DEBUG -  nextcloud-ynh-deps depends on acl; however:
2020-12-26 12:46:04,902: DEBUG -   Package acl is not installed.
2020-12-26 12:46:04,903: DEBUG -  nextcloud-ynh-deps depends on smbclient; however:
2020-12-26 12:46:04,903: DEBUG -   Package smbclient is not installed.
2020-12-26 12:46:04,903: DEBUG -  nextcloud-ynh-deps depends on at; however:
2020-12-26 12:46:04,904: DEBUG -   Package at is not installed.
2020-12-26 12:46:04,904: DEBUG - 
2020-12-26 12:46:04,906: DEBUG - Setting up nextcloud-ynh-deps (19.0.3~ynh1) ...
2020-12-26 12:46:05,007: DEBUG - + ynh_package_install --fix-broken
2020-12-26 12:46:05,007: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2020-12-26 12:46:05,008: DEBUG - + ynh_wait_dpkg_free
2020-12-26 12:46:05,309: DEBUG - + return 0
2020-12-26 12:46:05,310: DEBUG - + LC_ALL=C
2020-12-26 12:46:05,310: DEBUG - + DEBIAN_FRONTEND=noninteractive
2020-12-26 12:46:05,311: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2020-12-26 12:46:05,411: DEBUG - Reading package lists...
2020-12-26 12:46:05,412: WARNING - E: Packages need to be removed but remove is disabled.
2020-12-26 12:46:05,413: DEBUG - Building dependency tree...
2020-12-26 12:46:05,414: DEBUG - Reading state information...
2020-12-26 12:46:05,414: DEBUG - Correcting dependencies... Done
2020-12-26 12:46:05,415: DEBUG - The following packages will be REMOVED:
2020-12-26 12:46:05,415: DEBUG -   nextcloud-ynh-deps
2020-12-26 12:46:05,416: DEBUG - 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
2020-12-26 12:46:05,416: DEBUG - ++ cat /tmp/tmp.Gh8DwiO1Xl/dpkg_log
2020-12-26 12:46:05,417: DEBUG - ++ grep -oP '(?<=-ynh-deps depends on ).*(?=; however)'
2020-12-26 12:46:05,417: DEBUG - ++ tr '\n' ' '
2020-12-26 12:46:05,518: DEBUG - + local 'problematic_dependencies=imagemagick acl smbclient at '
2020-12-26 12:46:05,519: DEBUG - + [[ -n imagemagick acl smbclient at  ]]
2020-12-26 12:46:05,519: DEBUG - + sed --quiet '/Reading state info/,$p'
2020-12-26 12:46:05,520: DEBUG - + grep -v 'fix-broken\|Reading state info'
2020-12-26 12:46:05,521: DEBUG - + ynh_package_install imagemagick acl smbclient at --dry-run
2020-12-26 12:46:05,521: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install imagemagick acl smbclient at --dry-run
2020-12-26 12:46:05,522: DEBUG - + ynh_wait_dpkg_free
2020-12-26 12:46:05,724: DEBUG - + return 0
2020-12-26 12:46:05,724: DEBUG - + LC_ALL=C
2020-12-26 12:46:05,725: DEBUG - + DEBIAN_FRONTEND=noninteractive
2020-12-26 12:46:05,725: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install imagemagick acl smbclient at --dry-run
2020-12-26 12:46:05,826: DEBUG - + ynh_die '--message=Unable to install dependencies'
2020-12-26 12:46:05,826: WARNING - Package imagemagick is not available, but is referred to by another package.
2020-12-26 12:46:05,828: WARNING - This may mean that the package is missing, has been obsoleted, or
2020-12-26 12:46:05,829: WARNING - is only available from another source
2020-12-26 12:46:05,830: WARNING - 
2020-12-26 12:46:05,832: WARNING - Package smbclient is not available, but is referred to by another package.
2020-12-26 12:46:05,833: WARNING - This may mean that the package is missing, has been obsoleted, or
2020-12-26 12:46:05,834: WARNING - is only available from another source
2020-12-26 12:46:05,835: WARNING - 
2020-12-26 12:46:05,835: DEBUG - + ret_code=1
2020-12-26 12:46:05,836: WARNING - Package acl is not available, but is referred to by another package.
2020-12-26 12:46:05,836: DEBUG - + echo 'Unable to install dependencies'
2020-12-26 12:46:05,836: WARNING - This may mean that the package is missing, has been obsoleted, or
2020-12-26 12:46:05,837: DEBUG - + exit 1
2020-12-26 12:46:05,837: WARNING - is only available from another source
2020-12-26 12:46:05,838: DEBUG - + ynh_exit_properly
2020-12-26 12:46:05,838: WARNING - 
2020-12-26 12:46:05,839: DEBUG - + local exit_code=1
2020-12-26 12:46:05,839: WARNING - Package at is not available, but is referred to by another package.
2020-12-26 12:46:05,840: DEBUG - + '[' 1 -eq 0 ']'
2020-12-26 12:46:05,840: WARNING - This may mean that the package is missing, has been obsoleted, or
2020-12-26 12:46:05,841: DEBUG - + trap '' EXIT
2020-12-26 12:46:05,841: WARNING - is only available from another source
2020-12-26 12:46:05,842: DEBUG - + set +o errexit
2020-12-26 12:46:05,843: WARNING - 
2020-12-26 12:46:05,844: DEBUG - + set +o nounset
2020-12-26 12:46:05,844: WARNING - E: Package 'imagemagick' has no installation candidate
2020-12-26 12:46:05,846: DEBUG - + sleep 0.5
2020-12-26 12:46:05,846: WARNING - E: Package 'acl' has no installation candidate
2020-12-26 12:46:05,847: WARNING - E: Package 'smbclient' has no installation candidate
2020-12-26 12:46:05,848: WARNING - E: Package 'at' has no installation candidate
2020-12-26 12:46:05,848: WARNING - Unable to install dependencies
2020-12-26 12:46:06,351: DEBUG - + type -t ynh_clean_setup
2020-12-26 12:46:06,352: DEBUG - + exit 1
2020-12-26 12:46:06,386: ERROR - Impossible d’installer nextcloud : Une erreur est survenue dans le script d’installation de l’application

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