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
Solved

How to install flash player with Ubuntu?

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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
LINUX : Create user with required privilages to take backup of a file system 5 84
Installing Debian 64 bit from a USB 5 73
Ubuntu vs. Debian 4 117
awk sed variable in file 3 70
Users are often faced with high disk consumption without really knowing where the largest amount of data resides. Disk Usage Analyzer (aka Baobab) is is a graphical, menu-driven application to analyse disk usage in any Gnome environment and can e…
After running Ubuntu some time, you will be asked to download updates for fixing bugs and security updates. All the packages you download replace the previous ones, except for the kernel, also called "linux-image". This is due to the fact that w…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

808 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