LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-23-2011, 08:48 PM   #1
lugoteehalt
Senior Member
 
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215
Blog Entries: 2

Rep: Reputation: 49
New install of squeeze, how get flash player?


Just installed squeeze can't get adobe flash player for youtube etc.. Tried http://www.linuxquestions.org/questi...queeze-834767/ but it didn't work.
Code:
apt-get install flashplugin-nonfree
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package flashplugin-nonfree is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'flashplugin-nonfree' has no installation candidate
Great thanks any help.
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 01-23-2011, 09:10 PM   #2
michalng
Member
 
Registered: Dec 2005
Distribution: Debian KDE / Fluxbox
Posts: 222

Rep: Reputation: 46
This reply may not be helpful but

I did this to my squeeze installation
Quote:
aptitude reinstall flashplugin-nonfree
and got this
Quote:
The following packages will be REINSTALLED:
flashplugin-nonfree
0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 17.9 kB of archives. After unpacking 0 B will be used.
Get:1 ................
and the installation continues

Believe your /etc/apt/sources.list looks something like this?
Quote:
deb http://ftp.de.debian.org/debian squeeze main contrib
 
1 members found this post helpful.
Old 01-23-2011, 10:32 PM   #3
Hungry ghost
Senior Member
 
Registered: Dec 2004
Posts: 1,222

Rep: Reputation: 666Reputation: 666Reputation: 666Reputation: 666Reputation: 666Reputation: 666
Did you make sure you have the "non-free" and "contrib" repositories in your /etc/apt/sources.list (besides "main")? It should look something like this:

Code:
deb http://whatever.server.org/debian/ squeeze main contrib non-free
Regards.

EDIT: didn't realize michalng had already pointed out the sources.list part.

Last edited by Hungry ghost; 01-23-2011 at 10:35 PM.
 
1 members found this post helpful.
Old 01-24-2011, 12:07 PM   #4
lugoteehalt
Senior Member
 
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215

Original Poster
Blog Entries: 2

Rep: Reputation: 49
Thanks both. That looks like the problem, wrong /etc/apt/sources.list. So added the last line thus:
Code:
deb http://ftp.uk.debian.org/debian/ squeeze main
deb-src http://ftp.uk.debian.org/debian/ squeeze main

deb http://security.debian.org/ squeeze/updates main
deb-src http://security.debian.org/ squeeze/updates main

deb http://ftp.uk.debian.org/debian/ squeeze main contrib non-free
But it still won't work, even after a reboot:
Code:
aptitude install flashplugin-nonfree
No candidate version found for flashplugin-nonfree
No candidate version found for flashplugin-nonfree
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
                                         
root@fido:/home/lugo# apt-get install flashplugin-nonfree
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package flashplugin-nonfree is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
Am mystified therefore.
It is 64 bit but the Adobe thing now works for that.
 
Old 01-24-2011, 12:44 PM   #5
Hungry ghost
Senior Member
 
Registered: Dec 2004
Posts: 1,222

Rep: Reputation: 666Reputation: 666Reputation: 666Reputation: 666Reputation: 666Reputation: 666
Did you execute aptitude update (or apt-get update) after editing your sources.list? You must execute in order to update the list of packages.

EDIT: BTW, you can add the "contrib" and "non-free" repos in the first two lines of your sources.list file, since you already have the lines for the main server there; should look something like this:

Code:
deb http://ftp.uk.debian.org/debian/ squeeze main contrib non-free
deb-src http://ftp.uk.debian.org/debian/ squeeze main contrib non-free

deb http://security.debian.org/ squeeze/updates main
deb-src http://security.debian.org/ squeeze/updates main

Last edited by Hungry ghost; 01-24-2011 at 12:48 PM.
 
2 members found this post helpful.
Old 01-24-2011, 02:44 PM   #6
lugoteehalt
Senior Member
 
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215

Original Poster
Blog Entries: 2

Rep: Reputation: 49
Quote:
Originally Posted by odiseo77 View Post
Did you execute aptitude update (or apt-get update) after editing your sources.list? You must execute in order to update the list of packages.

EDIT: BTW, you can add the "contrib" and "non-free" repos in the first two lines of your sources.list file, since you already have the lines for the main server there; should look something like this:

Code:
deb http://ftp.uk.debian.org/debian/ squeeze main contrib non-free
deb-src http://ftp.uk.debian.org/debian/ squeeze main contrib non-free

deb http://security.debian.org/ squeeze/updates main
deb-src http://security.debian.org/ squeeze/updates main
Huge thanks. That was the problem, so did apt-get update and then flashplayer-nonfree installed:
Code:
apt-get install flashplugin-nonfree
Reading package lists... Done
Building dependency tree       
Reading state information... Done
flashplugin-nonfree is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 25 not upgraded.
Sorry, bit misleading, that after 'apt-get install flashplayer-nonfree' The point is flashplayer-nonfree is installed.

However at youtube.com the videos don't work. Right clicking on the screen, after a worrying delay reveals that Gnash 0.8.8 is what is running, not Adobe flash player. So I should uninstall Gnash?? Sorry if I'm not being too bright.
 
Old 01-24-2011, 02:56 PM   #7
Hungry ghost
Senior Member
 
Registered: Dec 2004
Posts: 1,222

Rep: Reputation: 666Reputation: 666Reputation: 666Reputation: 666Reputation: 666Reputation: 666
Yes, I think the best idea is to uninstall gnash; purging it is probably better, so it doesn't interfere with the non-free flash plugin; in order to purge it, simply run:

Code:
aptitude purge gnash browser-plugin-gnash
After this, flash sites should work.

Regards.
 
1 members found this post helpful.
Old 01-24-2011, 10:19 PM   #8
lugoteehalt
Senior Member
 
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215

Original Poster
Blog Entries: 2

Rep: Reputation: 49
Thanks, that fixed it. Now have video on youtube. However there is no sound. Went to alsamixer and it was using the TV card. The whole computer is odd and slow. Did think it was strigi making its database but it seems to have finished. If someone could work out the problem, perhaps it often happens with new installations of squeeze??

Anyroad flash player now works, minus sound, so I'd better mark this thread as solved. Huge thanks for the definitive advice.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Adobe Flash player in 64-bit debian/squeeze garyg007 Linux - Software 3 09-28-2010 12:12 AM
[SOLVED] How install Adobe Flash 64 on Squeeze 64 bit? AleLinuxBSD Debian 6 09-19-2010 01:11 PM
[SOLVED] How install Flash 64 on Debian Squeeze 64 bit? AleLinuxBSD Debian 14 12-28-2009 03:27 AM
[SOLVED] flash player on debian squeeze amd64 nima0102 Linux - Desktop 9 11-18-2009 01:26 PM
How do I install Flash Player Mlony Linux - Software 3 09-16-2004 05:07 AM

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

All times are GMT -5. The time now is 02:12 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration