← Back to team overview

canonical-partner-dev team mailing list archive

[Bug 986841] Re: Debug log created by Adobe Reader browser plugin (nppdf.so)

 

alphapapa, I've just had a look into this. The acroread package (version
9.5.1) does intend to install a copy of the plugin to
/usr/lib/firefox/plugins (symlinked to /usr/lib/firefox-addons/plugins)
- this is triggered by a postinst trigger to
/opt/Adobe/Reader9/install_browser_plugin. However, this script only
copies the plugin across if `uname -m | cut -c 1` returns "i" - in other
words, it's looking for an i386/i686 architecture to be returned by
uname, whereas if it sees something different (eg. x86_64 or amd64) it
will behave differently and try to use nspluginwrapper, which is not
installed by default.

(I'm running 32-bit Precise on a 64-bit processor, hence i686 is
returned for me.)

You can tell whether or not this has happened by seeing if the Adobe
Reader config file that's built by postinst contains instructions to
remove the plugins from subsidiary locations on uninstall, which implies
that they were copied there by install_browser_plugin:

$ cat /opt/Adobe/Reader9/Reader/GlobalPrefs/.config
remove /usr/lib/firefox/plugins/nppdf.so
remove /usr/lib/firefox/plugins/nppdf.so
remove /usr/lib/firefox-addons/plugins/nppdf.so
remove /usr/lib/mozilla/plugins/nppdf.so
remove /usr/lib/firefox/plugins/nppdf.so
remove /usr/lib/firefox/plugins/nppdf.so
remove /usr/lib/firefox-addons/plugins/nppdf.so
remove /usr/lib/mozilla/plugins/nppdf.so

The functional end result appears to be the same - after all, your
acroread install clearly does work as a Firefox plugin from its /opt
location, although exactly how Firefox knows to look there, I'm not sure
- but it's certainly weird behaviour.

-- 
You received this bug notification because you are a member of Canonical
Partner Developers, which is subscribed to acroread in Ubuntu.
https://bugs.launchpad.net/bugs/986841

Title:
  Debug log created by Adobe Reader browser plugin (nppdf.so)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/acroread/+bug/986841/+subscriptions


References