Your message dated Wed, 24 Feb 2016 22:39:44 +0100
with message-id <[email protected]>
and subject line Re: #698562: upgrade from squeeze => wheezy fails if database
has not been created before the upgrade
has caused the Debian Bug report #698562,
regarding upgrade from squeeze => wheezy fails if database has not been created
before the upgrade
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.)
--
698562: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=698562
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: pdns-backend-mysql,pdns-backend-pgsql
Version: 3.1-4
Severity: serious
User: [email protected]
Usertags: piuparts
Hi,
during a test with piuparts I noticed your package fails to upgrade from
'squeeze'.
It installed fine in 'squeeze', then the upgrade to 'wheezy' fails.
>From the attached log (scroll to the bottom...):
Setting up pdns-server (3.1-4) ...
Installing new version of config file /etc/init.d/pdns ...
Replacing config file /etc/default/pdns with new version
invoke-rc.d: policy-rc.d denied execution of start.
Setting up pdns-backend-mysql (3.1-4) ...
dbconfig-common: writing config to
/etc/dbconfig-common/pdns-backend-mysql.conf
Creating config file /etc/dbconfig-common/pdns-backend-mysql.conf with new
version
Creating config file /etc/powerdns/pdns.d/pdns.local.gmysql with new version
detected upgrade from previous non-dbconfig version.
creating database backup in
/var/cache/dbconfig-common/backups/pdns-backend-mysql_2.9.22-8+squeeze1.mysql.
error encountered backing up the old database:
mysqldump: Got error: 1049: Unknown database 'pdns' when selecting the
database
dbconfig-common: pdns-backend-mysql configure: aborted.
dbconfig-common: flushing administrative password
dpkg: error processing pdns-backend-mysql (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up pdns-server (3.1-4) ...
Installing new version of config file /etc/init.d/pdns ...
Replacing config file /etc/default/pdns with new version
invoke-rc.d: policy-rc.d denied execution of start.
Setting up pdns-backend-pgsql (3.1-4) ...
dbconfig-common: writing config to
/etc/dbconfig-common/pdns-backend-pgsql.conf
Creating config file /etc/dbconfig-common/pdns-backend-pgsql.conf with new
version
Creating config file /etc/powerdns/pdns.d/pdns.local.gpgsql with new version
detected upgrade from previous non-dbconfig version.
creating database backup in
/var/cache/dbconfig-common/backups/pdns-backend-pgsql_2.9.22-8+squeeze1.pgsql.
error encountered backing up the old database:
pg_dump: [archiver (db)] connection to database "pdns" failed: FATAL:
database "pdns" does not exist
dbconfig-common: pdns-backend-pgsql configure: aborted.
dbconfig-common: flushing administrative password
dpkg: error processing pdns-backend-pgsql (--configure):
subprocess installed post-installation script returned error exit status 1
Running piuparts tests is a very experimental feature and not available
in piuparts.git, yet. But I'm confident the db servers are running and
have been upgraded before the application.
I'm starting with a DEBIAN_FRONTEND=noninteractive install in minimal
squeeze (that works fine), do not configure the packages in any way and
distupgrade to wheezy later on (first the dbserver, the remaining
packages in the next run).
cheers,
Andreas
pdns-backend-mysql_3.1-4.log.gz
Description: GNU Zip compressed data
pdns-backend-pgsql_3.1-4.log.gz
Description: GNU Zip compressed data
--- End Message ---
--- Begin Message ---
As indicated by Marc this was fixed in the wheezy cycle, which is
now already oldstable.
Thank you for your report and time.
Best,
--
,''`. Christian Hofstaedtler <[email protected]>
: :' : Debian Developer
`. `' 7D1A CFFA D9E0 806C 9C4C D392 5C13 D6DB 9305 2E03
`-
--- End Message ---