Comment 10 for bug 131864

Revision history for this message
Christian Schürer-Waldheim (quincunx) wrote : Re: [Bug 131864] Re: gnash crash! ...gnash 0.8.1~trunk.070802-0ubuntu3 failed to install/upgrade: subprocess post-installation script returned error exit status 2

Thanks for you help, ryan, I could update the package successfully now.

~Christian

On Monday 13 August 2007, apache2 wrote:
> Christian Schuerer, if you had installed the broken package before the
> fixed release, you will _still_ have problems upgrading. You need to
> remove it first. I posted above how to manually remove.
>
> "
> I got it to remove in a very forcefull way. I'm not to keen on
> scripting or how dpkg works, so you might not listen to me BUT, if you
> want to remove mozilla-plugin-gnash (for now until it is fixed):
>
>
> You have to remove 1 line from 2 different files.
>
> Remove [ for p in iceape iceweasel mozilla firefox xulrunner; do
> update-alternatives --remove "$p-flashplugin"
> /usr/lib/gnash/libgnashplugin.so done ]
>
> from
> /var/lib/dpkg/info/mozilla-plugin-gnash.prerm &
> /var/lib/dpkg/info/mozilla-plugin-gnash.postinst
>
> then
> sudo apt-get remove mozilla-plugin-gnash
>
>
> and to be safe, manually run update-alternatives as both files wanted to
> do:
>
> sudo update-alternatives --remove iceape-flashplugin
> /usr/lib/gnash/libgnashplugin.so
> sudo update-alternatives --remove iceweasel-flashplugin
> /usr/lib/gnash/libgnashplugin.so
> sudo update-alternatives --remove mozilla-flashplugin
> /usr/lib/gnash/libgnashplugin.so
> sudo update-alternatives --remove firefox-flashplugin
> /usr/lib/gnash/libgnashplugin.so
> sudo update-alternatives --remove xulrunner-flashplugin
> /usr/lib/gnash/libgnashplugin.so "
>
> once you've done that, then upgrade and let me know if it went through
> smooth
>
> -ryan
>
> On 8/12/07, Christian Schuerer <email address hidden> wrote:
> > Mario, it seems that the problem isn't fixed yet, at least for me. I've
> > downloaded the new packages, but when I install the mozilla-plugin
> > package, I get the following error message:
> >
> > Preparing to replace mozilla-plugin-gnash
> > 0.8.1~trunk.070802-0ubuntu3(using
> > mozilla-plugin-gnash_0.8.1~trunk.070802-0ubuntu4_amd64.deb) ...
> > /var/lib/dpkg/info/mozilla-plugin-gnash.prerm: 17: for p in iceape
> > iceweasel mozilla firefox xulrunner; do update-alternatives --remove
> > "$p-flashplugin" /usr/lib/gnash/libgnashplugin.so done: not found dpkg:
> > warning - old pre-removal script returned error exit status 127 dpkg -
> > trying script from the new package instead ...
> > prerm called with argument `failed-upgrade'
> > dpkg: error processing
> > mozilla-plugin-gnash_0.8.1~trunk.070802-0ubuntu4_amd64.deb (--install):
> > subprocess new pre-removal script returned error exit status 1
> > /var/lib/dpkg/info/mozilla-plugin-gnash.postinst: 7: Syntax error: "do"
> > unexpected (expecting ";;")
> > dpkg: error while cleaning up:
> > subprocess post-installation script returned error exit status 2
> > Errors were encountered while processing:
> > mozilla-plugin-gnash_0.8.1~trunk.070802-0ubuntu4_amd64.deb
> >
> > --
> > gnash crash! ...gnash 0.8.1~trunk.070802-0ubuntu3 failed to
> > install/upgrade: subprocess post-installation script returned error exit
> > status 2
> > https://bugs.launchpad.net/bugs/131864
> > You received this bug notification because you are a direct subscriber
> > of the bug.
>
> --
> Mechanical Engineering Undergraduate
> CSU American Society of Engineers
> CSU Engineering College Council
> CSU American Institute of Aeronautics and Astronautics