[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



On Sat, Feb 11, 2017 at 09:45:01PM +0100, Andreas Beckmann wrote:
> So you are installing something over an existing symlink in stretch ...

Yeah, I know.

> ==> Please make libreoffice-dev-doc ship its content in
> /usr/share/doc/libreoffice-core/sdk instead of /usr/share/doc/libreoffice-dev/sdk
> (you may adjust the /usr/share/doc/libreoffice-dev-doc/api link as well)
> 
> ==> and have libreoffice-dev Conflicts: libreoffice-dev-doc (<< 1:5.2.5-2~)
> (the dir_to_symlink part should be fine as is, maybe bump the version to 1:5.2.5-2~, too)
[...]
> libreoffice-dev.preinst: d-m-h goes fine, no problematic files are found (-dev-doc was removed temporarily)
> libreoffice-dev.postinst: d-m-h suddenly finds newly owned files below /usr/share/doc/libreoffice-dev/ and explodes

I guessed that too but I didn't get why; given it apparently should know which
files to handled after the preinst call where there were no files. Ah, well. :)

> So, yes, shipping directly in /usr/share/doc/libreoffice-core/sdk should do the trick

Changing the complete path during a hard freeze? Hmm.

*If* I did change the path, I don't like /usr/share/doc/libreoffice-core/sdk at
all. There's nothing -core'ish here. It's the SDK docs.

/usr/share/doc/libreoffice/sdk would also be possible AFAICS since it's
no symlink and has (afaicr) never been used for the docs.

Regards,

Rene
> 
> 
> Andreas


Reply to: