[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Installing openoffice.org-voikko: unopkg fails if OO.o is running



On Sat, 2008-02-02 at 19:48 +0200, Ville-Pekka Vainio wrote:
> I just happened to test installing this package while having OO.o Writer 
> running and the unopkg installation fails. It's 
> running '/usr/lib/openoffice.org/program/unopkg 
> add --shared %{_libdir}/voikko.uno.pkg -env:JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBILITY=1 || :' 
> and it fails with:
> "You need to close the already opened Extension Manager to continue.
> 
> ERROR: Lock file indicates that a concurrent Office process is running!
> 
> unopkg failed.

Hmm, I can't get this to happen here with F9 or F8 OOo. I wonder (though
I tried this as well without reproducing the problem) if you had writer
running as root ? I can't think of any other scenario with a shared
lockfile.

> So is there a way of making the RPM installation fail if unopkg fails

Well, remove the || : and it will just fail. You probably want to avoid
doing that though, its a world of pain for everyone when transactions
fail, especially on remove/upgrade paths.

C.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]