Solved

How to install flash player with Ubuntu?

Posted on 2009-07-01
4
700 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
That did it!  Thanks.
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
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…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

763 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now