Ubuntu 11.10 flash update failure

In the end of February 2013, after an update suddenly Firebird couldn't play flash anymore. The browser mentioned to install the latest Adobe flash Player so I was redirected to the Adobe download page where I could download the Adobe Flash Player 11.2 for my Ubuntu 11.10 distro.

Unfortunately that didn't work. The browsers (Chrome and Fifefox) didn't recognize the new player and where still asking for the new player.

The problem is that the browsers do not "see" the flash player because the alternatives where not updated after installing the new flash player.

Take a look at the alternative directory while the problem is there:

cd /etc/alternatives
ls -la mozilla-*
lrwxrwxrwx 1 root root 32 2013-02-28 09:14 mozilla-flashplugin -> /usr/lib/gnash/libgnashplugin.so
lrwxrwxrwx 1 root root 57 2012-11-08 13:46 mozilla-javaplugin.so -> /usr/lib/jvm/java-6-openjdk/jre/lib/i386/IcedTeaPlugin.so

This is how I solved the problem

Remove all flash packages:

sudo  apt-get --remove purge adobe-flashplugin adobe-flash-properties-gtk

Reinstall the offical Ubuntu flashplugin installer

sudo  apt-get install --reinstall flashplugin-installer

Update the alternatives

cd /etc/alternatives/
sudo  update-alternatives --quiet --install "/usr/lib/mozilla/plugins/flashplugin-alternative.so" "mozilla-flashplugin" /usr/lib/flashplugin-installer/libflashplayer.so 50

That's all.

Now my alternatives / mozilla directory looks like this:

cd /etc/alternatives
ls -la mozilla-*
root@romac:/etc/alternatives# ls -la mozilla-*
lrwxrwxrwx 1 root root 48 2013-03-14 18:00 mozilla-flashplugin -> /usr/lib/flashplugin-installer/libflashplayer.so
lrwxrwxrwx 1 root root 57 2012-11-08 13:46 mozilla-javaplugin.so -> /usr/lib/jvm/java-6-openjdk/jre/lib/i386/IcedTeaPlugin.so