Bug#844683: libreoffice-common 5.3 preinst fails when removing missing directories
Package: libreoffice-common
Version: 1:5.3.0~alpha1-1
Severity: serious
Justification: Policy 6.2
The new libreoffice 5.3 in experimental fails to install.
libreoffice-common fails during preinst attempting to remove
directories which are not there:
Preparing to unpack .../libreoffice-common_1%3a5.3.0~alpha1-1_all.deb ...
dpkg-maintscript-helper: error: conffile '"/etc/bash_completion.d/libreoffice.sh"' is not an absolute path
dpkg: error processing archive /var/cache/apt/archives/libreoffice-common_1%3a5.3.0~alpha1-1_all.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
rmdir: failed to remove '/var/lib/libreoffice/share/prereg/': No such file or directory
rmdir: failed to remove '/var/lib/libreoffice/share/': No such file or directory
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
rmdir: failed to remove '/var/lib/libreoffice': No such file or directory
dpkg-maintscript-helper: error: conffile '"/etc/bash_completion.d/libreoffice.sh"' is not an absolute path
dpkg: error while cleaning up:
subprocess new post-removal script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/libreoffice-common_1%3a5.3.0~alpha1-1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
The chain of dependencies then prevents the other libreoffice 5.3
packages from completing their configuration.
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.8.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages libreoffice-common depends on:
ii dpkg 1.18.15
iu libreoffice-style-galaxy [libreoffice-style-default] 1:5.3.0~alpha1-1
iu libreoffice-style-tango [libreoffice-style] 1:5.3.0~alpha1-1
ii ure 5.3.0~alpha1-1
Versions of packages libreoffice-common recommends:
ii fonts-liberation 1:1.07.4-2
ii libexttextcat-data 3.4.4-2
iu python3-uno 1:5.3.0~alpha1-1
Versions of packages libreoffice-common suggests:
pn libreoffice-style-breeze <none>
pn libreoffice-style-hicontrast <none>
pn libreoffice-style-oxygen <none>
pn libreoffice-style-sifr <none>
iu libreoffice-style-tango 1:5.3.0~alpha1-1
Versions of packages python3-uno depends on:
ii libc6 2.24-5
ii libgcc1 1:6.2.0-13
ii libpython3.5 3.5.2-7
iu libreoffice-core 1:5.3.0~alpha1-1
ii libstdc++6 6.2.0-13
ii python3 3.5.1-4
ii python3.5 3.5.2-7
pn python3:any <none>
ii uno-libs3 5.3.0~alpha1-1
ii ure 5.3.0~alpha1-1
-- no debconf information
Reply to: