Tuesday, September 29, 2009

Updating Flash Player in Firefox for Ubuntu 8.04 or higher

So this is one pain in the neck if you ask me, normally you would expect a smooth installation by the package manager but it WONT ....
so when I tried installing by downloading the debian package from adobe download page, the installation will fail saying

dpkg: dependency problems prevent configuration of adobe-flashplugin:
adobe-flashplugin depends on libnspr4-dev; however:
Package libnspr4-dev is not installed.
adobe-flashplugin depends on libnss3-dev; however:
Package libnss3-dev is not installed.
dpkg: error processing adobe-flashplugin (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
adobe-flashplugin

and then when I would try to install the
libnspr4-dev libnss3-dev packages it will throw an error :

The following packages have unmet dependencies:
adobe-flashplugin: Depends: libnspr4-dev but it is not going to be installed
libnss3-dev: Depends: libnspr4-dev but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).



So here is a much simpler solution open the downloaded package using archive manager and locate the file libflashplayer.so and simply copy it under you mozillaPath/plugins folder. If there isnt a plugins folder simply create it.

Normally it should be under /home/user/.mozilla/plugins.
Restart the browser and you are good to go.

No comments: