I maintain a native Debian package which installs an application and an initial SQLite database. I expect the application to edit the database.
How do I prevent upgrades from replacing the database?
I thought conffiles
would be the solution, but the Debian's maintainer guide says:
If your program uses configuration files but also rewrites them on its own, it's best not to make them conffiles because dpkg will then prompt users to verify the changes all the time.
What is the best alternative?