Bug#633396: cannot upgrade libreoffice-common (cp: cannot stat `/usr/lib/libreoffice/basis3.4/program/.services.rdb': No such file or directory)
Hi,
On Mon, Jul 11, 2011 at 12:34:20AM +0200, Rene Engelhard wrote:
> > diff --git i/libreoffice-core.postinst.in w/libreoffice-core.postinst.in
> > index e69de29b..cbf8ec59 100644
> > --- i/libreoffice-core.postinst.in
> > +++ w/libreoffice-core.postinst.in
> > @@ -0,0 +1,13 @@
> > +#!/bin/sh
> > +
> > +set -e
> > +
> > +if [ "$1" = "configure" ]; then
> > + if dpkg --compare-versions "$2" lt "1:3.4.0-1"; then
> > + dpkg-trigger /@@OOBASISDIR@/registered-components
> > + fi
> > +fi
> > +
> > +#DEBHELPER#
> > +
> > +exit 0
>
> Hmm. Do we really need to invoke the trigger manually here? As the trigger
> is supposed to run at the end -core (and eventual other packages) are unpacked
> and the stuff is there and then merged.
Even an upgrade without -evolution or -filter-binfilter runs that trigger without
the explicit one. At least here with apt.
The only problem I could see is that if you upgrade -core the trigger isn't run
and the stuff not updated (but the service definitions shouldn't change anyway).
In that case you need to run it *everytime*, though, and not just on upgrades form
< 1:3.4.0-1.
Grüße/Regards,
René
Reply to: