Bug#972043: libreoffice: 1:6.1.5-1 -> 1:7.0.2-1 upgrade fails
Source: libreoffice
Version: 1:7.0.2-1
Severity: serious
I came to upgrade an old VM and was faced with:
> Preparing to unpack .../09-libreoffice-common_1%3a7.0.2-1_all.deb ...
> dpkg-maintscript-helper: error: file '/usr/lib/libreoffice/share/registry/math.xcd' not owned by package 'libreoffice-common:all'
> dpkg-maintscript-helper: error: directory '/usr/lib/libreoffice/share/registry' contains files not owned by package libreoffice-common:all, cannot switch to symlink
> dpkg: error processing archive /tmp/apt-dpkg-install-yFAjDA/09-libreoffice-common_1%3a7.0.2-1_all.deb (--unpack):
> new libreoffice-common package pre-installation script subprocess returned error exit status 1
> rmdir: failed to remove '/var/lib/libreoffice/program/': No such file or directory
> rmdir: failed to remove '/var/lib/libreoffice': No such file or directory
> ...
> debian:~ jrtc27% sudo dpkg -S /usr/lib/libreoffice/share/registry/math.xcd
> libreoffice-math: /usr/lib/libreoffice/share/registry/math.xcd
I have 1:6.1.5-1 installed and was upgrading to 1:7.0.2-1.
Jess
Reply to: