Bug#844683: libreoffice-common 5.3 preinst fails when removing missing directories

2016-11-17 Thread Rene Engelhard
tag 844683 + pending
thanks

On Fri, Nov 18, 2016 at 11:52:54AM +0800, Drew Parsons wrote:
> libreoffice-common fails during preinst attempting to remove
> directories which are not there:

That is not true.

This is rm_conffile, so "if this obsolete conffile exists, remove it".

> 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

The problem here is the "'s. Seems dpkg accepted it until shortly and chaned
behaviour to stop doing so. Or debhelper, where 5.3 changed to compat 10.
That would explain why 5.2 didn't break.

https://anonscm.debian.org/cgit/pkg-openoffice/libreoffice.git/commit/?h=debian-experimental-5.3=e1f72e38cc5820826d146d972098452a5e567f89

is the fix.

> 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 suchi file or directory

These are https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=754333 and minor.

> The chain of dependencies then prevents the other libreoffice 5.3
> packages from completing their configuration.

I know, I actually saw this, but I didn't care, this is experimental and beta1
is supposed be there next week.
That alpha1 has been in NEW for 3 weeks, enough
that I stopped caring about it already.

Regards,

Rene



Bug#844683: libreoffice-common 5.3 preinst fails when removing missing directories

2016-11-17 Thread Drew Parsons
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-liberation1: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  
pn  libreoffice-style-hicontrast  
pn  libreoffice-style-oxygen  
pn  libreoffice-style-sifr
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++66.2.0-13
ii  python3   3.5.1-4
ii  python3.5 3.5.2-7
pn  python3:any   
ii  uno-libs3 5.3.0~alpha1-1
ii  ure   5.3.0~alpha1-1

-- no debconf information