Configuration file '/etc/rspamd/maps.d/surbl-whitelist.inc'
2024-11-06 23:47:47,680: WARNING - ==> Modified (by you or by a script) since installation.
You could try to temporary rename this file and see if the installation is successful.
The problem is still here, log say that this file is deleted now.
It’s because you modifiy this file or there is a new file with the new version of rspamd. It prompt you to choose the new or old conf file.
There’s an option with apt to say what you want ( Dpkg::Options::=“–force-confnew or Dpkg::Options::=”–force-confold) but i don’t know how to integrate it with yunohost.
You can try to add the original file before install the package, so it shouldn’t prompt you to choose the version to keep :
Last if it doesn’t work, try to install rspamd with apt, you can answer what version you want to keep. After that, you should be able to install the yunohost rspamd package.
Now i’ve tried your tip to install rspamd via apt:
Installation ok, but service won’t start due to missing config file: rspamd_config_read: failed to load config: cannot open /etc/rspamd/rspamd.conf: No such file or directory
Now I’ve tried to install rspamd yunohost package on top of the apt installation: Now another file is missing
I start to think that it would be best to delete all traces of rspamd before retrying to install it via yunohost again?
2024-11-07 23:03:53,485: DEBUG - Installing new version of config file /etc/init.d/rspamd ...
2024-11-07 23:03:53,487: DEBUG -
2024-11-07 23:03:53,487: WARNING - Configuration file '/etc/logrotate.d/rspamd'
2024-11-07 23:03:53,489: WARNING - ==> Deleted (by you or by a script) since installation.
2024-11-07 23:03:53,490: WARNING - ==> Package distributor has shipped an updated version.
2024-11-07 23:03:53,491: WARNING - What would you like to do about it ? Your options are:
2024-11-07 23:03:53,492: WARNING - Y or I : install the package maintainer's version
2024-11-07 23:03:53,495: WARNING - N or O : keep your currently-installed version
2024-11-07 23:03:53,498: WARNING - D : show the differences between the versions
2024-11-07 23:03:53,499: WARNING - Z : start a shell to examine the situation
2024-11-07 23:03:53,500: WARNING - The default action is to keep your current version.
2024-11-07 23:03:53,501: WARNING - *** rspamd (Y/I/N/O/D/Z) [default=N] ? dpkg: error processing package rspamd (--install)
I think the same but it is not normal that install with apt don’t have the conf file.
I doubt the installation will succeed if apt fails. Perhaps waits for further advice before doing anything.