[SOLVED] New install of squeeze, how get flash player?
DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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?
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.
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.
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.
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.
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:
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.