LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 07-11-2009, 08:57 AM   #1
helai
LQ Newbie
 
Registered: Jun 2007
Posts: 10

Rep: Reputation: 0
Can't open synaptic after trying install flash deb of ubuntu


system: debian squeeze

Hello,
I have the same problem with "E: The package adobe-flashplugin needs to be reinstalled, but I can't find an archive for it."after installing the ubuntu flash deb,but I don't understand the post at this site

http://www.linuxquestions.org/questi...for-it-727572/

Code:
lenovo@debian:~$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: The package adobe-flashplugin needs to be reinstalled, but I can't find an archive for it.
so would you like help me to detail the steps to figure it out
thanks in advance!
helai
 
Old 07-11-2009, 09:04 AM   #2
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
Never install ubuntu packages on Debian. They don't mix well. Remove the Ubuntu package completely and install it from contrib.

As root
Code:
dpkg --purge adobe-flashplugin
This should enable you to remove the offending package.

add contrib non-free to your sources.list. Then install the flashplugin-nonfree package. That should do it.

In my sources.list Example:
Code:
deb http://ftp.us.debian.org/debian/ testing main contrib non-free

Last edited by vharishankar; 07-11-2009 at 09:09 AM.
 
Old 07-11-2009, 09:49 AM   #3
symon1980
Member
 
Registered: Nov 2007
Posts: 57

Rep: Reputation: 16
sounds like you are very new to linux...? if so... Debian isn't the most user friendly distro to start with.... it requires a fair bit of command line use and text editing..... maybe you should try something like www.linuxmint.com or www.ubuntu.com

if you must stick with debian.... just incase you don't understand whats going on here....

to do what harishankar suggested.... do this


open terminal
sudo su
(enter password)


dpkg --purge adobe-flashplugin

nano /etc/apt sources.list

copy and paste this: deb http://ftp.us.debian.org/debian/ testing main contrib non-free


then hold ctrl and press x
enter to save

that will add the repository you need..... but like I said... you sound quite new to linux.... you won't have to fiddle around with this sorta stuff in an easier linux distro that is aimed at beginners.... such as linux mint, ubuntu, opensuse. especially linux mint, as it already has all the codecs/flash pre installed.


good luck

Last edited by symon1980; 07-11-2009 at 09:50 AM.
 
Old 07-11-2009, 10:20 AM   #4
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Quote:
Originally Posted by symon1980 View Post
sounds like you are very new to linux...? if so... Debian isn't the most user friendly distro to start with.... it requires a fair bit of command line use and text editing..... maybe you should try something like www.linuxmint.com or www.ubuntu.com
Dear Symon,
You're obviously entitled to your opinion. Using every ounce of my self-control let me say that I find your remarks about Debian at variance with my own experience. As virtually any Gui-type app available on other distros can be had on Debian (it does have over 26,000 packages) I fail to understand your claim that "it [Debian] requires a fair bit of command line use and text editing.

I will stop there and I hope I have maintained a modicum of politenss while expressing my very strong disagreement with your statements.
cheers,
jdk

Last edited by jdkaye; 07-11-2009 at 11:23 AM.
 
Old 07-11-2009, 10:43 AM   #5
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,884
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
Debian not newb friendly? Nonsense, it was the first distro I installed.

It's the windows habit of looking on the web for software that people need to overcome.

And that distros are different, just because something is based on Debian doesn't mean packages for that distro will work in debian.
 
Old 07-11-2009, 11:26 AM   #6
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Quote:
Originally Posted by craigevil View Post
Debian not newb friendly? Nonsense, it was the first distro I installed.
My experience exactly. I confess to being a rather heavy user of the command line but only because I find it easier and clearer and more informative than the corresponding gui. This has nothing to do with Debian, however.
cheers,
jdk
 
Old 07-11-2009, 04:50 PM   #7
magikraven
Member
 
Registered: Feb 2009
Location: Florida USA
Distribution: Debian, Vector, Puppy
Posts: 53

Rep: Reputation: 20
When I first switched to Debian Lenny,...I made that same mistake and used the Ubuntu deb. file for flash. In my case, it actually worked!!!
But after info from the Debian forum (that it wasn't the best idea)....I switched to downloading the proper flash from the Multimedia site. But after doing a complete re-install of Lenny,. (for another reason)..I discovered that I actually liked the original SWFDEC better. One learns as they go along,.............
 
Old 07-11-2009, 05:54 PM   #8
helai
LQ Newbie
 
Registered: Jun 2007
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks everyone,the problem still existed

Code:
lenovo@debian:~$ sudo dpkg --purge adobe-flashplugin
dpkg: error processing adobe-flashplugin (--purge):
 Package is in a very bad inconsistent state - you should
 reinstall it before attempting a removal.
Errors were encountered while processing:
 adobe-flashplugin
Code:
lenovo@debian:~$ sudo apt-get remove adobe-flashplugin
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: The package adobe-flashplugin needs to be reinstalled, but I can't find an archive for it.
actually just like I mentioned that somebody had found a solution that in the post I pasted on my last post,herein I paste his way,but can't fully understand,so need help,may be this file /var/lib/dpkg/info/adobe-flashplugin.prermalso needed because I had messed it ,so would you like provide it to me if you have

http://www.linuxquestions.org/questi...for-it-727572/

the below is his way to solve,but I need detail steps(commands) to follow it

Code:
Hurray, finally. Problem solved. Thanks craigevil for a tip.

After, reducing a list of sources in /etc/apt/source.list to stable relise, I had no problem in installing again install_flash_player_10_linux.deb

Ahhh, My happiness was too early. I have managed only to reinstall install_flash_player_10_linux.deb

 . But when I wanted to remove adobe-flashplugin. I had another problem.
$dpkg --purge adobe-flashplugin
(Reading database ... 584686 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
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 
But it is simple to fix it. I have edit file /var/lib/dpkg/info/adobe-flashplugin.prerm and removed all lines after set -e. This solved the problem.
in my test ,even I reduce squeeze to stable,and update repositories,but still can't reinstall this deb install_flash_player_10_linux.deb successfully

and I remove all line only left set -e left in adobe-flashplugin.prerm,but still can't remove adobe-flashplugin

btw
I am not new to debian, I have two years experience in Ububtu+debian,and I like debian because I believe it more stable than ubuntu although it also disappoint me the day before yesterday
see my another post
http://www.linuxquestions.org/questi...terday-739287/

this is a another issue,now I eagerly want to solve the repositories problem

Thanks again
Helai

Last edited by helai; 07-11-2009 at 06:13 PM.
 
Old 07-11-2009, 06:44 PM   #9
helai
LQ Newbie
 
Registered: Jun 2007
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks everyone, Finally I luckily solve it by following these commands
Code:
sudo rm /var/lib/dpkg/info/adobe-flashplugin.prerm
lenovo@debian:~/Desktop$ sudo dpkg -i adobe-flashplugin_10.0.22.87-2_i386.deb 
(Reading database ... 201798 files and directories currently installed.)
Preparing to replace adobe-flashplugin 10.0.22.87-2 (using adobe-flashplugin_10.0.22.87-2_i386.deb) ...
Unpacking replacement adobe-flashplugin ...
Setting up adobe-flashplugin (10.0.22.87-2) ...
update-alternatives: using /usr/lib/adobe-flashplugin/libflashplayer.so to provide /usr/lib/iceape/plugins/flashplugin-alternative.so (iceape-flashplugin) in auto mode.
update-alternatives: using /usr/lib/adobe-flashplugin/libflashplayer.so to provide /usr/lib/iceweasel/plugins/flashplugin-alternative.so (iceweasel-flashplugin) in auto mode.
update-alternatives: using /usr/lib/adobe-flashplugin/libflashplayer.so to provide /usr/lib/mozilla/plugins/flashplugin-alternative.so (mozilla-flashplugin) in auto mode.
update-alternatives: using /usr/lib/adobe-flashplugin/libflashplayer.so to provide /usr/lib/firefox/plugins/flashplugin-alternative.so (firefox-flashplugin) in auto mode.
update-alternatives: using /usr/lib/adobe-flashplugin/libflashplayer.so to provide /usr/lib/xulrunner/plugins/flashplugin-alternative.so (xulrunner-flashplugin) in auto mode.
update-alternatives: using /usr/lib/adobe-flashplugin/libflashplayer.so to provide /usr/lib/midbrowser/plugins/flashplugin-alternative.so (midbrowser-flashplugin) in auto mode.
update-alternatives: using /usr/lib/adobe-flashplugin/libflashplayer.so to provide /usr/lib/xulrunner-addons/plugins/flashplugin-alternative.so (xulrunner-addons-flashplugin) in auto mode.
lenovo@debian:~/Desktop$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
so sum it
adobe flash deb compiled for ubuntu8.04+ is not allowed installed in debian
http://get.adobe.com/flashplayer/
ubuntu flash deb of ubuntu8.04 is compatible installed in debian
https://launchpad.net/ubuntu/hardy/i...n/10.0.22.87-2
 
Old 07-12-2009, 01:12 AM   #10
symon1980
Member
 
Registered: Nov 2007
Posts: 57

Rep: Reputation: 16
Glad you solved your problem.

and to jdkaye.... All I was saying is that Debian is not the easiest distro for beginners, especially coming from windows. Debian is not that hard to learn if you want to put the time in and learn... but alot of people aren't interested in using the terminal and editing text... they want a gui for everything... for eg: in Debian... to add repo's you need to edit sources.list.... in ubuntu/mint you have a gui available by default to do this without having to edit sources.list.... its things like this that makes it easier for a newcommer that isn't too interested in learning how to edit text files.... believe or not... most people can't be bothered with it, its easy enough for us who have used linux for a while though.
Alot of newcommers will install linux, try to play their mp3's, video's, flash etc and it won't work... not realising why or how to fix it, then give up. Another reason why I suggested Linux Mint because its all done for you without the need to do anything... Debian might be Easy for YOU and ME but its not easy for the average new user who knows nothing about linux. Don't get defensive about your favourite distro, Im not putting debian down at all... but it does take some manual work that is already done for you in mint. thats not even my opinion.. thats a fact. I was just making the suggestion because I assumed this user didn't know anything about Linux.

simply telling a new user to add such and such into sources.list and type in dpkg --purge adobe-flashplugin
without explaining how to do it doesn't make sense to a beginner.

anywayssss. flame me if you will... but you have to admit I have a point. this is my last post on the subject.
 
Old 07-12-2009, 08:54 AM   #11
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
You obviously haven't used Debian lately, symon. All the GUI stuff in Ubuntu is available in Debian as well. I also strongly disagree with your claim that Debian is "not the easiest distro for beginners."

We tell people to edit sources.list because over the Internet it's far far easier than guiding someone through a GUI. They're free to use whatever editor they want, say perhaps gedit, too.
 
Old 07-14-2009, 05:15 AM   #12
kaddy080
LQ Newbie
 
Registered: Jul 2009
Posts: 1

Rep: Reputation: 0
I actually agree with symon. I myself, and i know other people who are windows users and tried linux for the first time, and got frustrated with it and quit several times because of running into several hiccups and didn't know what was going on.... such as mp3's/video's not working...among other things... I've tried Debian, Mandriva, sabayon, fedora, puppy. sun solaris and I hated them all! Only because i found them all hard to learn and I couldn't be bothered with endless googling and wasting time trying to fix minor problems that in my opinion shouldn't be there... I just wanted to install linux and have it work out of the box without a major learning curve because I don't have time in between work, study and sports to read alot. I installed LinuxMint 7 gnome and Everything works without the need to do ANYTHING!

So I can see where symon is coming from... I agree that Linux Mint is a much easier distro's than the ones I tried previously. Take it from a noob! lol.

thanx for the read anyways

chris.
 
Old 07-14-2009, 05:32 AM   #13
symon1980
Member
 
Registered: Nov 2007
Posts: 57

Rep: Reputation: 16
Not to mention that jdkaye and AlucardZero are Debian users as their preference, so their getting defensive of their fav distro and can't admit there are easier distro's to learn out there for people who just want things to work with minimal fuss

Mint rocks for the lazy user who wants their hand held.... hehe. I use Opensuse and Bsd myself.
 
Old 10-17-2009, 06:06 PM   #14
bcebul
LQ Newbie
 
Registered: Oct 2009
Posts: 2

Rep: Reputation: 0
force the purge

# dpkg --purge adobe-flashplugin
results in an error
# dpkg --purge --force-all adobe-flashplugin
fixes the problem
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
.deb files keep braking my install (Ubuntu 8.04 on Sony VAIO) rafttrip Ubuntu 3 08-21-2008 07:14 AM
How to install the latest Gparted in Ubuntu by source, and convert into .deb? ussr_1991 Linux - Software 0 08-22-2007 05:40 AM
How to install Flash on ubuntu jilloper Linux - Software 4 08-15-2007 12:44 AM
I've broken apt-get/synaptic due to insalling a .deb file grahamu Linux - Desktop 9 09-25-2006 10:02 AM
Can apt4rpm use deb repositories or install .deb packages? raylpc Linux - General 0 08-18-2003 01:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 10:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration