Your message dated Mon, 19 Dec 2016 14:43:55 +0100
with message-id 
<1482155035.2318781.823584753.6e793...@webmail.messagingengine.com>
and subject line Re: [Pkg-dns-devel] Bug#848111: opendnssec-enforcer-mysql: 
fails to upgrade from 'jessie': dpkg-maintscript-helper: error: conffile 
'conf.xml' is not an absolute path
has caused the Debian Bug report #848111,
regarding opendnssec-enforcer-mysql: fails to upgrade from 'jessie': 
dpkg-maintscript-helper: error: conffile 'conf.xml' is not an absolute path
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
848111: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=848111
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: opendnssec-enforcer-mysql
Version: 1:2.0.3-2
Severity: serious
User: [email protected]
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package fails to upgrade from
'jessie'.
It installed fine in 'jessie', then the upgrade to 'stretch' fails.

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

  Preparing to unpack .../opendnssec-enforcer-mysql_1%3a2.0.3-2_amd64.deb ...
  Unpacking opendnssec-enforcer-mysql (1:2.0.3-2) over (1:1.4.6-6) ...
  dpkg-maintscript-helper: error: conffile 'conf.xml' is not an absolute path
  dpkg: warning: subprocess old post-removal script returned error exit status 1
  dpkg: trying script from the new package instead ...
  dpkg: error processing archive 
/var/cache/apt/archives/opendnssec-enforcer-mysql_1%3a2.0.3-2_amd64.deb 
(--unpack):
   there is no script in the new version of the package - giving up
  dpkg-maintscript-helper: error: conffile 'conf.xml' is not an absolute path
  dpkg: error while cleaning up:
   subprocess installed pre-installation script returned error exit status 1


Looking at the maintainer scripts in jessie, the offending code is:

for conffile in conf kasp zonefetch zonelist; do
    for ext in xml xml.sample; do
        dpkg-maintscript-helper rm_conffile ${conffile}.${ext} 1.2.1.dfsg-1 -- 
"$@"
    done
done

That could never have worked, these old files were never cleaned up.
Just dpkg in stretch got more strict and reports an error about it now.

Either reinstate that code (with correct paths and a bumped version),
s.t. the cleanup is attempted again or ship a dummy empty prerm script
in the package.


cheers,

Andreas

Attachment: opendnssec-enforcer-mysql_1:2.0.3-2.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Version: 1:2.0.3-4

This should be fixed now. Thanks for the piuparts upgrade testing.

Cheers,
-- 
Ondřej Surý <[email protected]>
Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server
Knot Resolver (https://www.knot-resolver.cz/) – secure, privacy-aware,
fast DNS(SEC) resolver
Vše pro chleba (https://vseprochleba.cz) – Mouky ze mlýna a potřeby pro
pečení chleba všeho druhu

On Wed, Dec 14, 2016, at 09:08, Andreas Beckmann wrote:
> Package: opendnssec-enforcer-mysql
> Version: 1:2.0.3-2
> Severity: serious
> User: [email protected]
> Usertags: piuparts
> 
> Hi,
> 
> during a test with piuparts I noticed your package fails to upgrade from
> 'jessie'.
> It installed fine in 'jessie', then the upgrade to 'stretch' fails.
> 
> >From the attached log (scroll to the bottom...):
> 
>   Preparing to unpack .../opendnssec-enforcer-mysql_1%3a2.0.3-2_amd64.deb
>   ...
>   Unpacking opendnssec-enforcer-mysql (1:2.0.3-2) over (1:1.4.6-6) ...
>   dpkg-maintscript-helper: error: conffile 'conf.xml' is not an absolute
>   path
>   dpkg: warning: subprocess old post-removal script returned error exit
>   status 1
>   dpkg: trying script from the new package instead ...
>   dpkg: error processing archive
>   /var/cache/apt/archives/opendnssec-enforcer-mysql_1%3a2.0.3-2_amd64.deb
>   (--unpack):
>    there is no script in the new version of the package - giving up
>   dpkg-maintscript-helper: error: conffile 'conf.xml' is not an absolute
>   path
>   dpkg: error while cleaning up:
>    subprocess installed pre-installation script returned error exit
>    status 1
> 
> 
> Looking at the maintainer scripts in jessie, the offending code is:
> 
> for conffile in conf kasp zonefetch zonelist; do
>     for ext in xml xml.sample; do
>         dpkg-maintscript-helper rm_conffile ${conffile}.${ext}
>         1.2.1.dfsg-1 -- "$@"
>     done
> done
> 
> That could never have worked, these old files were never cleaned up.
> Just dpkg in stretch got more strict and reports an error about it now.
> 
> Either reinstate that code (with correct paths and a bumped version),
> s.t. the cleanup is attempted again or ship a dummy empty prerm script
> in the package.
> 
> 
> cheers,
> 
> Andreas
> _______________________________________________
> pkg-dns-devel mailing list
> [email protected]
> https://lists.alioth.debian.org/mailman/listinfo/pkg-dns-devel
> Email had 1 attachment:
> + opendnssec-enforcer-mysql_1:2.0.3-2.log.gz
>   51k (application/gzip)

--- End Message ---

Reply via email to