package firebird2.1-server-common 2.1.4.18393-0.ds2-6build1 failed to install/upgrade: subprocess installed post-removal script returned error exit status 1

Bug #1008617 reported by graham@timmins.co.za
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
firebird2.1 (Ubuntu)
In Progress
Undecided
Popa Adrian Marius

Bug Description

When uninstalling 2.1, then reinstalling 2.5, problem ocurred.

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: firebird2.1-server-common 2.1.4.18393-0.ds2-6build1
ProcVersionSignature: Ubuntu 3.2.0-24.39-generic 3.2.16
Uname: Linux 3.2.0-24-generic x86_64
ApportVersion: 2.0.1-0ubuntu8
AptOrdering:
 firebird2.1-server-common: Remove
 firebird2.5-server-common: Install
 firebird2.5-super: Install
 firebird2.5-server-common: Configure
 firebird2.5-super: Configure
Architecture: amd64
Date: Mon Jun 4 19:13:16 2012
DpkgTerminalLog:
 Removing firebird2.1-server-common ...
 rmdir: unrecognized option '--ignore-if-not-empty'
 Try `rmdir --help' for more information.
 dpkg: error processing firebird2.1-server-common (--remove):
  subprocess installed post-removal script returned error exit status 1
ErrorMessage: subprocess installed post-removal script returned error exit status 1
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
SourcePackage: firebird2.1
Title: package firebird2.1-server-common 2.1.4.18393-0.ds2-6build1 failed to install/upgrade: subprocess installed post-removal script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
graham@timmins.co.za (graham-gj5) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in firebird2.1 (Ubuntu):
status: New → Confirmed
Revision history for this message
kakohari (kakohari) wrote :

Hi there,

two bugs seem to cause this error:
1) the option for rmdir in /var/lib/dpkg/info/firebird2.1-server-common.postrm Line 31 has to be --ignore-fail-on-non-empty
2) the directory to be removed isn't there anymore, because another package-removal has already deleted it.
Uncomment Lines 30,31,32, then it works. Dirty pretendend-to-be-Fix :)

Changed in firebird2.1 (Ubuntu):
assignee: nobody → Popa Adrian Marius (mapopa)
status: Confirmed → In Progress
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.