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

2019-01-26 Thread rene . engelhard
Am 26. Januar 2019 18:05:07 MEZ schrieb Andreas Beckmann :
>On 2019-01-26 17:51, Rene Engelhard wrote:
>> (...)
>> Would like to avoid that, though; there's nothing arch-dep in this
>> package.
>
>The alternative is to put your own transition code in the maintainer
>scripts.

Thanks, no. I even don't believe your last bug was needed. It's a transitional 
package. No contents needed imho. None at all ;)

>It's probably easier and less error prone to just add the lintian
>override and then drop the arch:some transitional package after it got
>part of a stable release.

Yup... :-(

> (Not sure if you are targeting 6.2 for buster
>or bullseye.)

I thought about buster but the last minute poppler transition and the openjdk 
breakage (and 6.2s tests hanging only in pbuilder/sbuild..) made it too late. 
No time anymore to fix big bad surprises in 6.2, especially in the kde5 thingy..

So no 6.2 in buster.

Regards

Rene


-- 
Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.



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

2019-01-26 Thread rene . engelhard
Am 26. Januar 2019 17:58:13 MEZ schrieb Andreas Beckmann :
>On 2019-01-26 17:25, Rene Engelhard wrote:
>> the package changed any (well, arch-specific) to all (transitional
>package), maybe
>> that confuses dpkg-maintscript-helper? Any suggestion to get out of
>this?
>
>dpkg-maintscript-helper does not work properly on any->all (or vice
>versa) changes. #813455
>
>Easiest solution would be to keep the transitional package arch:any (or
>some).
>
>
>Andreas

Hi,

sigh. Ok. Will try that then...

Regards,

Rene
-- 
Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.



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

2019-01-26 Thread Andreas Beckmann
On 2019-01-26 17:51, Rene Engelhard wrote:
> Except the "obvious" solution of keeping the transitional package
> arch-dep and changing the -common to -core in maintscript... Needs to be
> tested.

should work with an appropriate version in the .maintscript file

> Would like to avoid that, though; there's nothing arch-dep in this
> package.

The alternative is to put your own transition code in the maintainer
scripts.
It's probably easier and less error prone to just add the lintian
override and then drop the arch:some transitional package after it got
part of a stable release. (Not sure if you are targeting 6.2 for buster
or bullseye.)


Andreas



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

2019-01-26 Thread Andreas Beckmann
On 2019-01-26 17:25, Rene Engelhard wrote:
> the package changed any (well, arch-specific) to all (transitional package), 
> maybe
> that confuses dpkg-maintscript-helper? Any suggestion to get out of this?

dpkg-maintscript-helper does not work properly on any->all (or vice
versa) changes. #813455

Easiest solution would be to keep the transitional package arch:any (or
some).


Andreas



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

2019-01-26 Thread Rene Engelhard
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



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

2019-01-26 Thread Rene Engelhard
tag 919298 - pending
thanks

Hi,


On Mon, Jan 14, 2019 at 07:35:53PM +0100, Andreas Beckmann wrote:
> 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

There's no code (except maybe in dh), just a .maintscript:

$ cat libreoffice-mysql-connector.maintscript
dir_to_symlink /usr/share/doc/libreoffice-mysql-connector
/usr/share/doc/libreoffice-common 1:6.2.0~alpha-1

Which was added after your http://bugs.debian.org/915019 ... :(

>   $DPKG_MAINTSCRIPT_PACKAGE
> in libreoffice-mysql-connector.maintscript. Current debhelper compat
> levels properly escape the '$' character.

No, that may be the cause of this exact instance, but after removing that one 
it still fails.

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 

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

2019-01-14 Thread Andreas Beckmann
Package: libreoffice-mysql-connector
Version: 1:6.2.0~rc2-1
Severity: serious
User: debian...@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


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