can't remove package firebird2.1-server-common

Bug #975126 reported by DJ-Andrey-sXe
76
This bug affects 14 people
Affects Status Importance Assigned to Milestone
firebird2.1 (Debian)
Fix Released
Unknown
firebird2.1 (Ubuntu)
In Progress
Undecided
Popa Adrian Marius

Bug Description

$ sudo apt-get remove firebird2.1-server-common
...
rmdir: unrecognized option '--ignore-if-not-empty'
Try `rmdir --help' for more information.
...
E: Sub-process /usr/bin/dpkg returned an error code (1)

***

$ lsb_release -rd
Description: Ubuntu precise (development branch)
Release: 12.04

ubuntu-12.04-beta2-server-i386.iso

Changed in firebird2.1 (Debian):
status: Unknown → Fix Released
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
Jacob Smith (jsmith-argotecinc) wrote :

Cannot upgrade from firebird2.1-super to firebird2.5-super on 12.04 due to this:

root@server:~# apt-get install firebird2.5-super
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  firebird2.5-server-common libfbclient2
Suggested packages:
  firebird2.5-doc
The following packages will be REMOVED:
  firebird2.1-server-common
The following NEW packages will be installed:
  firebird2.5-server-common firebird2.5-super libfbclient2
0 upgraded, 3 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 336 kB/4,278 kB of archives.
After this operation, 10.4 MB of additional disk space will be used.
Do you want to continue [Y/n]?
Get:1 http://us.archive.ubuntu.com/ubuntu/ precise/universe libfbclient2 amd64 2.5.1.26351.ds4-2build1 [336 kB]
Fetched 336 kB in 1s (289 kB/s)
Preconfiguring packages ...
(Reading database ... 103354 files and directories currently installed.)
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
Errors were encountered while processing:
 firebird2.1-server-common
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
DJ-Andrey-sXe (djandreysxe) wrote :

Bug Watch Updater 2012-04-07 wrote:
> Fix Released

Sorry but I can't confirm fix too.
Ubuntu 12.04 Release still contains this bug:
> rmdir: unrecognized option '--ignore-if-not-empty'
12.04 released _after_ date 2012-04-07 mentioned above.

Revision history for this message
Jacob Smith (jsmith-argotecinc) wrote :

It isn't fixed in Ubuntu but it has been patched in Debian.
Patched version is 2.1.4.18393-0.ds2-7

Not sure how we get someone to try get this in as an SRU patch since it prevents anyone from removing or upgrading firebird2.1.

I manually applied the fix mentioned in the Debian bug http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=660592 and it worked great on both servers I upgraded to firebird2.5-super.

Revision history for this message
Popa Adrian Marius (mapopa) wrote :

I will Add a SRU for 2.1

Changed in firebird2.1 (Ubuntu):
assignee: nobody → Popa Adrian Marius (mapopa)
status: Confirmed → In Progress
Revision history for this message
Falcon-sapsan (falcon-sapsan) wrote :

please, fix it!

in file debian/firebird2.1-server-common.postrm

change

rmdir -p --ignore-if-not-empty $RUN

to
rmdir -p --ignore-fail-on-non-empty $RUN

Revision history for this message
Falcon-sapsan (falcon-sapsan) wrote :

this is my build with fix, it may be useful to someone

Revision history for this message
PedroHC (pedrocerezo) wrote :

Falcon, your solution is ok, but only if FB is running

Revision history for this message
cav (cavinc20) wrote :

No 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.