Create a symlink to the newly compiled nspluginwrapper :
sudo ln -s /home/[YOUR USER NAME]/tmp/nspluginwrapper-1.2.2/npconfig /usr/bin/nspluginwrapper
Now run apt-get install -f :
sudo apt-get install -f
You should get output similar to this ( depending on what packages you have attempted to install ) :
jdb2@aleph0:~/tmp/nspluginwrapper-1.2.2$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libjna-java libqzeitgeist0 junit4 libgnome2-vfs-perl esound-clients g++-4.4 libgnomevfs2-extra javahelp2
firefox-branding libsexy2 libx264-98 libfelix-framework-java libexempi3 libmatroska2 libdbusmenu-gtk1
libiptcdata0 libgnome2-canvas-perl libwildmidi0 libfelix-main-java openoffice.org-l10n-common
libswing-layout-java visualvm libsoundtouch1c2 libgnome2-perl libhamcrest-java libequinox-osgi-java
libebml2 libnb-platform12-java libstdc++6-4.4-dev
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up nspluginwrapper (1.2.2-0ubuntu9) ...
plugin dirs:
Auto-update plugins from /usr/lib/mozilla/plugins
Looking for plugins in /usr/lib/mozilla/plugins
Auto-update plugins from /usr/lib64/mozilla/plugins
Looking for plugins in /usr/lib64/mozilla/plugins
Auto-update plugins from /usr/lib/firefox/plugins
Looking for plugins in /usr/lib/firefox/plugins
Auto-update plugins from /usr/lib64/firefox/plugins
Looking for plugins in /usr/lib64/firefox/plugins
Auto-update plugins from /root/.mozilla/plugins
Looking for plugins in /root/.mozilla/plugins
Setting up acroread (9.4.2-0natty1) ...
nspluginwrapper: no appropriate viewer found for /opt/Adobe/Reader9/Browser/intellinux/nppdf.so
nspluginwrapper: no appropriate viewer found for /opt/Adobe/Reader9/Browser/intellinux/nppdf.so
Setting up nspluginwrapper-dbgsym (1.2.2-0ubuntu9) ...
Here is a workaround :
Get the source to nspluginwrapper =1.2.2- 0ubuntu9 :
mkdir ~/tmp
cd ~/tmp
apt-get source nspluginwrapper
Untar the source and apply the patches :
tar xvzf nspluginwrapper _1.2.2. orig.tar. gz _1.2.2- 0ubuntu9. diff.gz | patch -p1
zcat nspluginwrapper
Compile the source with debugging information -- this seems to "fix" the crash for some reason :
cd nspluginwrapper -1.2.2
export CFLAGS="-g" ; export CXXFLAGS="-g"
./configure --disable-strip
make -j [NUMBER OF PROCESSORS OR CORES YOU HAVE]
Back up your current nspluginwrapper install :
sudo mv /usr/bin/ nspluginwrapper /usr/bin/ nspluginwrapper .bak
Create a symlink to the newly compiled nspluginwrapper :
sudo ln -s /home/[YOUR USER NAME]/tmp/ nspluginwrapper -1.2.2/ npconfig /usr/bin/ nspluginwrapper
Now run apt-get install -f :
sudo apt-get install -f
You should get output similar to this ( depending on what packages you have attempted to install ) :
jdb2@aleph0: ~/tmp/nspluginw rapper- 1.2.2$ sudo apt-get install -f framework- java libexempi3 libmatroska2 libdbusmenu-gtk1 canvas- perl libwildmidi0 libfelix-main-java openoffice. org-l10n- common layout- java visualvm libsoundtouch1c2 libgnome2-perl libhamcrest-java libequinox- osgi-java 2-java libstdc++6-4.4-dev mozilla/ plugins mozilla/ plugins mozilla/ plugins mozilla/ plugins firefox/ plugins firefox/ plugins firefox/ plugins firefox/ plugins mozilla/ plugins mozilla/ plugins Reader9/ Browser/ intellinux/ nppdf.so Reader9/ Browser/ intellinux/ nppdf.so -dbgsym (1.2.2-0ubuntu9) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libjna-java libqzeitgeist0 junit4 libgnome2-vfs-perl esound-clients g++-4.4 libgnomevfs2-extra javahelp2
firefox-branding libsexy2 libx264-98 libfelix-
libiptcdata0 libgnome2-
libswing-
libebml2 libnb-platform1
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up nspluginwrapper (1.2.2-0ubuntu9) ...
plugin dirs:
Auto-update plugins from /usr/lib/
Looking for plugins in /usr/lib/
Auto-update plugins from /usr/lib64/
Looking for plugins in /usr/lib64/
Auto-update plugins from /usr/lib/
Looking for plugins in /usr/lib/
Auto-update plugins from /usr/lib64/
Looking for plugins in /usr/lib64/
Auto-update plugins from /root/.
Looking for plugins in /root/.
Setting up acroread (9.4.2-0natty1) ...
nspluginwrapper: no appropriate viewer found for /opt/Adobe/
nspluginwrapper: no appropriate viewer found for /opt/Adobe/
Setting up nspluginwrapper
Worked like a charm for me.