package swfdec-mozilla 0.8.2-1ubuntu1 failed to install/upgrade: subprocess installed pre-removal script returned error exit status 2

Bug #398533 reported by sam tygier
74
This bug affects 14 people
Affects Status Importance Assigned to Milestone
swfdec-mozilla (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: swfdec-mozilla

trying to remove swfdec.

ProblemType: Package
AptOrdering:
 swfdec-mozilla: Remove
 libswfdec-0.8-0: Remove
Architecture: amd64
Date: Sun Jul 12 20:32:54 2009
DistroRelease: Ubuntu 9.10
ErrorMessage: subprocess installed pre-removal script returned error exit status 2
Package: swfdec-mozilla 0.8.2-1ubuntu1
ProcVersionSignature: Ubuntu 2.6.31-2.17-generic
SourcePackage: swfdec-mozilla
Title: package swfdec-mozilla 0.8.2-1ubuntu1 failed to install/upgrade: subprocess installed pre-removal script returned error exit status 2
Uname: Linux 2.6.31-2-generic x86_64

Revision history for this message
sam tygier (samtygier) wrote :
Revision history for this message
pinzia (pinzia) wrote :

same problem on kubuntu karmic alpha 3

Removing swfdec-mozilla ...
update-alternatives: error: no alternatives for iceape-flashplugin.
update-alternatives: error: no alternatives for iceape-flashplugin.
dpkg: error processing swfdec-mozilla (--remove):

Revision history for this message
eris23 (jdkatz23) wrote :

Try:

sudo rm /var/lib/dpkg/info/swfdec-mozilla.prerm
sudo dpkg --remove --force-remove-reinstreq swfdec-mozilla

Revision history for this message
Xavier Guillot (valeryan-24) wrote :

Hello,

Thanks, your commands worked well for me, I succeeded to uninstall swfdec.

Reinstallation by Synaptic is also OK, but same problem if I want to remove again error exit status 1).

Firefox 3.5.2 on Karmic alpha 3 with all updates.

Revision history for this message
Martin-Éric Racine (q-funk) wrote :

(Reading database ... 168470 files and directories currently installed.)
Preparing to replace swfdec-mozilla 0.8.2-1ubuntu1 (using .../swfdec-mozilla_0.8.2-1ubuntu1_i386.deb) ...
update-alternatives: error: no alternatives for iceape-flashplugin.
update-alternatives: error: no alternatives for iceape-flashplugin.
dpkg: warning: old pre-removal script returned error exit status 2
dpkg - trying script from the new package instead ...
update-alternatives: error: no alternatives for iceape-flashplugin.
update-alternatives: error: no alternatives for iceape-flashplugin.
dpkg: error processing /var/cache/apt/archives/swfdec-mozilla_0.8.2-1ubuntu1_i386.deb (--install):
 subprocess new pre-removal script returned error exit status 2
postinst called with argument `abort-upgrade'
dpkg: error while cleaning up:
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/swfdec-mozilla_0.8.2-1ubuntu1_i386.deb

Revision history for this message
Martin-Éric Racine (q-funk) wrote :

This happens because the prerm script dumbly tries to update the alternatives for all possible Mozilla variants, without first checking whether each package is installed first.

Revision history for this message
Andrea Caminiti (nrayever) wrote :

Hi:

I installed today morning, but i'm trying to removed it and i can't. I'm using 9.04 Alpha 4. hope that i can remove it with aptitude.

Regards Andrea

Revision history for this message
sam tygier (samtygier) wrote :

swfdec-mozilla is no longer packaged in ubuntu so I'll close this.

Changed in swfdec-mozilla (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.