I can't uninstall flashplugin-nonfree. I tried through synaptic to mark for complete removal, and it wouldn't work. Then I tried to mark flashplugin-installer for installation, which would automatically uninstall nonfree, and it gave me this error:
Code:
(Reading database ... 640508 files and directories currently installed.)Removing flashplugin-installer ...
Purging configuration files for flashplugin-installer ...
Setting up flashplugin-nonfree (10.0.1.218+10.0.0.525ubuntu1~hardy1+really9.0.124.0ubuntu2) ...
/var/lib/dpkg/info/flashplugin-nonfree.postinst: 38: cd: can't cd to /var/cache/flashplugin-nonfree
dpkg: error processing flashplugin-nonfree (--configure):
subprocess installed post-installation script returned error exit status 2
No apport report written because MaxReports is reached already
Errors were encountered while processing:
flashplugin-nonfree
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
EDIT: I have tried sudo apt-get install adobe-flashplugin with these results:
Code:
Reading package lists... DoneBuilding dependency tree
Reading state information... Done
The following extra packages will be installed:
adobe-flash-properties-gtk
Suggested packages:
konqueror-nsplugins ttf-bitstream-vera ttf-dejavu ttf-xfree86-nonfree xfs
The following NEW packages will be installed:
adobe-flash-properties-gtk adobe-flashplugin
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0 B/6,729 kB of archives.
After this operation, 18.1 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Selecting previously unselected package adobe-flashplugin.
(Reading database ... 640731 files and directories currently installed.)
Unpacking adobe-flashplugin (from .../adobe-flashplugin_11.2.202.280-0precise1_i386.deb) ...
Selecting previously unselected package adobe-flash-properties-gtk.
Unpacking adobe-flash-properties-gtk (from .../adobe-flash-properties-gtk_11.2.202.280-0precise1_i386.deb) ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Setting up flashplugin-nonfree (10.0.1.218+10.0.0.525ubuntu1~hardy1+really9.0.124.0ubuntu2) ...
/var/lib/dpkg/info/flashplugin-nonfree.postinst: 38: cd: can't cd to /var/cache/flashplugin-nonfree
dpkg: error processing flashplugin-nonfree (--configure):
subprocess installed post-installation script returned error exit status 2
Setting up adobe-flashplugin (11.2.202.280-0precise1) ...
No apport report written because MaxReports is reached already
update-alternatives: using /usr/lib/adobe-flashplugin/libflashplayer.so to provide /usr/lib/mozilla/plugins/flashplugin-alternative.so (mozilla-flashplugin) in auto mode.
Setting up adobe-flash-properties-gtk (11.2.202.280-0precise1) ...
Errors were encountered while processing:
flashplugin-nonfree
E: Sub-process /usr/bin/dpkg returned an error code (1)
Also tried sudo apt-get remove --purge flashplugin-nonfree with these results:
Code:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
flashplugin-nonfree*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 168 kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 640746 files and directories currently installed.)
Removing flashplugin-nonfree ...
update-alternatives: error: no alternatives for iceape-flashplugin.
update-alternatives: error: no alternatives for iceape-flashplugin.
dpkg: error processing flashplugin-nonfree (--purge):
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:
flashplugin-nonfree
E: Sub-process /usr/bin/dpkg returned an error code (1)
Then I entered: sudo dpkg -l| grep flash with these results:
Code:
ii adobe-flash-properties-gtk 11.2.202.280-0precise1 GTK+ control panel for Adobe Flash Player plugin version 11
ii adobe-flashplugin 11.2.202.280-0precise1 Adobe Flash Player plugin version 11
pF flashplugin-nonfree 10.0.1.218+10.0.0.525ubuntu1~hardy1+really9.0.124.0ubuntu2 Adobe Flash Player plugin installer
And finally I entered: sudo dpkg -P flashplugin-nonfree with these results:
Code:
(Reading database ... 640746 files and directories currently installed.)
Removing flashplugin-nonfree ...
update-alternatives: error: no alternatives for iceape-flashplugin.
update-alternatives: error: no alternatives for iceape-flashplugin.
dpkg: error processing flashplugin-nonfree (--purge):
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:
flashplugin-nonfree
I was following instructions from another thread, and it seems that the things that worked for others have not worked for me. Any ideas anyone?
EDIT 2: Ok, just tried this: sudo dpkg -r --force-remove-reinstreq flashplugin-nonfree per instructions from the bottom of this page http://ubuntuforums.org/showthread.php?t=1352683&page=2 , and still no luck! Turns out I got the same result as the person on page 3.
Code:
(Reading database ... 640746 files and directories currently installed.)Removing flashplugin-nonfree ...
update-alternatives: error: no alternatives for iceape-flashplugin.
update-alternatives: error: no alternatives for iceape-flashplugin.
dpkg: error processing flashplugin-nonfree (--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:
flashplugin-nonfree
Bookmarks