I’m trying to create a package for the AppCenter, but I’m a little bit stuck with completely removing the package using AppCenter. I am using dbconfig-common to configure a postgresql database and when i remove my package manually with --purge, the database is removed, but when removing the package via SoftwareManagement, apt-get remove is called without purge and hence the database is not purged and will remain on the system. Thsi leads to problems when reinstalling the package. I already tried to call dbc_go package_name purge manually, but this doesn’t seem to work. Any ideas how I could proceed?
Thanks in advance