Bug#1029927: Unable run removal scripts

2023-01-28 Thread Jérôme Charaoui

I've submitted a merge request on salsa to fix this issue:

https://salsa.debian.org/debian/dbconfig-common/-/merge_requests/9

Thanks!



Bug#1029927: Unable run removal scripts

2023-01-28 Thread Jérôme Charaoui

Package: dbconfig-common
Version: 2.0.22

Hello,

I would like to provide a dbconfig-common removal script, to remove an 
extra read-only database user account, by installing an executable at:


/usr/share/dbconfig-common/scripts/puppetdb/remove/pgsql

However, there is an error when the maintainer script is invoked via 
dbconfig-common:


running maintainer removal script hook...  remove": 1: Syntax 
error: Unterminated quoted string 



error encountered running maintainer removal hook: 



/usr/share/dbconfig-common/scripts/puppetdb/remove/pgsql existed 
with non-zero status


When I invoke the script manually, it works fine, so it seems to be a 
problem with dbconfig-common itself.



Thanks,

-- Jérôme