Solved

How to install flash player with Ubuntu?

Posted on 2009-07-01
4
724 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 500 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

WordPress Tutorial 4: Recommended Plugins

Now that you have WordPress installed, understand the interface, and know how to install new parts, let’s take a look at our recommended plugins.

Question has a verified solution.

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

Are you sitting there reading this and wondering how to get started with Linux? It almost seems like picking the right Linux distribution is about like picking the right college or buying a new car if you read some of the article out there. Relax… l…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Suggested Courses

617 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