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

Bug#919298: libreoffice-mysql-connector: fails to upgrade from sid: dpkg-maintscript-helper errors out



Package: libreoffice-mysql-connector
Version: 1:6.2.0~rc2-1
Severity: serious
User: debian-qa@lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package fails to upgrade from
'sid' to 'experimental'.

>From the attached log (scroll to the bottom...):

  Preparing to unpack .../7-libreoffice-mysql-connector_1%3a6.2.0~rc2-1_all.deb ...
  dpkg-query: no packages found matching $DPKG_MAINTSCRIPT_PACKAGE
  dpkg-query: error: --listfiles needs a valid package name but '$DPKG_MAINTSCRIPT_PACKAGE' is not: illegal package name in specifier '$DPKG_MAINTSCRIPT_PACKAGE': must start with an alphanumeric character
  
  Use --help for help about querying packages.
  dpkg-maintscript-helper: error: file '/usr/share/doc/libreoffice-mysql-connector' not owned by package '$DPKG_MAINTSCRIPT_PACKAGE'
  dpkg-query: error: --listfiles needs a valid package name but '$DPKG_MAINTSCRIPT_PACKAGE' is not: illegal package name in specifier '$DPKG_MAINTSCRIPT_PACKAGE': must start with an alphanumeric character
  
  Use --help for help about querying packages.
  dpkg-maintscript-helper: error: file '/usr/share/doc/libreoffice-mysql-connector/copyright' not owned by package '$DPKG_MAINTSCRIPT_PACKAGE'
  dpkg-query: error: --listfiles needs a valid package name but '$DPKG_MAINTSCRIPT_PACKAGE' is not: illegal package name in specifier '$DPKG_MAINTSCRIPT_PACKAGE': must start with an alphanumeric character
  
  Use --help for help about querying packages.
  dpkg-maintscript-helper: error: file '/usr/share/doc/libreoffice-mysql-connector/changelog.Debian.gz' not owned by package '$DPKG_MAINTSCRIPT_PACKAGE'
  dpkg-query: error: --listfiles needs a valid package name but '$DPKG_MAINTSCRIPT_PACKAGE' is not: illegal package name in specifier '$DPKG_MAINTSCRIPT_PACKAGE': must start with an alphanumeric character
  
  Use --help for help about querying packages.
  dpkg-maintscript-helper: error: file '/usr/share/doc/libreoffice-mysql-connector/changelog.Debian.amd64.gz' not owned by package '$DPKG_MAINTSCRIPT_PACKAGE'
  dpkg-maintscript-helper: error: directory '/usr/share/doc/libreoffice-mysql-connector' contains files not owned by package $DPKG_MAINTSCRIPT_PACKAGE, cannot switch to symlink
  dpkg: error processing archive /tmp/apt-dpkg-install-w3OdOs/7-libreoffice-mysql-connector_1%3a6.2.0~rc2-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-w3OdOs/7-libreoffice-mysql-connector_1%3a6.2.0~rc2-1_all.deb


Without looking at the code I'd suspect you have a redundant
  $DPKG_MAINTSCRIPT_PACKAGE
in libreoffice-mysql-connector.maintscript. Current debhelper compat
levels properly escape the '$' character.


cheers,

Andreas

Attachment: libreoffice-mysql-connector_1:6.2.0~rc2-1.log.gz
Description: application/gzip


Reply to: