*** This bug is a duplicate of bug 512096 ***
https://bugs.launchpad.net/bugs/512096
Other solution that worked for me at
https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/512096/comments/30
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to flashplugin-nonfree in Ubuntu.
https://bugs.launchpad.net/bugs/365392
Title:
Cannot install or remove flashplugin
Status in “flashplugin-nonfree” package in Ubuntu:
Confirmed
Bug description:
Binary package hint: synaptic
I install the flashplugin-installer in synaptic but the flashplugin
doesn't show up in Firefox. I try to reinstall flashplugi-installer
but no luck. I install flashplugin-nonfree but no flashplugin show up
in Firefox. I try to completely remove flshplugin-nonfree and
flashplugin-installer. flashplugin-nonfree removes but flashplugin-
installer. I get the following error:
ola@minifix:~$ sudo apt-get -f purge flashplugin-installer
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
flashplugin-installer*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 180kB disk space will be freed.
Do you want to continue [Y/n]?
dpkg: error processing flashplugin-installer (--purge):
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
Errors were encountered while processing:
flashplugin-installer
E: Sub-process /usr/bin/dpkg returned an error code (1)
ola@minifix:~$
I try to re-install:
ola@minifix:~$ sudo apt-get -f install flashplugin-installer
Reading package lists... Done
Building dependency tree
Reading state information... Done
flashplugin-installer is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 0B/19.2kB of archives.
After this operation, 0B of additional disk space will be used.
Preconfiguring packages ...
Selecting previously deselected package flashplugin-installer.
(Reading database ... 102634 files and directories currently installed.)
Preparing to replace flashplugin-installer 10.0.22.87ubuntu2 (using
.../flashplugin-installer_10.0.22.87ubuntu2_i386.deb) ...
dpkg (subprocess): unable to execute old pre-removal script: Exec format error
dpkg: warning - old pre-removal script returned error exit status 2
dpkg - trying script from the new package instead ...
prerm called with unknown argument `failed-upgrade'
dpkg: error processing
/var/cache/apt/archives/flashplugin-installer_10.0.22.87ubuntu2_i386.deb
(--unpack):
subprocess new pre-removal script returned error exit status 1
dpkg (subprocess): unable to execute post-installation script: Exec format
error
dpkg: error while cleaning up:
subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/flashplugin-installer_10.0.22.87ubuntu2_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
ola@minifix:~$
I download flash-plugin from Adobes site and try to install:
ola@minifix:~/Desktop$ sudo dpkg -i install_flash_player_10_linux.deb
(Reading database ... 102634 files and directories currently installed.)
Preparing to replace adobe-flashplugin 10.0.22.87-1 (using
install_flash_player_10_linux.deb) ...
update-alternatives: error or eof reading
/var/lib/dpkg/alternatives/iceape-flashplugin for update_mode ()
dpkg: warning - old pre-removal script returned error exit status 2
dpkg - trying script from the new package instead ...
update-alternatives: error or eof reading
/var/lib/dpkg/alternatives/iceape-flashplugin for update_mode ()
dpkg: error processing install_flash_player_10_linux.deb (--install):
subprocess new pre-removal script returned error exit status 2
postinst called with argument `abort-upgrade'
dpkg: error while cleaning up:
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
install_flash_player_10_linux.deb
ola@minifix:~/Desktop$
ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
ExecutablePath: /usr/sbin/synaptic
Package: synaptic 0.62.5ubuntu2.1
ProcAttrCurrent: unconfined
ProcEnviron:
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: synaptic
Tags: ubuntu-unr
Uname: Linux 2.6.28-11-generic i686
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/flashplugin-nonfree/+bug/365392/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp