Fails when remove this package with aptitude or apt-get or dpkg, on post uninstallation.

Bug #1093116 reported by Tomeu Capó
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
firebird2.1 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Hi.

I need upgrade firebird2.1-server-common to firebird2.5-server-common and have any configured database. But, first stop database server (firebird2.1) and after do remove package using aptitude, and do this:

(S'està llegint la base de dades… hi ha 92337 fitxers i directoris instaŀlats actualment.)
S'està desinstaŀlant firebird2.1-server-common…

rmdir: l’opció «--ignore-if-not-empty» no és reconeguda

Proveu «rmdir --help» per a obtenir més informació.
dpkg: s'ha produït un error en processar firebird2.1-server-common (--remove):
 el subprocés s'ha instaŀlat el script post-removal retornà el codi d'eixida d'error 1

dpkg, returning 1 exit code, and say the post script of uninstallation process, crash for bad parameters in rmdir. Edit the file /var/lib/dpkg/info/firebird2.1-server-common.postrm and change at line 31:

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

for:

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

Because -p and --ignore-if-not-empty doesn't recognized by rmdir command. I changed this and works fine.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: firebird2.1-server-common (not installed)
ProcVersionSignature: Ubuntu 3.2.0-32.51-generic-pae 3.2.30
Uname: Linux 3.2.0-32-generic-pae i686
ApportVersion: 2.0.1-0ubuntu15.1
Architecture: i386
Date: Sat Dec 22 16:14:27 2012
MarkForUpload: True
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 LANG=ca_ES.UTF-8
 SHELL=/bin/bash
SourcePackage: firebird2.1
UpgradeStatus: No upgrade log present (probably fresh install)
modified.conffile..etc.firebird.2.1.aliases.conf: [deleted]
modified.conffile..etc.logrotate.d.firebird2.1: [deleted]

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.