sanduhr remove problems

Bug #81702 reported by davidc
8
Affects Status Importance Assigned to Milestone
sanduhr (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: sanduhr

Cannot remove the package sanduhr.

Tried everything I could think of, including googling for answers, found 3 others with same problem, but none of the
suggestions worked. In my noobishness I even took a chance with:

sudo apt-get remove --force-yes sanduhr
...
Removing sanduhr ...
/usr/share/omf/sanduhr/sanduhr-C.omf: could not delete file: No such file or directory at /usr/sbin/install-docs line 640.
dpkg: error processing sanduhr (--remove):
 subprocess pre-removal script returned error exit status 2
Errors were encountered while processing:
 sanduhr
E: Sub-process /usr/bin/dpkg returned an error code (1)

I hope this means something to someone!
Cheers,
David

Tags: packaging
Revision history for this message
Lorenzo J. Lucchini (ljl) wrote :

Confirm in Feisty. Error is:

Removing sanduhr ...
/usr/share/omf/sanduhr: could not delete directory: Directory not empty at /usr/sbin/install-docs line 645.
dpkg: error processing sanduhr (--purge):
 subprocess pre-removal script returned error exit status 39

It is solved by creating a file named /usr/share/omf/sanduhr/sanduhr-C.omf (as the error message of the original poster hints), and then trying removal again.

Changed in sanduhr:
status: Unconfirmed → Confirmed
Revision history for this message
Chris Lasher (chris.lasher) wrote :

In Edgy Eft, you need to also remove the file /usr/share/omf/sanduhr/sanduhr-de.omf.

Or better yet
mv /usr/share/omf/sanduhr/sanduhr-de.omf /usr/share/omf/sanduhr/sanduhr-C.omf

Then you should be able to remove this package.

Revision history for this message
abrichr (abrichr) wrote :

I've tried both suggestions and I'm still getting error code (1). Using Feisty Fawn x64.

Revision history for this message
ryan (ryan8403) wrote :

To get sanduhr to be removed, you first must

sudo cp /usr/share/omf/sanduhr/sanduhr-de.omf /usr/share/omf/sanduhr/sanduhr-C.omf

then sudo rm /usr/share/omf/sanduhr/sanduhr-de.omf and run sudo apt-get remove sanduhr.

you could also just

sudo mv /usr/share/omf/sanduhr/sanduhr-de.omf /usr/share/omf/sanduhr/sanduhr-C.omf

try running without force yes.

Revision history for this message
Koen (koen-beek) wrote :

Hardy has been synced with a new version of sanduhr (1.93-4) which does not seem to have this problem

Revision history for this message
Daniel Hahler (blueyed) wrote :

"Fix released" as per comment.

Changed in sanduhr:
assignee: nobody → blueyed
importance: Undecided → Medium
Daniel Hahler (blueyed)
Changed in sanduhr:
assignee: blueyed → nobody
status: Confirmed → 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.