LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Broken Adobe flashplayer - Can neither remove nor reinstall (https://www.linuxquestions.org/questions/ubuntu-63/broken-adobe-flashplayer-can-neither-remove-nor-reinstall-807462/)

bagley 05-12-2010 04:01 PM

Broken Adobe flashplayer - Can neither remove nor reinstall
 
I am running Ububtu Linux 10.04. When I attempt to install the latest version of the Adobe flashplayer (10.0.45.2ubuntu1), the Synaptic Package Manager (SPM) tries to remove flashplugin-nonfree and install flashplugin-installer. That fails with the message
Code:

E: flashplugin-nonfree: Package is in a very bad inconsistent state - you should  reinstall it before attempting a removal.
So, then I attempted to reinstall flashplugin-nonfree package but the SPM does not allow me to either install or remove the broken flashplugin-nonfree package.

I tried the same things using the Ubuntu Software Center (USC) with the same failure.

Tried:
Code:

$ aptitude show flashplugin-nonfree
Got:
Code:

Package: flashplugin-nonfree
State: partially configured
Automatically installed: no
Version: 10.0.1.218+really9.0.262.0ubuntu1
Priority: optional
Section: contrib/web
Maintainer: Ubuntu MOTU Developers <ubuntu-motu@lists.ubuntu.com>

It looks like I must remove the broken flashplugin-nonfree package manually. Can someone tell me what changes I must make?

spiderbatdad 05-12-2010 06:26 PM

try via your terminal:
Code:

$ sudo apt-get install -f
$ sudo apt-get autoclean
$ sudo apt-get autoremove
$ sudo dpkg configure -a
$ sudo apt-get remove --purge flashplugin-nonfree


craigevil 05-12-2010 07:15 PM

rm /var/lib/dpkg/info/flashplugin-nonfree.prerm ### that is the most important step, the manual removing of the bad script ###
dpkg --remove --force-remove-reinstreq flashplugin-nonfree ### after the above step this is possible now ###
dpkg --purge --force-remove-reinstreq flashplugin-nonfree ### use this in order to purge everything is *package* related ###

bagley 05-12-2010 10:45 PM

Problem resolved.
 
Quote:

Originally Posted by craigevil (Post 3966413)
rm /var/lib/dpkg/info/flashplugin-nonfree.prerm ### that is the most important step, the manual removing of the bad script ###
dpkg --remove --force-remove-reinstreq flashplugin-nonfree ### after the above step this is possible now ###
dpkg --purge --force-remove-reinstreq flashplugin-nonfree ### use this in order to purge everything is *package* related ###

Remember to use sudo.


All times are GMT -5. The time now is 08:40 AM.