Bug#919298: libreoffice-mysql-connector: fails to upgrade from sid: dpkg-maintscript-helper errors out
Hi again,
On Sat, Jan 26, 2019 at 05:25:14PM +0100, Rene Engelhard wrote:
> Preparing to unpack .../11-libreoffice-mysql-connector_6.2.0~rc3-1_all.deb ...
> dpkg-query: no packages found matching libreoffice-mysql-connector:all
> dpkg-query: package 'libreoffice-mysql-connector' is not installed
> Use dpkg --contents (= dpkg-deb --contents) to list archive files contents.
> dpkg-maintscript-helper: error: file '/usr/share/doc/libreoffice-mysql-connector' not owned by package 'libreoffice-mysql-connector:all'
> dpkg-query: package 'libreoffice-mysql-connector' is not installed
> Use dpkg --contents (= dpkg-deb --contents) to list archive files contents.
> dpkg-maintscript-helper: error: file '/usr/share/doc/libreoffice-mysql-connector/changelog.Debian.gz' not owned by package 'libreoffice-mysql-connector:all'
> dpkg-query: package 'libreoffice-mysql-connector' is not installed
> Use dpkg --contents (= dpkg-deb --contents) to list archive files contents.
> dpkg-maintscript-helper: error: file '/usr/share/doc/libreoffice-mysql-connector/copyright' not owned by package 'libreoffice-mysql-connector:all'
> dpkg-maintscript-helper: error: directory '/usr/share/doc/libreoffice-mysql-connector' contains files not owned by package libreoffice-mysql-connector:all, cannot switch to symlink
> dpkg: error processing archive /tmp/apt-dpkg-install-Cmo0nn/11-libreoffice-mysql-connector_6.2.0~rc3-1_all.deb (--unpack):
> new libreoffice-mysql-connector package pre-installation script subprocess returned error exit status 1
> Errors were encountered while processing:
> /tmp/apt-dpkg-install-Cmo0nn/11-libreoffice-mysql-connector_6.2.0~rc3-1_all.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> the package changed any (well, arch-specific) to all (transitional package), maybe
> that confuses dpkg-maintscript-helper? Any suggestion to get out of this?
Except the "obvious" solution of keeping the transitional package
arch-dep and changing the -common to -core in maintscript... Needs to be
tested.
Would like to avoid that, though; there's nothing arch-dep in this
package.
Regards,
Rene
Reply to: