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

Bug#912140: libreoffice-base,libreoffice-common: trying to overwrite '/usr/lib/libreoffice/share/basic/dialog.xlc', which is also in package libreoffice-{base,common} 1:5.2.7-1+deb9u3



Hi,

Axel Beckert wrote:
> When upgrading Debian Stretch on a friends Gemini PDA (arm64), parts
> of libreoffice failed to upgrade from deb8u3 to deb8u4 due a file
> conflict between two of its binary packages.

Of course I meant deb9u3 and deb9u4. (9 instead of 8)

> It looks as if dialog.xlc moved between packages between deb8u3 and
> deb8u4 on at least arm64.

When trying to fix this manually using "dpkg --purge --force-depends"
to later use "apt install -f", libreoffice-base failed to purge due to
some (seemingly broken) diversion. Here's my next try after
libreoffice-common was already successfully purged:

root@localhost:~# dpkg --purge --force-depends libreoffice-base                   
dpkg: libreoffice-base: dependency problems, but removing anyway as you requested:
 libreoffice-report-builder-bin depends on libreoffice-base.
 libreoffice depends on libreoffice-base.

(Reading database ... 63690 files and directories currently installed.)
Removing libreoffice-base (1:5.2.7-1+deb9u4) ...
dpkg-divert: error: mismatch on package
  when removing 'diversion of /usr/lib/libreoffice/share/basic/dialog.xlc to /usr/lib/libreoffice/share/basic/dialog.xlc.noaccess by libreoffice-base'
  found 'diversion of /usr/lib/libreoffice/share/basic/dialog.xlc to /usr/lib/libreoffice/share/basic/dialog.xlc.noaccess by --add'
dpkg: error processing package libreoffice-base (--purge):
 subprocess installed post-removal script returned error exit status 2
Processing triggers for desktop-file-utils (0.23-1) ...
Processing triggers for mime-support (3.60) ...
Processing triggers for man-db (2.7.6.1-2) ...
Errors were encountered while processing:
 libreoffice-base

So if that diversion isn't coming from the package, feel free to close
this bug report.

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe@debian.org>, https://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE


Reply to: