Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to install flash player with Ubuntu?

Posted on 2009-07-01
4
Medium Priority
?
726 Views
Last Modified: 2013-11-15
We installed Ubuntu v9.04.  When we tried to go to youtube - it said we needed flash player.  Ok.  So we downloaded a package from adobe's site and followed instructions.  But every method failed as you can see below.  Are we doing something wrong?  

alex@alinux:/tmp$ ls -l
total 4016
-r-------- 1 alex alex    4368 2009-07-01 19:40 adobe-release-i386-1.0-1.noarch.rpm
-r-------- 1 alex alex 4065576 2009-07-01 20:03 flash-plugin-10.0.22.87-release.i386.rpm


But then ran into errors with every method of installing:
alex@alinux:/tmp$ rpm -Uvh adobe-release-i386-1.0-1.noarch.rpm
rpm: To install rpm packages on Debian systems, use alien. See README.Debian.
error: cannot open Packages index using db3 - No such file or directory (2)
error: cannot open Packages database in /var/lib/rpm
warning: adobe-release-i386-1.0-1.noarch.rpm: Header V3 DSA signature: NOKEY, key ID f6777c67
error: cannot open Packages database in /var/lib/rpm

alex@alinux:/tmp$ rpm -Uvh flash-plugin-10.0.22.87-release.i386.rpm
rpm: To install rpm packages on Debian systems, use alien. See README.Debian.
error: cannot open Packages index using db3 - No such file or directory (2)
error: cannot open Packages database in /var/lib/rpm

alex@alinux:/tmp$ sudo apt-get install adobe-flashplugin
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Package adobe-flashplugin 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 adobe-flashplugin has no installation candidate

alex@alinux:/tmp$ yum install flash-plugin
rpm: To install rpm packages on Debian systems, use alien. See README.Debian.
error: cannot open Packages index using db3 - No such file or directory (2)
error: cannot open Packages database in /var/lib/rpm
Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in <module>
    yummain.user_main(sys.argv[1:], exit_code=True)
  File "/usr/share/yum-cli/yummain.py", line 229, in user_main
    errcode = main(args)
  File "/usr/share/yum-cli/yummain.py", line 84, in main
    base.getOptionsConfig(args)
  File "/usr/share/yum-cli/cli.py", line 184, in getOptionsConfig
    enabled_plugins=self.optparser._splitArg(opts.enableplugins))
  File "/var/lib/python-support/python2.6/yum/__init__.py", line 192, in _getConfig
    self._conf = config.readMainConfig(startupconf)
  File "/var/lib/python-support/python2.6/yum/config.py", line 772, in readMainConfig
    yumvars['releasever'] = _getsysver(startupconf.installroot, startupconf.distroverpkg)
  File "/var/lib/python-support/python2.6/yum/config.py", line 842, in _getsysver
    idx = ts.dbMatch('provides', distroverpkg)
TypeError: rpmdb open failed




0
Comment
Question by:amigan_99
  • 2
  • 2
4 Comments
 
LVL 5

Expert Comment

by:Diesel79
ID: 24760206
easiet way to accomplish this is to install "restricted software package" from your package manager. This package includes flash and many other of the most useful and common place apps you will need.
0
 
LVL 1

Author Comment

by:amigan_99
ID: 24760230
In ubuntu we have applications/add/remove...but I don't see anything about installing restricted software packages.  How to accomplish what you suggest?
0
 
LVL 5

Accepted Solution

by:
Diesel79 earned 2000 total points
ID: 24760284
Unless it has changed from older versions of of Ubuntu you should be able to install it straight from the add/remove.

See this site:
https://help.ubuntu.com/community/RestrictedFormats
(This is for older version but 9.04 should be the same as 8.10)

From the console you should be able to run:
sudo apt-get install ubuntu-restricted-extras
0
 
LVL 1

Author Closing Comment

by:amigan_99
ID: 31599053
That did it!  Thanks.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In order for businesses to be compliant with certain information security laws in some countries, you need to be able to prove that a user (which user it was becomes important to the business to take action against the user after an event has occurr…
This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…

782 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question