[Bug 861584] Re: package flashplugin-installer 10.3.183.10ubuntu5 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Steve Langasek steve.langasek at canonical.com
Thu Sep 29 00:33:40 UTC 2011


The upgrade log shows:

Setting up flashplugin-downloader:i386 (10.3.183.10ubuntu5) ...
[...]
Connessione a archive.canonical.com|91.189.88.33|:80... fallito: Connessione scaduta.
Rinuncio.

download failed
The Flash plugin is NOT installed.
Setting up flashplugin-installer (10.3.183.10ubuntu5) ...
nspluginwrapper: /usr/lib/flashplugin-installer/libflashplayer.so is not a valid NPAPI plugin
dpkg: error processing flashplugin-installer (--configure):
 subprocess installed post-installation script returned error exit status 1

So flashplugin-installer has failed to install because flashplugin-
downloader, which it depends on, has failed to download the plugin.
flashplugin-downloader is marked as installed in spite of this failure,
and flashplugin-installer then tries to make use of the file that is
supposed to have been downloaded.

That's because of the following code in the maintainer script:

fp_exit_with_error() {
        echo $1
        echo "The Flash plugin is NOT installed."
        db_fset flashplugin-installer/local seen false
        db_fset flashplugin-installer/httpget seen false
        db_set flashplugin-installer/httpget false
        exit 0 # still install the Debian package, undoes the fix for #387263
}

This last line should be changed to 'exit 1'.  The package should never
be marked "installed" when the download has not succeeded, because it
breaks reverse-dependencies and leaves users with no clear way to get
the plugin properly installed.

For the life of me I don't know why the Debian maintainer did it this
way.

** Changed in: flashplugin-nonfree (Ubuntu)
       Status: Confirmed => Triaged

** Changed in: flashplugin-nonfree (Ubuntu)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to flashplugin-nonfree in Ubuntu.
https://bugs.launchpad.net/bugs/861584

Title:
  package flashplugin-installer 10.3.183.10ubuntu5 failed to
  install/upgrade: subprocess installed post-installation script
  returned error exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/flashplugin-nonfree/+bug/861584/+subscriptions




More information about the Ubuntu-mozillateam-bugs mailing list