SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2011-03-25 21:41:50

chaanakya
#! Die Hard
Registered: 2010-12-30
Posts: 940

[solved/tutorial]Removing adobe-flashplugin

I'm not sure exactly why this is happening, but I am not able to remove the package adobe-flashplugin.  Period.  I get the following when I try:

[chiraag@chiraag-laptop] ~$  sudo aptitude purge adobe-flashplugin
[sudo] password for chiraag: 
The following packages will be REMOVED:  
  adobe-flashplugin{p} 
0 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
Do you want to continue? [Y/n/?] y
(Reading database ... 420921 files and directories currently installed.)
Removing adobe-flashplugin ...
update-alternatives: error: no alternatives for iceape-flashplugin.
update-alternatives: error: no alternatives for iceape-flashplugin.
dpkg: error processing adobe-flashplugin (--purge):
 subprocess installed pre-removal script returned error exit status 2
configured to not write apport reports
                                      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:
 adobe-flashplugin
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
                                         
[chiraag@chiraag-laptop] ~$ 

Does anyone know how to fix this?

Thanks in advance!

- Chaanakya

Last edited by chaanakya (2011-03-26 20:59:32)


Check out Musik - an easy-to-use text-to-music converter!
Join SpiderOak using this link and get an extra 1 GB free: https://spideroak.com/download/referral … 660e787ff1

Offline

Be excellent to each other!

#2 2011-03-26 16:59:20

johnraff
#!Drunkard
From: Nagoya, Japan
Registered: 2009-01-07
Posts: 2,462
Website

Re: [solved/tutorial]Removing adobe-flashplugin

By some coincidence, I hit the exact same problem 3 or 4 days ago.
I don't even use "Iceape" neutral

Let's hope someone knows...


John
--------------------
( a boring Japan blog , and idle twitterings )

Offline

#3 2011-03-26 17:40:30

anonymous
The Mystery Member
From: Arch Linux Forums
Registered: 2008-11-29
Posts: 8,899

Re: [solved/tutorial]Removing adobe-flashplugin

If this file exists, try removing it:

/var/lib/dpkg/info/adobe-flashplugin.postinst

Alternatively, try this command:

sudo update-alternatives --remove-all iceape-flashplugin

Note: ** Please read before posting **

BTW if you wish to contact me, send me an e-mail instead of a PM.

Offline

#4 2011-03-26 20:45:23

chaanakya
#! Die Hard
Registered: 2010-12-30
Posts: 940

Re: [solved/tutorial]Removing adobe-flashplugin

Well now I got it out of "Inconsistent".  Thanks Anonymous!! big_smile


Check out Musik - an easy-to-use text-to-music converter!
Join SpiderOak using this link and get an extra 1 GB free: https://spideroak.com/download/referral … 660e787ff1

Offline

#5 2011-03-26 20:48:26

chaanakya
#! Die Hard
Registered: 2010-12-30
Posts: 940

Re: [solved/tutorial]Removing adobe-flashplugin

The main problem, I think, is that there are no "alternatives" registered wih update-alternatives to replace the flash plugin.  Apparently, flash is a must, as it won't remove it if it can't find some alternative...


Check out Musik - an easy-to-use text-to-music converter!
Join SpiderOak using this link and get an extra 1 GB free: https://spideroak.com/download/referral … 660e787ff1

Offline

#6 2011-03-26 20:57:29

chaanakya
#! Die Hard
Registered: 2010-12-30
Posts: 940

Re: [solved/tutorial]Removing adobe-flashplugin

Figured it out!  It was quite easy really.  Here are the steps:

1) Install an alternate flash plugin, like gnash or flashplugin-nonfree

2) This is the crucial step!  If you did not see lines like

update-alternatives blah...blah

when installing the package, you will need to do this.  Run

update-alternatives --install /usr/lib/[browser]/plugins/flashplugin-alternative.so [browser]-flashplugin /path/to/new/flash/plugin 10

replacing [browser] with iceape, iceweasel, mozilla, firefox, xulrunner, midbrowser, and xulrunner-addons.

3) You should now be able to uninstall adobe-flashplugin normally!

@Anonymous: Should I repost this in the Tips and Tricks section?

Last edited by chaanakya (2011-03-26 20:58:48)


Check out Musik - an easy-to-use text-to-music converter!
Join SpiderOak using this link and get an extra 1 GB free: https://spideroak.com/download/referral … 660e787ff1

Offline

#7 2011-03-26 21:20:00

anonymous
The Mystery Member
From: Arch Linux Forums
Registered: 2008-11-29
Posts: 8,899

Re: [solved/tutorial]Removing adobe-flashplugin

chaanakya wrote:

@Anonymous: Should I repost this in the Tips and Tricks section?

Go ahead.


Note: ** Please read before posting **

BTW if you wish to contact me, send me an e-mail instead of a PM.

Offline

#8 2011-07-17 01:50:19

tux_777
New Member
Registered: 2011-07-17
Posts: 4

Re: [solved/tutorial]Removing adobe-flashplugin

I should have looked here before I tried to fix it on my own. I've been grappling with this for a couple of months off and on. Dumb.

I've been getting the "no alternatives" error for ages which was preventing other packages updating, unless I repeated the "apt-get upgrade" command over and over. Other packages would then update ahead of the flashplugin which would halt everything after it.

FYI - I tried the fix proposed by chaanakya before checking this forum, but it didn't work for me. I don't know why.

What did work was deleting the files in /var/lib/dpkg/info/adobe-flashplugin*.

Then when I updated, it just rolled on through without a problem.

Thanks guys. I love #! Especially now it's based directly on Debian.

Offline

#9 2011-07-17 02:27:31

pvsage
Internal Affairs
From: North Carolina
Registered: 2009-10-18
Posts: 8,984

Re: [solved/tutorial]Removing adobe-flashplugin

tux_777 wrote:

What did work was deleting the files in /var/lib/dpkg/info/adobe-flashplugin*

Excellent tip!  And it turns out, the file causing all the fuss was adobe-flashplugin.prerm...get rid of that one file, and when you purge adobe-flashplugin, the other related files fall like dominoes.


while ( ! ( succeed = try() ) );
We've earned a reputation as a nice, friendly community; please help us keep it that way.

Offline

#10 2011-07-17 18:21:43

octavian
Member
From: /dev/null
Registered: 2011-07-06
Posts: 12

Re: [solved/tutorial]Removing adobe-flashplugin

chaanakya wrote:

...
when installing the package, you will need to do this.  Run

update-alternatives --install /usr/lib/[browser]/plugins/flashplugin-alternative.so [browser]-flashplugin /path/to/new/flash/plugin 10

replacing [browser] with iceape, iceweasel, mozilla, firefox, xulrunner, midbrowser, and xulrunner-addons.

...

What if I have Chromium as my only, default browser? I'm concerned since it is not Mozilla based...

Thanks for your support.


No signature yet...

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo