Bug#964471: libreoffice-l10n-ru: error when configuring: cp: cannot create regular file '/etc/libreoffice/registry/Langpack-ru.xcd': No such file or directory
Hi,
On Tue, Jul 07, 2020 at 09:13:58PM +0300, Evgeny Kapun wrote:
> When upgrading Libreoffice, the following errors occur:
>
>
> Setting up libreoffice-l10n-ru (1:7.0.0~rc1-3) ...
>
> Creating config file /etc/libreoffice/registry/Langpack-ru.xcd with new version
> cp: cannot create regular file '/etc/libreoffice/registry/Langpack-ru.xcd': No such file or directory
> dpkg: error processing package libreoffice-l10n-ru (--configure):
> installed libreoffice-l10n-ru package post-installation script subprocess returned error exit status 1
> dpkg: dependency problems prevent configuration of libreoffice-help-ru:
> libreoffice-help-ru depends on libreoffice-l10n-ru; however:
> Package libreoffice-l10n-ru is not configured yet.
>
> dpkg: error processing package libreoffice-help-ru (--configure):
> dependency problems - leaving unconfigured
> Errors were encountered while processing:
> libreoffice-l10n-ru
> libreoffice-help-ru
>
>
> This is apparently caused by /etc/libreoffice/registry not existing.
Interesting. I had that error once for other packages:
libreoffice (1:7.0.0~alpha1-2) experimental; urgency=medium
libreoffice (1:7.0.0~alpha1-2) experimental; urgency=medium
* debian/patches/libreoffice.jar-pom.diff: add pom for new
libreoffice.jar
* debian/patches/bigendian-ustrbuf-hxx.diff: add missing include
on bigendian architectures
* debian/patches/skia-SkOpts_crc32.diff: add missing SkOpts_crc32
to fix skia build on arm
* debian/control*in:
- make -librelogo, -sdbc-postgresql and -report-builder explicitly
depend on libreoffice-common (>= 1:7.0.0~alpha~) as otherwise
/etc/libreoffice/registry might not exist yet
[...]
but how did you get into this situation?
Any upgrade I tried (and yes, also with -l10n-de/-help-de installed)
upgtaded libreoffice-common before the l10ns (and thus /etc/libreoffice/registry
iwas there at .postinst time)....
Regards,
Rene
Reply to: