Bug#972043: libreoffice: 1:6.1.5-1 -> 1:7.0.2-1 upgrade fails

2020-10-11 Thread Rene Engelhard
Hi,

Am 11.10.20 um 21:12 schrieb Jessica Clarke:
>> 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
>> [...]
>> debian:~ jrtc27% sudo dpkg -S /usr/lib/libreoffice/share/registry/math.xcd
>> libreoffice-math: /usr/lib/libreoffice/share/registry/math.xcd

Sigh. I hate this dpkg bullshit.

(And so far for testing this in experimental first.)


The upgrade worked before this symlink was added due to #969653 (and
upstream not hounouring their own config) before I added this symlink. :(

Looks like I need a Conflicts: against pre-7.0 packages containing stuff
in /usr/lib/libreoffice/share/registry ...


Regards,


Rene



Bug#972043: libreoffice: 1:6.1.5-1 -> 1:7.0.2-1 upgrade fails

2020-10-11 Thread Jessica Clarke
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