[can-not-install] maintainer script failure
Bug #93711 reported by
Michael Vogt
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
list (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: list
Found the following problem during a install test:
Setting up list (1.9.93-1) ...
chgrp: invalid group `stats'
chgrp: invalid group `stats'
dpkg: error processing list (--configure):
subprocess post-installation script returned error exit status 1
This fails because the grep in the postinst looks like this:
stats=`grep stats /etc/group 2>/dev/null`
if [ "${stats}" == "" ]; then
addgroup --system stats
fi
chgrp -R stats /etc/list && chmod -R g+w /etc/list
chgrp stats /etc/cron.
And the /etc/group looks like this (this was added by some other package):
$ grep stats /srv/installoma
remstats:
To post a comment you must log in.
list (1.9.93-1ubuntu1) feisty; urgency=low
* Rewrite the postinst and postrm so that it won't fall over completely
if a group containing 'stats' already exists. (LP: #93711)
* Update Maintainer address per policy.
-- Steve Kowalik <email address hidden> Fri, 23 Mar 2007 23:26:38 +1100