Hello Misha, Thank you for reporting this issue. I have tested locally and updated the postrm as you suggested.
Thank you, tony On 10/07/2010 10:18 AM, Misha Koshelev wrote: > Package: tomcat6 > Version: 6.0.28-6 > Severity: normal > > Here is relevant part of postrm: > deluser tomcat6 > delgroup tomcat6 > > I believe this could possibly be: > db_get tomcat6/username && TOMCAT6_USER="$RET" || > TOMCAT6_USER="tomcat6" > db_get tomcat6/groupname && TOMCAT6_GROUP="$RET" || > TOMCAT6_GROUP="tomcat6" > deluser $TOMCAT6_USER > delgroup $TOMCAT6_GROUP > > I tested this and indeed tomcat6 results in errors upon purge when > non-standard user and group are used: > > On install: > Adding system user `tomcat' (UID 106) ... > Adding new user `tomcat' (UID 106) with group `tomcat' ... > > On purge: > Purging configuration files for tomcat6 ... > /usr/sbin/deluser: The user `tomcat6' does not exist. > The group `tomcat6' does not exist. > > Thank you > Misha Koshelev
signature.asc
Description: OpenPGP digital signature