What type of hardware are you using: VPS bought online What YunoHost version are you running: 12.0.10 (stable). How are you able to access your server: The webadmin Are you in a special context or did you perform specific tweaking on your YunoHost instance ?: No
Describe your issue
I get a warning
Share relevant logs or error messages
I recieve this warning
What do I have to do ?
=================================
System configurations (regenconf)
[WARNING] Configuration file /etc/apt/sources.list.d/extra_php_version.list appears to have been manually modified.
This is probably OK if you know what you’re doing! YunoHost will stop updating this file automatically… But beware that YunoHost upgrades could contain important recommended changes. If you want to, you can inspect the differences with ‘yunohost tools regen-conf apt --dry-run --with-diff’ and force the reset to the recommended configuration with ‘yunohost tools regen-conf apt --force’
Sorry but it’s not clear (This is probably OK if you know what you’re doing! I don’t) , specially because I’m not use to work outside the admin panel
I didn’t manually modified anything.
That is why we have a forum! All, or at least most, of us at some point are not sure what we are doing. The benefit of not knowing what you are doing with computers is that it mostly does not cost lives if you make a mistake.
In such cases we go to the forum to ask for help. But many readers of the posts on this forum are not clearvoyant, nor do they have backdoor access to everyone’s servers. That is why it is helpful to give information about the situation, for example by posting the output of:
When you post that output, don’t forget to put three backticks (`) on the line above it, and on the line under it, so that it is formatted in a readable way!
udo yunohost tools regen-conf apt --dry-run --with-diff
[sudo] password for admin:
Warning: The configuration file '/etc/apt/sources.list.d/extra_php_version.list' has been manually modified and will not be updated
apt:
applied:
pending:
/etc/apt/sources.list.d/extra_php_version.list:
diff: @@ -1 +1 @@
-deb https://packages.sury.org/php/ bookworm main
+deb [signed-by=/etc/apt/trusted.gpg.d/extra_php_version.gpg] https://packages.sury.org/php/ bookworm main
status: modified
As you may know, apt is the underlying system for installing and removing packages/programs/apps.
If you look at both lines behind -deb and +deb , you see that both have https://packages.sury.org/php/ bookworm main. That is where (some of the) packages are downloaded from.
The difference is that the new version (with +) has a bit extra: [signed-by=/etc/apt/trusted.gpg.d/extra_php_version.gpg]. It tells apt how to verify the software is not changed.
On my (recently installed) system it has this bit extra as well. With cat I can display it without making a change:
wbk@ynh:~$ cat /etc/apt/sources.list.d/extra_php_version.list
deb [signed-by=/etc/apt/trusted.gpg.d/extra_php_version.gpg] https://packages.sury.org/php/ bookworm main
To change the file, the easiest way is to do as the warning in the diagnostics proposes: run sudo yunohost tools regen-conf apt --force