502 bad gateway and impossible to reinstall freshrss/puis impossible de réinstaller freshrss

Quand j’essaie d’installer php8.2-sqlite3 ça me répond ça:

Certains paquets ne peuvent être installés. Ceci peut signifier
que vous avez demandé l’impossible, ou bien, si vous utilisez la distribution unstable, que certains paquets n’ont pas encore
été créés ou ne sont pas sortis d’Incoming.
L’information suivante devrait vous aider à résoudre la situation :

Les paquets suivants contiennent des dépendances non satisfaites :
php8.2-sqlite3 : Dépend: php8.2-common (= 8.2.29-1~deb12u1) mais 8.2.29-5+0~20250907.81+debian12~1.gbp84dd39 devra être installé
E: Impossible de corriger les problèmes, des paquets défectueux sont en mode « garder en l’état ».

Bonjour @jarod5001 ,

merci pour ton aide.

Alors je sais pas trop pourquoi mais suite aux 2ères commandes, ça me renvoie ça avec update:

E: Le type « “deb » est inconnu sur la ligne 1 dans la liste des sources /etc/apt/sources.list.d/sury-php.list
E: La liste des sources ne peut être lue.

ok c’était un pb de formattage de l’adresse

j’ai corrigé, update marche mais ça renvoie ça maintenant:

Atteint :1 http://security.debian.org bookworm-security InRelease
Atteint :2 Index of /debian bookworm InRelease
Atteint :3 Index of /debian bookworm-updates InRelease
Atteint :5 https://packages.sury.org/php bookworm InRelease
Err :6 https://packages.sury.org bookworm InRelease
418 I’m a teapot [IP : 2a04:4e42:8e::820 443]
Atteint :7 https://dl.yarnpkg.com/debian stable InRelease
Atteint :4 Index of /debian/ bookworm InRelease
Lecture des listes de paquets… Fait
E: Impossible de récupérer https://packages.sury.org/dists/bookworm/InRelease 418 I’m a teapot [IP : 2a04:4e42:8e::820 443]
E: Le dépôt https://packages.sury.org bookworm InRelease n’est pas signé.
N: Les mises à jour depuis un tel dépôt ne peuvent s’effectuer de manière sécurisée, et sont donc désactivées par défaut.
N: Voir les pages de manuel d’apt-secure(8) pour la création des dépôts et les détails de configuration d’un utilisateur.
W: http://security.debian.org/dists/bookworm-security/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/php.gpg are ignored as the file has an unsupported filetype.
W: http://ftp.debian.org/debian/dists/bookworm/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/php.gpg are ignored as the file has an unsupported filetype.
W: http://ftp.debian.org/debian/dists/bookworm-updates/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/php.gpg are ignored as the file has an unsupported filetype.
W: https://packages.sury.org/php/dists/bookworm/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/php.gpg are ignored as the file has an unsupported filetype.
N: Le fichier configuré « main/binary-i386/Packages » ne sera pas pris en compte car le dépôt « https://packages.sury.org/php bookworm InRelease » ne prend pas en charge l’architecture « i386 »

Hello j’ai les même problème sur une VM plutôt puissante.
System:
Kernel: 6.1.0-41-amd64 arch: x86_64 bits: 64 compiler: gcc v: 12.2.0 Console: pty pts/1
Distro: Debian GNU/Linux 12 (bookworm)
Machine:
Type: Kvm System: QEMU product: Standard PC (Q35 + ICH9, 2009) v: pc-q35-9.2 serial: N/A
Mobo: N/A model: N/A serial: N/A BIOS: SeaBIOS v:rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org
date: 04/01/2014
CPU:
Info: quad core model: 13th Gen Intel Core i7-1355U bits: 64 type: MCP arch: Raptor Lake rev: 3
cache: L1: 256 KiB L2: 16 MiB L3: 16 MiB
Speed (MHz): avg: 2611 min/max: N/A cores: 1: 2611 2: 2611 3: 2611 4: 2611 bogomips: 20889
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx

Je pense qu’on peut éliminer le matériel.

2026-01-11 08:57:03,485: WARNING -  php8.2-sqlite3 : Depends: php8.2-common (= 8.2.29-1~deb12u1) but 8.2.29-5+0~20250907.81+debian12~1.gbp84dd39 is to be installed

:zany_face:
J’imagine que, quitte à être taquin, le serveur a dû installer la dernière version de php8.2 depuis les dépôts sury (quand il y avait encore “droit”) et, à présent, il ne peut plus les utiliser…

Que renvoie

apt policy php8.2 php8.2-common php8.2-sqlite3

? … un joli mélange de sources sury et debian ? Si oui, c’est probablement ce qui se passe.

Tu peux peut-être tenter ceci

apt install --simulate php8.2-common=8.2.29-1~deb12u1 # tu enlèves le --simulate si cela donne le résultat escompté

= forcer les installations (ici pour common mais valable pour d’autres) en fonction de la seule version “candidate” disponible.
Mais ça peut devenir le bazar avec des dépendances hétéroclites. Ceci dit, pas sûr que tu installes de nouvelles applications utilisant php…

Un problème de sources php ?

Coucou :slightly_smiling_face:

Ça renvoie ça:

php8.2:
Installé : 8.2.29-5+0~20250907.81+debian12~1.gbp84dd39
Candidat : 8.2.29-5+0~20250907.81+debian12~1.gbp84dd39
Table de version :
*** 8.2.29-5+0~20250907.81+debian12~1.gbp84dd39 100
100 /var/lib/dpkg/status
8.2.29-1~deb12u1 500
500 Index of /debian bookworm/main i386 Packages
500 http://security.debian.org bookworm-security/main i386 Packages
php8.2-common:
Installé : 8.2.29-5+0~20250907.81+debian12~1.gbp84dd39
Candidat : 8.2.29-5+0~20250907.81+debian12~1.gbp84dd39
Table de version :
*** 8.2.29-5+0~20250907.81+debian12~1.gbp84dd39 100
100 /var/lib/dpkg/status
8.2.29-1~deb12u1 500
500 Index of /debian bookworm/main i386 Packages
500 http://security.debian.org bookworm-security/main i386 Packages
php8.2-sqlite3:
Installé : (aucun)
Candidat : 8.2.29-1~deb12u1
Table de version :
8.2.29-1~deb12u1 500
500 Index of /debian bookworm/main i386 Packages
500 http://security.debian.org bookworm-security/main i386 Packages

ça ça renvoie ça:

Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :
libarchive13 libc-client2007e libldb2 liblzf1 libsmbclient libtalloc2 libtdb1 libtevent0 libwbclient0 mlock php7.0-gd php7.3-gd php7.4-gd php8.0-gd php8.1-gd redis-server redis-tools samba-common samba-libs smbclient
Veuillez utiliser « sudo apt autoremove » pour les supprimer.
Les paquets suivants seront ENLEVÉS :
libapache2-mod-php8.2 nextcloud-ynh-deps php php-gd php-xml php8.2 php8.2-apcu php8.2-bcmath php8.2-bz2 php8.2-cli php8.2-curl php8.2-fpm php8.2-gd php8.2-gmp php8.2-igbinary php8.2-imagick php8.2-imap php8.2-intl php8.2-ldap
php8.2-mbstring php8.2-mysql php8.2-opcache php8.2-readline php8.2-redis php8.2-xml php8.2-zip
Les paquets suivants seront mis à une VERSION INFÉRIEURE :
php8.2-common
0 mis à jour, 0 nouvellement installés, 1 remis à une version inférieure, 26 à enlever et 0 non mis à jour.
Remv php [2:8.2+93]
Remv nextcloud-ynh-deps [27.1.2~ynh3]
Remv php8.2 [8.2.29-5+0~20250907.81+debian12~1.gbp84dd39]
Remv php8.2-redis [6.2.0-1+0~20250408.63+debian12~1.gbp272b23]
Remv php8.2-imagick [3.8.0-1+0~20250418.51+debian12~1.gbpab6fa0]
Remv libapache2-mod-php8.2 [8.2.29-5+0~20250907.81+debian12~1.gbp84dd39]
Remv php-gd [2:8.2+93]
Remv php-xml [2:8.2+93]
Remv php8.2-apcu [5.1.27-1+0~20250908.45+debian12~1.gbpc79238]
Remv php8.2-bcmath [8.2.29-5+0~20250907.81+debian12~1.gbp84dd39]
Remv php8.2-bz2 [8.2.29-5+0~20250907.81+debian12~1.gbp84dd39]
Remv php8.2-igbinary [3.2.16-4+0~20250816.54+debian12~1.gbpef518d]
Remv php8.2-fpm [8.2.29-5+0~20250907.81+debian12~1.gbp84dd39]
Remv php8.2-cli [8.2.29-5+0~20250907.81+debian12~1.gbp84dd39]
Remv php8.2-curl [8.2.29-5+0~20250907.81+debian12~1.gbp84dd39]
Remv php8.2-gd [8.2.29-5+0~20250907.81+debian12~1.gbp84dd39]
Remv php8.2-gmp [8.2.29-5+0~20250907.81+debian12~1.gbp84dd39]
Remv php8.2-imap [8.2.29-5+0~20250907.81+debian12~1.gbp84dd39]
Remv php8.2-intl [8.2.29-5+0~20250907.81+debian12~1.gbp84dd39]
Remv php8.2-ldap [8.2.29-5+0~20250907.81+debian12~1.gbp84dd39]
Remv php8.2-mbstring [8.2.29-5+0~20250907.81+debian12~1.gbp84dd39]
Remv php8.2-mysql [8.2.29-5+0~20250907.81+debian12~1.gbp84dd39]
Remv php8.2-opcache [8.2.29-5+0~20250907.81+debian12~1.gbp84dd39]
Remv php8.2-readline [8.2.29-5+0~20250907.81+debian12~1.gbp84dd39]
Remv php8.2-xml [8.2.29-5+0~20250907.81+debian12~1.gbp84dd39]
Remv php8.2-zip [8.2.29-5+0~20250907.81+debian12~1.gbp84dd39]
Inst php8.2-common [8.2.29-5+0~20250907.81+debian12~1.gbp84dd39] (8.2.29-1~deb12u1 Debian:12.13/oldstable, Debian-Security:12/oldstable-security [i386])
Conf php8.2-common (8.2.29-1~deb12u1 Debian:12.13/oldstable, Debian-Security:12/oldstable-security [i386])

mais j’ose pas trop envoyer la commande sans –simulate parce que j’ai peur que virer ça: nextcloud-ynh-deps me pète mon nextcloud :grimacing:

apt install --simulate php8.2-common=8.2.29-1~deb12u1
: au vu de la sortie, oui : c’est risqué… :scream: En fait, il faudrait prendre le risque de tout rétrograder pour une app en espérant que ça ne casse rien dans les autres.

Au mieux, à tester (mais échec quasi sûr car dépend de common)

apt install --simulate php8.2-sqlite3=8.2.29-1~deb12u1

Yes échec :pensive_face:

Certains paquets ne peuvent être installés. Ceci peut signifier
que vous avez demandé l’impossible, ou bien, si vous utilisez
la distribution unstable, que certains paquets n’ont pas encore
été créés ou ne sont pas sortis d’Incoming.
L’information suivante devrait vous aider à résoudre la situation :

Les paquets suivants contiennent des dépendances non satisfaites :
php8.2-sqlite3 : Dépend: php8.2-common (= 8.2.29-1~deb12u1) mais 8.2.29-5+0~20250907.81+debian12~1.gbp84dd39 devra être installé
E: Impossible de corriger les problèmes, des paquets défectueux sont en mode « garder en l’état ».

En fait je crois que je vais dire adieu à ma bécane, ça devient l’enfer de gérer une i386.

Vu la place que prend mon serveur dans mon vie maintenant (j’avais testé au début…maintenant je suis totalement dégooglelisé en perso), il est temps que j’investisse dans du vrai matos…(d’ailleurs si vous avez des recommandations, je suis preneur :sweat_smile: )

Personnellement j’ai désinstallé freshrss, je vais essayer les alternatives et gardes les sources apt orthodoxes.

ouaip j’ai tenté mais y’a aucune alternative valable pour une i386 dans les applications :pensive_face:

Désolé pour le délai. Oui je rencontre le même problème avec fail2ban web qui se plaint de ne pas trouver php8.3-fpm.

args:
  app: fail2ban-web
  force: false
  ignore_yunohost_version: false
  label: Fail2Ban Webinterface
  no_remove_on_failure: false
ended_at: 2026-01-16 10:12:38.707549
error: 'An error occured inside the script snippet : Unable to install apt dependencies,
  it might be due to a conflict with another app - or you should check and share the
  previous log about what are the problematic dependencies'
interface: api
operation: app_install
parent: null
related_to:
- - app
  - fail2ban-web
started_at: 2026-01-16 10:12:34.436573
started_by: ******
success: false
yunohost_version: 12.1.39

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

2026-01-16 11:12:35,444: INFO - Installation de fail2ban-web…
2026-01-16 11:12:35,445: INFO - Provisioning sources...
2026-01-16 11:12:35,445: DEBUG - Prefetching asset main: https://github.com/ewilly/fail2ban-web-interface-php/archive/refs/tags/v1.3.tar.gz ...
2026-01-16 11:12:36,041: INFO - Provisioning system_user...
2026-01-16 11:12:36,117: INFO - Provisioning install_dir...
2026-01-16 11:12:36,119: INFO - Provisioning permissions...
2026-01-16 11:12:36,120: DEBUG - Permission 'fail2ban-web.main' mise à jour
2026-01-16 11:12:36,122: DEBUG - Permission 'fail2ban-web.main' créée
2026-01-16 11:12:36,124: DEBUG - Permission 'fail2ban-web.main' mise à jour
2026-01-16 11:12:36,125: DEBUG - Permission 'fail2ban-web.main' mise à jour
2026-01-16 11:12:36,131: DEBUG - Creating LDAP perm fail2ban-web.main
2026-01-16 11:12:36,136: DEBUG - Permissions were resynchronized to LDAP
2026-01-16 11:12:36,148: DEBUG - Formating result in 'export' mode
2026-01-16 11:12:36,149: DEBUG - La configuration de SSOwat a été regénérée
2026-01-16 11:12:36,150: INFO - Provisioning apt...
2026-01-16 11:12:36,153: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./provision_or_update_apt"  7>&1']'
2026-01-16 11:12:36,160: DEBUG - + source /usr/share/yunohost/helpers
2026-01-16 11:12:36,161: DEBUG - ++++ dirname -- /usr/share/yunohost/helpers
2026-01-16 11:12:36,161: DEBUG - +++ cd -- /usr/share/yunohost
2026-01-16 11:12:36,161: DEBUG - +++ pwd
2026-01-16 11:12:36,161: DEBUG - ++ SCRIPT_DIR=/usr/share/yunohost
2026-01-16 11:12:36,162: DEBUG - ++ YNH_HELPERS_VERSION=2.1
2026-01-16 11:12:36,162: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2026-01-16 11:12:36,162: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2026-01-16 11:12:36,168: DEBUG - + ynh_abort_if_errors
2026-01-16 11:12:36,168: DEBUG - + trap ynh_exit_properly EXIT
2026-01-16 11:12:36,169: DEBUG - + ynh_apt_install_dependencies fail2ban php8.3-fpm
2026-01-16 11:12:36,169: DEBUG - ++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g'
2026-01-16 11:12:36,169: DEBUG - ++ sed 's/|/ | /'
2026-01-16 11:12:36,169: DEBUG - + local 'dependencies=fail2ban, php8.3-fpm'
2026-01-16 11:12:36,170: DEBUG - ++ ynh_read_manifest version
2026-01-16 11:12:36,170: DEBUG - ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_edpbadq_/manifest.toml
2026-01-16 11:12:36,170: DEBUG - ++ toml_to_json
2026-01-16 11:12:36,170: DEBUG - ++ jq .version --raw-output
2026-01-16 11:12:36,170: DEBUG - ++ python3 -c 'import toml, json, sys; print(json.dumps(toml.load(sys.stdin)))'
2026-01-16 11:12:36,192: DEBUG - + local version=1.3~ynh2
2026-01-16 11:12:36,192: DEBUG - + local app_ynh_deps=fail2ban-web-ynh-deps
2026-01-16 11:12:36,192: DEBUG - + grep '[<=>]'
2026-01-16 11:12:36,192: DEBUG - ++ grep -oP '(?<=php)[0-9.]+(?=-|\>|)'
2026-01-16 11:12:36,193: DEBUG - ++ sort -u
2026-01-16 11:12:36,193: DEBUG - + local specific_php_version=8.3
2026-01-16 11:12:36,193: DEBUG - + [[ -n 8.3 ]]
2026-01-16 11:12:36,194: DEBUG - ++ echo 8.3
2026-01-16 11:12:36,194: DEBUG - ++ wc -l
2026-01-16 11:12:36,194: DEBUG - + [[ 1 -eq 1 ]]
2026-01-16 11:12:36,195: DEBUG - + dependencies+=', php8.3, php8.3-fpm, php8.3-common'
2026-01-16 11:12:36,195: DEBUG - ++ ynh_app_setting_get --key=php_version
2026-01-16 11:12:36,222: DEBUG - + local old_php_version=
2026-01-16 11:12:36,222: DEBUG - + '[' -n '' ']'
2026-01-16 11:12:36,222: DEBUG - + ynh_app_setting_set --key=php_version --value=8.3
2026-01-16 11:12:36,258: DEBUG - + test -e /usr/bin/php8.2
2026-01-16 11:12:36,259: DEBUG - + update-alternatives --set php /usr/bin/php8.2
2026-01-16 11:12:36,259: DEBUG - ++ _ynh_apt_package_is_installed postgresql-15
2026-01-16 11:12:36,260: DEBUG - ++ local package=postgresql-15
2026-01-16 11:12:36,260: DEBUG - ++ dpkg-query --show '--showformat=${db:Status-Status}' postgresql-15
2026-01-16 11:12:36,260: DEBUG - ++ grep --quiet '^installed$'
2026-01-16 11:12:36,264: DEBUG - ++ echo no
2026-01-16 11:12:36,264: DEBUG - + local psql_installed=no
2026-01-16 11:12:36,265: DEBUG - + [[ true == \t\r\u\e ]]
2026-01-16 11:12:36,265: DEBUG - + YNH_APT_INSTALL_DEPENDENCIES_REPLACE=false
2026-01-16 11:12:36,265: DEBUG - ++ mktemp --directory
2026-01-16 11:12:36,265: DEBUG - + local TMPDIR=/tmp/tmp.KUPiuxzh3g
2026-01-16 11:12:36,265: DEBUG - + mkdir -p /tmp/tmp.KUPiuxzh3g/fail2ban-web-ynh-deps/DEBIAN
2026-01-16 11:12:36,266: DEBUG - + chmod -R 755 /tmp/tmp.KUPiuxzh3g/fail2ban-web-ynh-deps
2026-01-16 11:12:36,267: DEBUG - + cat
2026-01-16 11:12:36,267: DEBUG - + _ynh_apt update
2026-01-16 11:12:36,267: DEBUG - + [[ update == \u\p\d\a\t\e ]]
2026-01-16 11:12:36,267: DEBUG - + local aptcache=/var/cache/apt/pkgcache.bin
2026-01-16 11:12:36,268: DEBUG - + sleep 1
2026-01-16 11:12:37,268: DEBUG - + [[ -e /var/cache/apt/pkgcache.bin ]]
2026-01-16 11:12:37,268: DEBUG - ++ find /var/cache/apt/pkgcache.bin -mmin -30
2026-01-16 11:12:37,269: DEBUG - + [[ -n /var/cache/apt/pkgcache.bin ]]
2026-01-16 11:12:37,270: DEBUG - ++ find /etc/apt/ -newer /var/cache/apt/pkgcache.bin
2026-01-16 11:12:37,270: DEBUG - + [[ -z '' ]]
2026-01-16 11:12:37,271: DEBUG - apt cache was already updated in the last 30 minutes, skipping 'apt update'
2026-01-16 11:12:37,271: DEBUG - + return
2026-01-16 11:12:37,271: DEBUG - + _ynh_wait_dpkg_free
2026-01-16 11:12:37,415: DEBUG - + return 0
2026-01-16 11:12:37,416: DEBUG - + dpkg-deb --build /tmp/tmp.KUPiuxzh3g/fail2ban-web-ynh-deps /tmp/tmp.KUPiuxzh3g/fail2ban-web-ynh-deps.deb
2026-01-16 11:12:37,428: DEBUG - + dpkg --force-depends --install /tmp/tmp.KUPiuxzh3g/fail2ban-web-ynh-deps.deb
2026-01-16 11:12:37,428: DEBUG - + tee /tmp/tmp.KUPiuxzh3g/dpkg_log
2026-01-16 11:12:37,447: DEBUG - Selecting previously unselected package fail2ban-web-ynh-deps.
2026-01-16 11:12:37,460: DEBUG - (Reading database ... 61960 files and directories currently installed.)
2026-01-16 11:12:37,461: DEBUG - Preparing to unpack .../fail2ban-web-ynh-deps.deb ...
2026-01-16 11:12:37,465: DEBUG - Unpacking fail2ban-web-ynh-deps (1.3~ynh2) ...
2026-01-16 11:12:37,487: DEBUG - dpkg: fail2ban-web-ynh-deps: dependency problems, but configuring anyway as you requested:
2026-01-16 11:12:37,487: DEBUG -  fail2ban-web-ynh-deps depends on php8.3-fpm; however:
2026-01-16 11:12:37,488: DEBUG -   Package php8.3-fpm is not installed.
2026-01-16 11:12:37,488: DEBUG -  fail2ban-web-ynh-deps depends on php8.3; however:
2026-01-16 11:12:37,488: DEBUG -   Package php8.3 is not installed.
2026-01-16 11:12:37,488: DEBUG -  fail2ban-web-ynh-deps depends on php8.3-fpm; however:
2026-01-16 11:12:37,488: DEBUG -   Package php8.3-fpm is not installed.
2026-01-16 11:12:37,488: DEBUG -  fail2ban-web-ynh-deps depends on php8.3-common; however:
2026-01-16 11:12:37,488: DEBUG -   Package php8.3-common is not installed.
2026-01-16 11:12:37,489: DEBUG - 
2026-01-16 11:12:37,489: DEBUG - Setting up fail2ban-web-ynh-deps (1.3~ynh2) ...
2026-01-16 11:12:37,506: DEBUG - + _ynh_apt_install --fix-broken
2026-01-16 11:12:37,507: DEBUG - + _ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2026-01-16 11:12:37,507: DEBUG - + [[ --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken == \u\p\d\a\t\e ]]
2026-01-16 11:12:37,507: DEBUG - + _ynh_wait_dpkg_free
2026-01-16 11:12:37,627: DEBUG - + return 0
2026-01-16 11:12:37,628: 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
2026-01-16 11:12:37,700: DEBUG - Reading package lists...
2026-01-16 11:12:37,791: DEBUG - Building dependency tree...
2026-01-16 11:12:37,791: DEBUG - Reading state information...
2026-01-16 11:12:37,835: DEBUG - Correcting dependencies... Done
2026-01-16 11:12:37,926: DEBUG - The following packages will be REMOVED:
2026-01-16 11:12:37,927: DEBUG -   fail2ban-web-ynh-deps
2026-01-16 11:12:37,933: DEBUG - 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
2026-01-16 11:12:37,934: WARNING - E: Packages need to be removed but remove is disabled.
2026-01-16 11:12:37,934: DEBUG - + cat /tmp/tmp.KUPiuxzh3g/dpkg_log
2026-01-16 11:12:37,935: DEBUG - Selecting previously unselected package fail2ban-web-ynh-deps.
2026-01-16 11:12:37,935: DEBUG - (Reading database ... 61960 files and directories currently installed.)
2026-01-16 11:12:37,935: DEBUG - Preparing to unpack .../fail2ban-web-ynh-deps.deb ...
2026-01-16 11:12:37,935: DEBUG - Unpacking fail2ban-web-ynh-deps (1.3~ynh2) ...
2026-01-16 11:12:37,936: DEBUG - dpkg: fail2ban-web-ynh-deps: dependency problems, but configuring anyway as you requested:
2026-01-16 11:12:37,936: DEBUG -  fail2ban-web-ynh-deps depends on php8.3-fpm; however:
2026-01-16 11:12:37,936: DEBUG -   Package php8.3-fpm is not installed.
2026-01-16 11:12:37,936: DEBUG -  fail2ban-web-ynh-deps depends on php8.3; however:
2026-01-16 11:12:37,936: DEBUG -   Package php8.3 is not installed.
2026-01-16 11:12:37,937: DEBUG -  fail2ban-web-ynh-deps depends on php8.3-fpm; however:
2026-01-16 11:12:37,937: DEBUG -   Package php8.3-fpm is not installed.
2026-01-16 11:12:37,937: DEBUG -  fail2ban-web-ynh-deps depends on php8.3-common; however:
2026-01-16 11:12:37,937: DEBUG -   Package php8.3-common is not installed.
2026-01-16 11:12:37,937: DEBUG - 
2026-01-16 11:12:37,937: DEBUG - Setting up fail2ban-web-ynh-deps (1.3~ynh2) ...
2026-01-16 11:12:37,938: DEBUG - + mapfile -t problematic_dependencies
2026-01-16 11:12:37,938: DEBUG - ++ grep -oP '(?<=-ynh-deps depends on ).*(?=; however)' /tmp/tmp.KUPiuxzh3g/dpkg_log
2026-01-16 11:12:37,938: DEBUG - + (( 4 != 0 ))
2026-01-16 11:12:37,938: DEBUG - + _ynh_apt_install php8.3-fpm php8.3 php8.3-fpm php8.3-common --dry-run
2026-01-16 11:12:37,939: DEBUG - + _ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install php8.3-fpm php8.3 php8.3-fpm php8.3-common --dry-run
2026-01-16 11:12:37,939: DEBUG - + [[ --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install php8.3-fpm php8.3 php8.3-fpm php8.3-common --dry-run == \u\p\d\a\t\e ]]
2026-01-16 11:12:37,939: DEBUG - + _ynh_wait_dpkg_free
2026-01-16 11:12:37,939: DEBUG - + grep -v 'fix-broken\|Reading state info'
2026-01-16 11:12:37,940: DEBUG - + sed --quiet '/Reading state info/,$p'
2026-01-16 11:12:38,063: DEBUG - + return 0
2026-01-16 11:12:38,063: 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 php8.3-fpm php8.3 php8.3-fpm php8.3-common --dry-run
2026-01-16 11:12:38,180: WARNING - Package php8.3-fpm is not available, but is referred to by another package.
2026-01-16 11:12:38,181: DEBUG - + ynh_die 'Unable to install apt dependencies, it might be due to a conflict with another app - or you should check and share the previous log about what are the problematic dependencies'
2026-01-16 11:12:38,181: WARNING - This may mean that the package is missing, has been obsoleted, or
2026-01-16 11:12:38,181: WARNING - is only available from another source
2026-01-16 11:12:38,182: DEBUG - 
2026-01-16 11:12:38,182: WARNING - Package php8.3 is not available, but is referred to by another package.
2026-01-16 11:12:38,182: WARNING - This may mean that the package is missing, has been obsoleted, or
2026-01-16 11:12:38,183: WARNING - is only available from another source
2026-01-16 11:12:38,183: DEBUG - 
2026-01-16 11:12:38,184: WARNING - Package php8.3-common is not available, but is referred to by another package.
2026-01-16 11:12:38,184: WARNING - This may mean that the package is missing, has been obsoleted, or
2026-01-16 11:12:38,184: WARNING - is only available from another source
2026-01-16 11:12:38,185: DEBUG - 
2026-01-16 11:12:38,185: WARNING - E: Package 'php8.3-fpm' has no installation candidate
2026-01-16 11:12:38,185: WARNING - E: Package 'php8.3' has no installation candidate
2026-01-16 11:12:38,185: WARNING - E: Package 'php8.3-fpm' has no installation candidate
2026-01-16 11:12:38,185: WARNING - E: Package 'php8.3-common' has no installation candidate
2026-01-16 11:12:38,204: WARNING - Unable to install apt dependencies, it might be due to a conflict with another app - or you should check and share the previous log about what are the problematic dependencies
2026-01-16 11:12:38,707: ERROR - provision_or_update failed for apt : An error occured inside the script snippet : Unable to install apt dependencies, it might be due to a conflict with another app - or you should check and share the previous log about what are the problematic dependencies

Que te renvoient :

cat /etc/apt/sources.list.d/extra_php_version.list
sudo yunohost tools regen-conf apt --dry-run --with-diff
apt-cache policy php8.3
axel@iapourleweb:~$ cat /etc/apt/sources.list.d/extra_php_version.list
cat: /etc/apt/sources.list.d/extra_php_version.list: Aucun fichier ou dossier de ce type
axel@iapourleweb:~$ sudo yunohost tools regen-conf apt --dry-run --with-diff
apt-cache policy php8.3Info : Le fichier de configuration '/etc/apt/sources.list.d/extra_php_version.list' a été supprimé manuellement et ne sera pas créé
apt:
  applied:
  pending:
    /etc/apt/sources.list.d/extra_php_version.list:
      diff: @@ -0,0 +1 @@
+deb [signed-by=/etc/apt/trusted.gpg.d/extra_php_version.gpg] https://packages.sury.org/php/ bookworm main
      status: removed

En premier je tiens a vous remercier pour l’attention et les réponse a mon message.

Pour donner du contexte, le premier janvier j’ai fait un:

sudo rm /etc/apt/sources.list.d/extra_php_version.list

C’était suite a une maj ou sury ne répondait plus.
S’en est suivie une longue discussion avec chatgpt ou j’ai cherché a déterminer si il était opportun d’enlever sury de mes dépots…

un “court” extrait :

:white_check_mark: Ce que je te recommande (clair et propre)

:one: Vérifier d’où vient ce dépôt

grep -R "sury" /etc/apt/sources.list /etc/apt/sources.list.d/

Tu verras probablement un fichier du type :

/etc/apt/sources.list.d/php.list

:two: Le supprimer (recommandé)

sudo rm /etc/apt/sources.list.d/php.list
sudo apt update

:right_arrow: Les warnings disparaîtront
:right_arrow: Tu restes 100 % conforme YunoHost


:red_question_mark: Et si tu avais besoin de PHP récent ?

Avec YunoHost :

  • NON, on ne passe pas par Sury
  • On attend les mises à jour YunoHost
  • Ou on isole dans une VM / conteneur séparé

:backhand_index_pointing_right: Tu fais déjà exactement ce qu’il faut dans ton infra actuelle.


:brain: En résumé

Point Statut
packages.sury.org Dépôt PHP tiers
Utile sur Debian “vanilla” :white_check_mark:
Utile sur YunoHost :cross_mark:
Risque de conflit :warning:
Action recommandée Supprimer

En tout cas merci encore !

Le dépôt sury.org n’était plus joignable ce jour-là, d’où l’erreur rencontrée:

Cela part d’un mauvais concours de circosnstances et…

…de mauvais conseils car le dépôt sury est ajouté dans les listes par yunohost même (à l’installation, je crois).

Le regen-conf indique que le dépôt sury a été manuellement supprimé. Il ne se “permet” donc pas de le recréer automatiquement mais indique que la recréation est en attente. Pour l’appliquer:

yunohost tools regen-conf apt -f

Le dépôt sury va revenir dans les listes et les installations de php redevenir opérationnelles (normalement, hein…:wink: )

1 Like