[Pkg-dns-devel] Bug#848111: closed by Ondřej Surý <ondrej at sury.org> (Re: Bug#848111: opendnssec-enforcer-mysql: fails to upgrade from 'jessie': dpkg-maintscript-helper: error: conffile 'conf.xml' is not an absolute path)

Andreas Beckmann anbe at debian.org
Wed Jan 11 19:40:27 UTC 2017


Control: reopen -1
Control: found -1 1:1.4.6-6
Control: found -1 1:2.0.3-5

On 2016-12-19 14:45, Debian Bug Tracking System wrote:
> This should be fixed now. Thanks for the piuparts upgrade testing.

This seems to be a bit more difficult. Looks like the error
already exists in jessie, but dpkg-maintscript-helper in
jessie does not notice it. That means, that
these dpkg-maintscript-helper commands were ineffective:

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

and should be readded with a correct path, ideally via a .maintscript file
and using the current version, to redo this cleanup on long grown systems for real.

1:2.0.3-5 seems to have no more of these maintainer scripts, causing the upgrade to fail:

  Preparing to unpack .../opendnssec-enforcer-mysql_1%3a2.0.3-5_amd64.deb ...
  Unpacking opendnssec-enforcer-mysql (1:2.0.3-5) 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-5_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



Andreas



More information about the pkg-dns-devel mailing list