Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

I can't remove/purge/install the package flashplugin-nonfree

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
mikekgr
Posts: 56
Joined: 2004-12-24 18:25
Location: Greece

I can't remove/purge/install the package flashplugin-nonfree

#1 Post by mikekgr »

Dear Friends,
I faced on these days a very nasty problem, during the upgrading of my system... something bad happened and I can not remove, purge, install, reinstall the package flashplugin-nonfree no matter what tries I did till now. To see my tries please read bellow.
Do any of you have any advanced advice how can solve this BIG problem that occurs to me??

Best Regards,
Mike Kranidis

====================== start of my tries to solve the problem ======================

root@intra-micro:/home/mikek# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
flashplugin-installer flashplugin-nonfree
Suggested packages:
ttf-xfree86-nonfree xfs
The following NEW packages will be installed:
flashplugin-installer
The following packages will be upgraded:
flashplugin-nonfree
1 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B/21.4kB of archives.
After this operation, 61.4kB of additional disk space will be used.
Do you want to continue [Y/n]?
Preconfiguring packages ...
dpkg: error processing flashplugin-nonfree (--remove):
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
Errors were encountered while processing:
flashplugin-nonfree
localepurge: Disk space freed in /usr/share/locale: 0 KiB
localepurge: Disk space freed in /usr/share/man: 0 KiB
localepurge: Disk space freed in /usr/share/gnome/help: 0 KiB
localepurge: Disk space freed in /usr/share/omf: 0 KiB
localepurge: Disk space freed in /usr/share/doc/kde/HTML: 0 KiB

Total disk space freed by localepurge: 0 KiB

E: Sub-process /usr/bin/dpkg returned an error code (1)


root@intra-micro:/home/mikek# dpkg --purge --force-all flashplugin-nonfree
dpkg: warning: overriding problem because --force enabled:
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
(Reading database ... 180367 files and directories currently installed.)
Removing flashplugin-nonfree ...
update-alternatives: error: no alternatives for iceape-flashplugin.
update-alternatives: error: no alternatives for iceape-flashplugin.
dpkg: error processing flashplugin-nonfree (--purge):
subprocess installed pre-removal script returned error exit status 2
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:
flashplugin-nonfree

root@intra-micro:/home/mikek# apt-get --reinstall install flashplugin-nonfree
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
flashplugin-nonfree: Depends: flashplugin-installer but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
root@intra-micro:/home/mikek#

====================== stop of my tries to solve the problem ======================

User avatar
naithen
Posts: 212
Joined: 2008-03-03 15:33

Re: I can't remove/purge/install the package flashplugin-nonfree

#2 Post by naithen »

This is most probably because of a bad debian package. If you are using a testing/unstable branch then this is likely to happen and will get fixed over time.

Try using a different mirror or reverting back to an older version.

If everything fails please report a bug

User avatar
bugsbunny
Posts: 5354
Joined: 2008-07-06 17:04
Been thanked: 1 time

Re: I can't remove/purge/install the package flashplugin-nonfree

#3 Post by bugsbunny »

Is this an ubuntu install? (since that's the only place I know of that has flashplugin-installer)

User avatar
craigevil
Posts: 5391
Joined: 2006-09-17 03:17
Location: heaven
Has thanked: 28 times
Been thanked: 39 times

Re: I can't remove/purge/install the package flashplugin-nonfree

#4 Post by craigevil »

bugsbunny wrote:Is this an ubuntu install? (since that's the only place I know of that has flashplugin-installer)
It is not Debian, there is no flashplugin-installer in any Debian repo.

Ubuntu is that way >>>>> Ubuntu Forums - http://ubuntuforums.org/ Official Ubuntu Documentation - https://help.ubuntu.com/
Raspberry PI 400 Distro: Raspberry Pi OS Base: Debian Sid Kernel: 5.15.69-v8+ aarch64 DE: MATE Ram 4GB
Debian - "If you can't apt install something, it isn't useful or doesn't exist"
My Giant Sources.list

User avatar
Raffles10
Posts: 191
Joined: 2008-12-09 16:36
Location: London, UK

Re: I can't remove/purge/install the package flashplugin-nonfree

#5 Post by Raffles10 »

If it ain't ubuntu you must have ubuntu repo's enabled, which would result in the kind of issues you're having. :roll:
Debian Squeeze + KDE 4.4.4 + AMD Athlon™ 64 X2 Dual Core Processor 6000 + nVidia GeForce 8600

User avatar
edbarx
Posts: 5401
Joined: 2007-07-18 06:19
Location: 35° 50 N, 14 º 35 E
Been thanked: 2 times

Re: I can't remove/purge/install the package flashplugin-nonfree

#6 Post by edbarx »

In my humble opinion, mixing distributions, is asking for trouble. The reason, as I understand it, is that there is no guarantee that, other distributions, follow the Debian policies of how to organize the system. It should be utterly clear, that placing executables, settings, etc in places that contradict what Debian expects, is literally breaking Debian. Moreover, as far as I can understand, the package management system has no way to repair a system damaged by mixing repositories. I know, it can be done in some way, but I don't imagine Debian caters for silly mistakes and silly decisions.

Note:
By comparing the package database of a damaged system with what is available in official mirrors, one can determine which packages do not belong to legitimate Debian repositories. The offending packages can then be replaced by their Debian equivalents. However, all this, depends very heavily on whether such a damaged system can repair itself.
Debian == { > 30, 000 packages }; Debian != systemd
The worst infection of all, is a false sense of security!
It is hard to get away from CLI tools.

User avatar
bugsbunny
Posts: 5354
Joined: 2008-07-06 17:04
Been thanked: 1 time

Re: I can't remove/purge/install the package flashplugin-nonfree

#7 Post by bugsbunny »

Actually I think this would be relatively simple to fix, but need to know exactly (including versions) what we're dealing with. I refuse to guess (more than I already have). Give good information or don't get good help. Simple really.

mikekgr
Posts: 56
Joined: 2004-12-24 18:25
Location: Greece

Re: I can't remove/purge/install the package flashplugin-nonfree

#8 Post by mikekgr »

Dear Friends,
first of all I would like to say a BIG 'thank you' for your replies and help tries.

Yes, my installation that develop the referenced problem, was/is kubuntu and sorry to bother you her *as Debian forum) for a *ubuntu related problem.

Naturally I bring this question to Debian forum (here ;-) ) just to get some good advices in order to solve futured related problems with "bad packages" that refuse to install and/or reinstall and/or remove and/or purge ...

Just to have the solution here for somebody having the same root of problem do (using root account or privileges or sudo) :

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 ###

and then reinstall as usual !!!

Thanks and Best Regards,
Mike Kranidis

User avatar
edbarx
Posts: 5401
Joined: 2007-07-18 06:19
Location: 35° 50 N, 14 º 35 E
Been thanked: 2 times

Re: I can't remove/purge/install the package flashplugin-nonfree

#9 Post by edbarx »

bugsbunny wrote:Actually I think this would be relatively simple to fix
If course, but it depends whether one knows which packages to replace or remove. My answer was intended to include when one does not know which packages to remove/install.
Debian == { > 30, 000 packages }; Debian != systemd
The worst infection of all, is a false sense of security!
It is hard to get away from CLI tools.

User avatar
Raffles10
Posts: 191
Joined: 2008-12-09 16:36
Location: London, UK

Re: I can't remove/purge/install the package flashplugin-nonfree

#10 Post by Raffles10 »

mikekgr wrote:Naturally I bring this question to Debian forum (here ;-) ) just to get some good advices in order to solve futured related problems with "bad packages" that refuse to install and/or reinstall and/or remove and/or purge ...
I'm not trying to just shove you out the door, but kubuntu do have their own forum and you really are better of talking to people using the same system as you as thay may have experienced and already resolved the same problem. :wink:
Debian Squeeze + KDE 4.4.4 + AMD Athlon™ 64 X2 Dual Core Processor 6000 + nVidia GeForce 8600

User avatar
bugsbunny
Posts: 5354
Joined: 2008-07-06 17:04
Been thanked: 1 time

Re: I can't remove/purge/install the package flashplugin-nonfree

#11 Post by bugsbunny »

edbarx wrote:
bugsbunny wrote:Actually I think this would be relatively simple to fix
If course, but it depends whether one knows which packages to replace or remove. My answer was intended to include when one does not know which packages to remove/install.
Of course - hence the rest of my sentence, which you cut off. ", but need to know exactly (including versions) what we're dealing with."

I wasn't responding to your post so much as trying to prod the OP into giving the needed info. I'm glad he solved it (I would have done it a bit differently, by modifying the postrm script, but the end result would be the same.)

Post Reply