On Wed, Jan 11, 2017 at 08:40:27PM +0100, Andreas Beckmann wrote: > 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
If I (as non-maintainer) understand the problem correctly: - the problematic conffiles are in opendnssec-enforcer-mysql in squeeze only - in jessie (and probably earlier) they are in opendnssec-common and should not be removed As far as I understand it, an empty postrm would be the best available solution. > Andreas cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed