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

Bug#568805: ERROR: Extension has already been added



  Hi Rene,

On Sun, 7 Feb 2010 23:09:09 +0100
Rene Engelhard <rene@debian.org> wrote:

> On Sun, Feb 07, 2010 at 10:02:43PM +0100, Ricardo Mones wrote:
> > The following is shown on upgrade, after configuring, though configure
> > seems to succeed:
> > -------8<-------
> > Configurando openoffice.org-writer2latex (1.0-6) ...
> > Copying: writer2latex.oxt
> > 
> > ERROR: (com.sun.star.deployment.VersionException) { { Message =
> > "Extension has already been added: org.openoffice.da.writer2latex.oxt",
> > Context = (com.sun.star.uno.XInterface) @185d5e0 }, New =
> > (com.sun.star.deployment.XPackage) @18a7a60, Deployed =
> > (com.sun.star.deployment.XPackage) @18d4510 } Extension has already been
> > added: org.openoffice.da.writer2latex.oxt ------->8-------
> > 
> > Not sure wether it's harmless or not. I guess it should be probably 
> 
> It is, the extension is registered (but probably the old version).
> What did the preinst say? Have a full upgrade log?
> It should have deregistered the extension - and the the postinst (what you
> paste) should have no problem at all registering it.
> Either there was a broken state before or something broke in preinst.

  Unfortunately don't have such log. Assuming it was a broken state and
  not a failure in preinst, it's supposed now the state should have become
  unbroken again?

> > changed to a warning or notice if it is.
> 
> That#s not a warning of the package, that is unopkg outputting it.
> And of course just doing it as a warning makes no sense.
> (Besides that, asou might have noti8ced, unopkg returns 0 on failure
> anyway, so the postinst didn't actually fail. POS tool.)

  Yep I figured out it was not a package warning, my thinking was more "if
  it's harmless why scare user with a big ERROR message?" :)
-- 
 Ricardo Mones
 http://people.debian.org/~mones
 «Ships are safe in harbor, but they were never meant to stay there.»



Reply to: