[9.10 alpha 4]swfdec-mozilla uninstall failure

Bug #416816 reported by ccaaatt
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
swfdec-mozilla (Ubuntu)
Fix Released
Medium
Chris Coulson

Bug Description

Binary package hint: swfdec-mozilla

My firefox is 3.5.2. ubuntu is 9.10A4
After some crash, i decide uninstall swfdec plugin for firefox.

I mark swfdec-mozilla as uninstall, and apply the mark.

But pop a dialog :

An error occurred,

E: swfdec-mozilla: subprocess installed pre-removal script returned error exit status 2

and the pack status becomes to broken.

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

Could you please post the output of "sudo apt-get remove swfdec-mozilla", or attach your /var/log/dpkg.log?

Changed in swfdec-mozilla (Ubuntu):
status: New → Incomplete
Revision history for this message
ccaaatt (ccaaatt) wrote :
Download full text (8.0 KiB)

~$ sudo apt-get remove swfdec-mozilla
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libswscale0 libtwolame0 libavutil49 gstreamer0.10-plugins-ugly libpostproc51 libavformat52 cjet gstreamer0.10-ffmpeg libgsm1 libdvdnav4 libdvdread4
  libsidplay1 libavcodec52 libmad0 libid3tag0 libmpeg2-4 liba52-0.7.4
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  swfdec-mozilla
0 upgraded, 0 newly installed, 1 to remove and 6 not upgraded.
1 not fully installed or removed.
After this operation, 303kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 150925 files and directories currently installed.)
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):
 subprocess installed pre-removal script returned error exit status 2
postinst called with argument `abort-remove'
dpkg: error while cleaning up:
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 swfdec-mozilla
E: Sub-process /usr/bin/dpkg returned an error code (1)
-----------------------------------------------------------------------------------------------
dpkg.log

2009-08-21 12:18:54 startup packages purge
2009-08-21 12:18:54 status installed swfdec-mozilla 0.8.2-1ubuntu1
2009-08-21 12:18:54 remove swfdec-mozilla 0.8.2-1ubuntu1 0.8.2-1ubuntu1
2009-08-21 12:18:54 status half-configured swfdec-mozilla 0.8.2-1ubuntu1
2009-08-21 12:18:54 update-alternatives: run with --remove iceape-flashplugin /usr/lib/swfdec-mozilla/libswfdecmozilla.so
2009-08-21 12:18:54 update-alternatives: link group iceape-flashplugin fully removed
2009-08-21 12:18:56 startup packages configure
2009-08-21 12:19:14 startup packages remove
2009-08-21 12:19:14 status half-configured swfdec-mozilla 0.8.2-1ubuntu1
2009-08-21 12:19:14 remove swfdec-mozilla 0.8.2-1ubuntu1 0.8.2-1ubuntu1
2009-08-21 12:19:14 status half-configured swfdec-mozilla 0.8.2-1ubuntu1
2009-08-21 12:19:15 startup packages configure
2009-08-21 12:19:58 startup packages configure
2009-08-21 12:19:58 configure swfdec-mozilla 0.8.2-1ubuntu1 0.8.2-1ubuntu1
2009-08-21 12:19:58 status half-configured swfdec-mozilla 0.8.2-1ubuntu1
2009-08-21 12:19:58 update-alternatives: run with --install /usr/lib/iceape/plugins/flashplugin-alternative.so iceape-flashplugin /usr/lib/swfdec-mozilla/libswfdecmozilla.so 50
2009-08-21 12:19:58 update-alternatives: link group iceape-flashplugin updated to point to /usr/lib/swfdec-mozilla/libswfdecmozilla.so
2009-08-21 12:19:58 update-alternatives: run with --install /usr/lib/iceweasel/plugins/flashplugin-alternative.so iceweasel-flashplugin /usr/lib/swfdec-mozilla/libswfdecmozilla.so 50
2009-08-21 12:19:58 update-alternatives: run with --install /usr/lib/mozilla/plugins/flashplugin-alternative.so mozilla-flashplugin /usr/lib/swfdec-mozilla/libswfdecmozilla.so 50
2009-08-21 12:19:58 update-alternatives: run with --install /usr/li...

Read more...

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

Thansk. I can see what is failing here, and will upload a fix when I next get the chance

Changed in swfdec-mozilla (Ubuntu):
assignee: nobody → Chris Coulson (chrisccoulson)
importance: Undecided → Medium
status: Incomplete → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package swfdec-mozilla - 0.8.2-1ubuntu2

---------------
swfdec-mozilla (0.8.2-1ubuntu2) karmic; urgency=low

  * debian/swfdec-mozilla.prerm:
    - Remove redundant "update-alternatives --list" test, which exits with
      an error now when there are no alternatives left. The test doesn't
      return 0 lines anyway, so the check doesn't work. This stops the
      prerm script exiting with an error on removal (LP: #416816).

 -- Chris Coulson <email address hidden> Sun, 23 Aug 2009 02:12:08 +0100

Changed in swfdec-mozilla (Ubuntu):
status: In Progress → 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.