package typespeed failed to purge on remove: subprocess post-removal script returned error exit status 1

Bug #248216 reported by Jamie Dimmel on 2008-07-13
10
Affects Status Importance Assigned to Milestone
typespeed (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: typespeed

Was removing packages I don't use, and all worked ok. except Typespeed, which failed with an error code '1'. Tried installing and removing again, no luck.

After the error, if you look at the 'installed files' list in Synaptic, you see three entries remaining: /etc; /etc/typespeedrc; /var/games.

Running the command 'sudo apt-get --purge remove typespeed' from the command line, produces this error output:

Purging configuration files for typespeed ...
rmdir: failed to remove `/var/games/typespeed': No such file or directory
dpkg: error processing typespeed (--purge):
 subprocess post-removal script returned error exit status 1
Errors were encountered while processing:
 typespeed
E: Sub-process /usr/bin/dpkg returned an error code (1)

It seems as though /var/games/typespeed is a directory which is not being created in the first place. I tried reinstalling, then creating the directory manually, but then on purging I got the error:

Purging configuration files for typespeed ...
dpkg - warning: while removing typespeed, directory `/var/games' not empty so not removed.

Which seems like it's trying to remove the whole /var/games directory

Not sure where to go now, or how to fix.

My details are: Ubuntu 8.04 running Gnome, trying to remove Typespeed version 0.6.4-2.

ProblemType: Package
Architecture: i386
Date: Sun Jul 13 12:54:32 2008
Dependencies:

DistroRelease: Ubuntu 8.04
ErrorMessage: subprocess post-removal script returned error exit status 1
Package: typespeed None
PackageArchitecture: i386
SourcePackage: typespeed
Title: package typespeed None failed to install/upgrade: subprocess post-removal script returned error exit status 1
Uname: Linux 2.6.24-19-generic i686

Related branches

Jamie Dimmel (jedimmel) wrote :
Charlie_Smotherman (cjsmo) wrote :

I am working the problem

Changed in typespeed:
assignee: nobody → cjsmo
status: New → In Progress
Charlie_Smotherman (cjsmo) wrote :

I can confirm that typespeeds does not "purge" correctly, and does exactly what is stated above.

Charlie_Smotherman (cjsmo) wrote :

this is actually a duplicate bug in the BTS #454963. This bug was fixed in intrepid, typespeed-0.6.4-2. Setting to fix commited

Changed in typespeed:
status: In Progress → Fix Committed
chastell (chastell) wrote :

This bug is apparently not really fixed in typespeed 0.6.4-2:

Removing typespeed ...
Purging configuration files for typespeed ...
rmdir: failed to remove `/var/games/typespeed': No such file or directory
dpkg: error processing typespeed (--purge):
 subprocess post-removal script returned error exit status 1
Errors were encountered while processing:
 typespeed
E: Sub-process /usr/bin/dpkg returned an error code (1)

Changed in typespeed:
status: Fix Committed → Confirmed
Charlie_Smotherman (cjsmo) wrote :

Adding debdiff that fixes postrm. Subscribing Universe sponsors, setting status to confirmed

Changed in typespeed:
assignee: cjsmo → nobody
Charlie_Smotherman (cjsmo) wrote :

Geeze forgot to change debian/control "Maintainers:" field. Here is a new debdiff

Charlie_Smotherman (cjsmo) wrote :

I have reported the bug to Debian BTS #500756

Charlie_Smotherman (cjsmo) wrote :

Here is a new debdiff per dholbach request.

Daniel Holbach (dholbach) wrote :

A few things: You seem to be changing debian/dirs for some reason? Do you think you can use '-d' instead of '-e'? 0.6.4-0ubuntu3 should be 0.6.4-2ubuntu1 instead.

Charlie_Smotherman (cjsmo) wrote :

Fixed debian/dirs problem, used the -d option instead of -e, changed the version number to 0.6.4-2ubuntu1 attached a new debdiff

Daniel Holbach (dholbach) wrote :

Uploaded. It's sitting in the queue now.

Two small changes I made on the fly:
 - urgency=low (Launchpad Soyuz ignores urgency anyway)
 - identation in debian/postrm was using spaces (whereas the rest uses tabs)

Changed in typespeed:
status: Confirmed → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package typespeed - 0.6.4-2ubuntu1

---------------
typespeed (0.6.4-2ubuntu1) intrepid; urgency=low

  * Fixed postrm to not fail on purge. (LP: #248216)

 -- Charlie Smotherman <email address hidden> Tue, 30 Sep 2007 02:31:56 +0000

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

Other bug subscribers