Package: dbconfig-common Version: 1.8.46 Severity: normal When removing a database during uninstall of my package (moodle), dbconfig-common shows: dbconfig-common: dropping pgsql database moodle. dropping database moodle: does not exist.
The actual reason for not removing a DB is different - postgresql does not allow dropping the DB if there are still some connections left - and this happens quite often. I would suggest to: 1. Extend the functionality of dbconfig-common and kill connections to the postgresql database in question by executing: pkill -f 'postgres: postgres $dbc_dbname' 2. Improve the error message - and print the response from postgresql (which is "ERROR: database is being accessed by other users") cheers, Tomek Muras -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org