package canna (not installed) failed to install/upgrade: subprocess installed post-removal script returned error exit status 2 - /usr/sbin/deluser: The user `canna' does not exist.

Bug #569678 reported by Felipe Balbi
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
canna (Debian)
Fix Released
Unknown
canna (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: canna

got this when using synaptic to remove a bunch of packages and canna was one of them.

ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: canna (not installed)
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic i686
Architecture: i386
Date: Sun Apr 25 11:55:29 2010
ErrorMessage: subprocess installed post-removal script returned error exit status 2
SourcePackage: canna
Title: package canna (not installed) failed to install/upgrade: subprocess installed post-removal script returned error exit status 2

Related branches

Revision history for this message
Felipe Balbi (me-felipebalbi) wrote :
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thanks for you report

The relevant error is
---
Removing canna ...
Stopping cannaserver...
Purging configuration files for canna ...
Looking for files to backup/remove ...
Not backing up/removing `/var/lib/canna', it matches ^/var/.*.
Removing user `canna' ...
Warning: group `canna' has no more members.
Done.
/usr/sbin/deluser: The user `canna' does not exist.
dpkg: error processing canna (--purge):
 subprocess installed post-removal script returned error exit status 2

This occurs while purging the package.

Changed in canna (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
summary: package canna (not installed) failed to install/upgrade: subprocess
- installed post-removal script returned error exit status 2
+ installed post-removal script returned error exit status 2 -
+ /usr/sbin/deluser: The user `canna' does not exist.
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

here is a patch to fix this.

Changed in canna (Debian):
status: Unknown → New
tags: added: patch
David Futcher (bobbo)
tags: added: patch-forwarded-debian
removed: patch
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package canna - 3.7p3-6.4ubuntu1

---------------
canna (3.7p3-6.4ubuntu1) maverick; urgency=low

  * debian/postrm: Don't fail if canna user is already deleted (LP: #569678)
    Thanks to Jean-Baptiste Lallement for this patch.
 -- David Futcher <email address hidden> Mon, 07 Jun 2010 14:16:27 +0100

Changed in canna (Ubuntu):
status: Triaged → Fix Released
Changed in canna (Debian):
status: New → Fix Committed
Changed in canna (Debian):
status: Fix Committed → 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.