flash plug-in won't install/reinstall/fix

Asked by natasha rose on 2010-07-24

One day my flash plug-in just stopped working, and I cannot recall if it was after a specific update. I've tried reinstalling the package.

I keep getting this: LANG=C;sudo apt-get update && sudo apt-get dist-upgrade

I have tried using Synaptic, using terminal
including following this: https://help.ubuntu.com/community/PackageManagerTroubleshootingProcedure

This is what I get through both terminal and synaptic:

Package is in a very bad inconsistent state - you should
 reinstall it before attempting a removal.
Errors were encountered while processing:
 flashplugin-nonfree
E: Sub-process /usr/bin/dpkg returned an error code (1)

Nothing works.

Any ideas?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu flashplugin-nonfree Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
2010-08-05
Last query:
2010-08-05
Last reply:
2010-07-24

Please try the solution from forumuser kansasnoob at this location:

http://guide.ubuntuforums.org/showthread.php?t=1485250

I believe that your PC is experiencing this bug:

https://bugs.launchpad.net/ubuntu/+source/flashplugin-nonfree/+bug/429841

sudo mv /var/lib/dpkg/info/flashplugin-nonfree.prerm ~; sudo dpkg --remove --force-remove-reinstreq flashplugin-nonfree; sudo dpkg --purge --force-remove-reinstreq flashplugin-nonfree; sudo apt-get -f install; sudo apt-get clean; sudo apt-get update; sudo apt-get upgrade

Should be ok. If so, you can run:

sudo rm ~/flashplugin-nonfree.prerm

to clean up

natasha rose (natashabarcena) said : #3

Thanks actionparsnip, that solved my question.

This is one of the HUGE weaknesses in package based systems. There are guides all over the web for this.