[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 Mon, Feb 13, 2017 at 02:46:27PM +0100, Rene Engelhard wrote:
> 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

OK, it got working that way by reverting the dir_to_symlink thing (and to do
a symlink_to_dir thingy to already-there stretch/sid upgrades) and doing the
-N above.

Will upload soonish.

Regards,

Rene


Reply to: