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

Bug#854576: libreoffice-dev: fails to upgrade libreoffice-dev-doc from jessie with --install-recommends enabled



Hi,

On Sun, Feb 12, 2017 at 12:13:07PM +0100, Andreas Beckmann wrote:
> > /usr/share/doc/libreoffice/sdk would also be possible AFAICS since it's
> > no symlink and has (afaicr) never been used for the docs.
> 
> That would work as well ...

Unfortunately not:

In a chroot with jessie and apt-get install libreoffice libreoffice-dev libreoffice-dev-doc, then dist-upgraded:

Preparing to unpack .../libreoffice_5.2.5-2_amd64.deb ...
dpkg-maintscript-helper: error: directory '/usr/share/doc/libreoffice' contains files not owned by package libreoffice, cannot switch to symlink
dpkg: error processing archive /home/rene/Debian/Pakete/LibreOffice/libreoffice/apt/./libreoffice_5.2.5-2_amd64.deb (--unpack):
 subprocess new pre-installation script returned error exit status 1

Given libreoffice does contain nothing as it's a metapackage I'd say one could
remove libreoffice.maintscript and make it not being linked (-N for --link-doc):
% dpkg -L libreoffice
/.
/usr
/usr/share
/usr/share/bug
/usr/share/bug/libreoffice
/usr/share/bug/libreoffice/control
/usr/share/bug/libreoffice/presubj
/usr/share/doc
/usr/share/doc/libreoffice

Regards,

Rene


Reply to: