如果遇到错误
Setting up nspluginwrapper (1.2.2-0ubuntu9) …
plugin dirs: :/var/lib/flashplugin-installer/
Auto-update plugins from /usr/lib/mozilla/plugins
Looking for plugins in /usr/lib/mozilla/plugins
Segmentation fault
dpkg: error processing nspluginwrapper (–configure):
subprocess installed post-installation script returned error exit status 139
dpkg: dependency problems prevent configuration of flashplugin-installer:
flashplugin-installer depends on nspluginwrapper (>= 0.9.91.4-2ubuntu1); however:
Package nspluginwrapper is not configured yet.
dpkg: error processing flashplugin-installer (–configure):
dependency problems – leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
nspluginwrapper
flashplugin-installer
E: Sub-process /usr/bin/dpkg returned an error code (1)
你需要添加一个补丁源,找到正确的deb包
if you have a 64 bit system, you can bin nspluginwrapper without problem as it is only designed for 32 bit systems. That said, it may want to take Adobe Reader (Acroread) with it!!. If you are not using Adobe, then remove it!!.
Flash 64 bit:
sudo apt-get purge –yes adobe-flashplugin
sudo apt-get purge –yes flashplugin-installer
sudo apt-get purge –yes flashplugin-nonfree
sudo apt-get purge –yes mozilla-plugin-gnash
sudo apt-get purge –yes swfdec-mozilla
sudo apt-get purge –yes browser-plugin-lightspark
sudo apt-get purge –yes mozilla-plugin-gnash
sudo apt-get purge –yes konqueror-plugin-gnash
sudo add-apt-repository ppa:sevenmachines/flash
sudo apt-get update
sudo apt-get install flashplugin64-installer
Flash 32 bit:
sudo apt-get remove flashplugin-installer
sudo dpkg -r adobe-flashplugin
sudo rm -rf “/usr/lib/adobe-flashplugin/”
sudo rm -f “/usr/lib/opera/plugins/libflashplayer.so”
sudo rm -f “/usr/lib/mozilla/plugins/libflashplayer.so”
sudo rm -f $(find “/home/” -name “libflashplayer.so”)
sudo updatedb
locate libflashplayer.so
Then:
sudo apt-get install flashplugin-installer
Whichever one you choose, make sure you go into Synaptic and search for “flash” then add the recommended and suggested packages too!!




After the day