hi ! That worked, ie it created /etc/apt/trusted.gpg.d/extra_php_version.gpg
For some reason that didn’t occur during the initial setup with curl | bash.
Reviewing the postinstall logs, I see the initial calls to regen-conf failed with an exception:
2025-11-02 19:26:50,712: WARNING - sed: can't read /etc/apt/sources.list: No such file or directory
2025-11-02 19:26:50,814: ERROR - Échec de l'exécution du script : /usr/share/yunohost/hooks/conf_regen/10-apt
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/yunohost/hook.py", line 302, in hook_callback
hook_return = hook_exec(
~~~~~~~~~^
path, args=hook_args, chdir=chdir, env=env, raise_on_error=True
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)[1]
^
File "/usr/lib/python3/dist-packages/yunohost/hook.py", line 430, in hook_exec
raise YunohostError("hook_exec_failed", path=path)
yunohost.utils.error.YunohostError: Échec de l'exécution du script : /usr/share/yunohost/hooks/conf_regen/10-apt
2025-11-02 19:26:50,816: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./15-nginx" post \'\' \'\' /etc/nginx/conf.d/yunohost_admin.conf,/etc/nginx/conf.d/ssowat.conf,/etc/nginx/conf.d/yunolxc.raoull.org.conf,/etc/nginx/conf.d/yunohost_api.conf.inc,/etc/nginx/conf.d/acme-challenge.conf.inc,/etc/nginx/conf.d/yunohost_http_errors.conf.inc,/etc/nginx/conf.d/yunohost_admin.conf.inc,/etc/nginx/conf.d/security.conf.inc,/etc/nginx/conf.d/global.conf,/etc/nginx/conf.d/yunohost_sso.conf.inc,/etc/nginx/conf.d/yunohost_panel.conf.inc,/etc/nginx/conf.d/default.d/redirect_to_admin.conf,/var/www/.well-known/yunolxc.raoull.org/autoconfig/mail/config-v1.1.xml 7>&1']'
On that system, all sources are located in /etc/apt/sources.list.d/, including debian official sources. There was NO /etc/apt/sources.list file when it was installed.
That file was apparently created at a later time by some script, maybe by Yunohost itself, not sure. And the later call to regen-conf worked.