[Debian-iot-maintainers] Bug#1035503: glewlwyd-common: prompting due to modified conffiles which were not modified by the user: /etc/glewlwyd/config.json

Thorsten Alteholz debian at alteholz.de
Sat May 6 11:31:12 BST 2023


Hi Nicolas,

this bug is about upgrading from glewlwyd 2.5.2 to 2.7.5.
In 2.5.2 the file config.json is created in glewlwyd.postinst. So this 
file does not belong to any package but appears out of the blue for dpkg.
In rm_conffile from dpkg-maintscript-helper a function 
prepare_rm_conffile() is called which does a call to 
ensure_package_owns_file() at one of the first steps.
But config.json does not belong to glewlwyd  much less to 
glewlwyd-common, so I am afraid these official mechanism won't work.

I am not sure whether any admin needs to modify config.json, but 
probably yes, so simply removing the file might anger somebody.

Maybe introducing a new filename and adding an entry to the news file 
could be an option.

   Thorsten




More information about the Debian-iot-maintainers mailing list