Package: jffnms Version: 0.8.1-2 Severity: important
I was trying to purge jffnms from my system as I don't need it anymore and used the following command: sudo aptitude purge jffnms This works fine, except that the postrm script fails, as it is trying to do the deletedb function in it, as user jffnms, AFTER removing the user jffnms. The error I get is: Purging configuration files for jffnms ... 0 psql: FATAL: IDENT authentication failed for user "jffnms" dpkg: error processing jffnms (--purge): subprocess post-removal script returned error exit status 2 If I change the order so that the "deletedb" function in postrm is executed before removing the user from /etc/passwd, I get errors saying: Purging configuration files for jffnms ... ERROR: current user cannot be dropped But the package does get purged !!! :-) I think ensuring that the removal of the jffnms user is done at the end, and that deletedb is done using the postgres admin user, should probably get rid of even the second set of errors. cheers, mehul -- System Information: Debian Release: 3.1 Architecture: powerpc (ppc) Kernel: Linux 2.6.8-powerpc Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages jffnms depends on: ii apache2 2.0.54-5 next generation, scalable, extenda ii apache2-mpm-prefork [httpd] 2.0.54-5 traditional model for Apache2 ii debconf 1.4.30.13 Debian configuration management sy ii php4 4:4.3.10-16 server-side, HTML-embedded scripti ii php4-cli 4:4.3.10-16 command-line interpreter for the p ii php4-gd [php4-gd2] 4:4.3.10-16 GD module for php4 ii php4-pgsql 3:4.3.10-4 PostgreSQL module for php4 ii php4-snmp 4:4.3.10-16 SNMP module for php4 ii rrdtool 1.0.49-1 Time-series data storage and displ ii wwwconfig-common 0.0.43 Debian web auto configuration -- debconf information: jffnms/createdb_error: * jffnms/compresslogs: 2 * jffnms/dbhost: localhost * jffnms/dbadmin: jffnms jffnms/nosqlupgrade: * jffnms/dbcreate: true jffnms/erroruid: * jffnms/configapache: Apache * jffnms/deletelogs: 7 jffnms/errorgid: * jffnms/dbuser: jffnms * jffnms/dbtype: postgresql * jffnms/upgradedb: true * jffnms/dbname: jffnms -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]