[can-not-install] maintainer script failure

Bug #93711 reported by Michael Vogt
4
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.daily/list.cronjob

And the /etc/group looks like this (this was added by some other package):
$ grep stats /srv/installomat/etc/group
remstats:x:144:www-data

Tags: packaging
Revision history for this message
Steve Kowalik (stevenk) wrote :

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

Revision history for this message
Steve Kowalik (stevenk) wrote :

list 1.9.93-1ubuntu1 has built successfully and landed in the archive.

Changed in list:
status: Unconfirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.