Solved

How to install flash player with Ubuntu?

Posted on 2009-07-01
4
708 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 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Creating a Samba server for a small office. Ubuntu Linux and Samba can breathe new life into a retired PC and save an office money on new hardware/software. Our example server will have two hard disks, one exclusively for storing shared data. …
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

919 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

12 Experts available now in Live!

Get 1:1 Help Now