I can reproduce the problem when upgrading the tango-db package from
unstable to the one from experimental.

Unstable is up to date.

The failing line is 

/usr/sbin/dbconfig-generate-include: 246: cannot create /tmp/dbconfig-
generate-include.FaUbJB: Permission denied

I'm attaching the full log as well.

root@debian:/home/thomas# apt remove --purge "tango*"
[...]
The following packages will be REMOVED:
  libtango-tools* libtango9* tango-common* tango-db* tango-starter*
tango-test*
0 upgraded, 0 newly installed, 6 to remove and 1 not upgraded.
After this operation, 9,363 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 311392 files and directories currently
installed.)
Removing tango-test (9.3.4~rc6+dfsg1-1~exp1) ...
Removing tango-starter (9.3.4~rc6+dfsg1-1~exp1) ...
Removing tango-db (9.3.4~rc6+dfsg1-1~exp1) ...
Determining localhost credentials from /etc/mysql/debian.cnf:
succeeded.
dbconfig-common: dumping mysql database tango to /var/tmp/tango-
db.tango.2020-09-10-12.46.mysql.aNGXXT.
dbconfig-common: dropping mysql database tango.
dropping database tango: success.
verifying database tango was dropped: success.
dbconfig-common: revoking privileges for user tango on tango.
revoking access to database tango from tango@localhost: success.
Removing libtango-tools (9.3.4~rc6+dfsg1-1~exp1) ...
Removing libtango9:amd64 (9.3.4~rc6+dfsg1-1~exp1) ...
Removing tango-common (9.3.4~rc6+dfsg1-1~exp1) ...
Processing triggers for libc-bin (2.31-3) ...
(Reading database ... 311344 files and directories currently
installed.)
Purging configuration files for tango-common (9.3.4~rc6+dfsg1-1~exp1)
...
dpkg: warning: while removing tango-common, directory '/var/lib/tango'
not empty so not removed
Purging configuration files for tango-starter (9.3.4~rc6+dfsg1-1~exp1)
...
insserv: Script sysstat has overlapping Default-Start and Default-Stop
runlevels (2 3 4 5) and (2 3 4 5). This should be fixed.
Purging configuration files for tango-db (9.3.4~rc6+dfsg1-1~exp1) ...
insserv: Script sysstat has overlapping Default-Start and Default-Stop
runlevels (2 3 4 5) and (2 3 4 5). This should be fixed.
Processing triggers for systemd (246.4-1) ...
root@debian:/home/thomas# rm /var/tmp/tango-db.tango.*
root@debian:/home/thomas# apt install tango-db
[...]
The following additional packages will be installed:
  libtango-tools libtango9 tango-common
The following NEW packages will be installed:
  libtango-tools libtango9 tango-common tango-db
0 upgraded, 4 newly installed, 0 to remove and 1 not upgraded.
Need to get 1,852 kB of archives.
After this operation, 7,932 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ftp.de.debian.org/debian unstable/main amd64 tango-common
all 9.2.5a+dfsg1-2 [8,568 B]
Get:2 http://ftp.de.debian.org/debian unstable/main amd64 libtango9
amd64 9.2.5a+dfsg1-2+b2 [1,613 kB]
Get:3 http://ftp.de.debian.org/debian unstable/main amd64 libtango-
tools amd64 9.2.5a+dfsg1-2+b2 [29.2 kB]
Get:4 http://ftp.de.debian.org/debian unstable/main amd64 tango-db
amd64 9.2.5a+dfsg1-2+b2 [202 kB]
Fetched 1,852 kB in 1s (2,633 kB/s)
Preconfiguring packages ...
Selecting previously unselected package tango-common.
(Reading database ... 311341 files and directories currently
installed.)
Preparing to unpack .../tango-common_9.2.5a+dfsg1-2_all.deb ...
Unpacking tango-common (9.2.5a+dfsg1-2) ...
Selecting previously unselected package libtango9:amd64.
Preparing to unpack .../libtango9_9.2.5a+dfsg1-2+b2_amd64.deb ...
Unpacking libtango9:amd64 (9.2.5a+dfsg1-2+b2) ...
Selecting previously unselected package libtango-tools.
Preparing to unpack .../libtango-tools_9.2.5a+dfsg1-2+b2_amd64.deb ...
Unpacking libtango-tools (9.2.5a+dfsg1-2+b2) ...
Selecting previously unselected package tango-db.
Preparing to unpack .../tango-db_9.2.5a+dfsg1-2+b2_amd64.deb ...
Unpacking tango-db (9.2.5a+dfsg1-2+b2) ...
Setting up tango-common (9.2.5a+dfsg1-2) ...
usermod: no changes
Setting up libtango9:amd64 (9.2.5a+dfsg1-2+b2) ...
Setting up libtango-tools (9.2.5a+dfsg1-2+b2) ...
Setting up tango-db (9.2.5a+dfsg1-2+b2) ...
Determining localhost credentials from /etc/mysql/debian.cnf:
succeeded.
dbconfig-common: writing config to /etc/dbconfig-common/tango-db.conf

Creating config file /etc/dbconfig-common/tango-db.conf with new
version

Creating config file /var/lib/tango/.my.cnf with new version
checking privileges on database tango for tango@localhost: user
creation needed.
granting access to database tango for tango@localhost: success.
verifying access for tango@localhost: success.
creating database tango: success.
verifying database tango exists: success.
populating database via sql...  done.
dbconfig-common: flushing administrative password
insserv: Script sysstat has overlapping Default-Start and Default-Stop
runlevels (2 3 4 5) and (2 3 4 5). This should be fixed.
Processing triggers for systemd (246.4-1) ...
Processing triggers for libc-bin (2.31-3) ...
root@debian:/home/thomas# export dbc_debug=1
root@debian:/home/thomas# apt install -t experimental tango-db
[...]
The following additional packages will be installed:
  liblog4tango5v5 libtango9
The following packages will be upgraded:
  liblog4tango5v5 libtango9 tango-db
3 upgraded, 0 newly installed, 0 to remove and 123 not upgraded.
Need to get 1,892 kB of archives.
After this operation, 384 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://deb.debian.org/debian experimental/main amd64
liblog4tango5v5 amd64 9.3.4~rc7+dfsg1-1~exp1 [18.3 kB]
Get:2 http://deb.debian.org/debian experimental/main amd64 libtango9
amd64 9.3.4~rc7+dfsg1-1~exp1 [1,667 kB]
Get:3 http://deb.debian.org/debian experimental/main amd64 tango-db
amd64 9.3.4~rc7+dfsg1-1~exp1 [206 kB]            
Fetched 1,892 kB in 8s (224
kB/s)                                                                  
                  
(Reading database ... 311386 files and directories currently
installed.)
Preparing to unpack .../liblog4tango5v5_9.3.4~rc7+dfsg1-
1~exp1_amd64.deb ...
Unpacking liblog4tango5v5:amd64 (9.3.4~rc7+dfsg1-1~exp1) over
(9.3.4~rc6+dfsg1-1~exp1) ...
Preparing to unpack .../libtango9_9.3.4~rc7+dfsg1-1~exp1_amd64.deb ...
Unpacking libtango9:amd64 (9.3.4~rc7+dfsg1-1~exp1) over (9.2.5a+dfsg1-
2+b2) ...
Preparing to unpack .../tango-db_9.3.4~rc7+dfsg1-1~exp1_amd64.deb ...
(prerm) dbc_go() tango-db upgrade 9.3.4~rc7+dfsg1-1~exp1.
dbc_config() tango-db upgrade 9.3.4~rc7+dfsg1-1~exp1.
dbc_set_dbtype_defaults() .
dbc_read_package_config() .
dbc_set_dbtype_defaults() mysql.
Determining localhost credentials from /etc/mysql/debian.cnf:
succeeded.
Unpacking tango-db (9.3.4~rc7+dfsg1-1~exp1) over (9.2.5a+dfsg1-2+b2)
...
(postrm) dbc_go() tango-db upgrade 9.3.4~rc7+dfsg1-1~exp1.
dbc_config() tango-db upgrade 9.3.4~rc7+dfsg1-1~exp1.
dbc_set_dbtype_defaults() .
dbc_read_package_config() .
dbc_preseed_package_debconf() .
Setting up liblog4tango5v5:amd64 (9.3.4~rc7+dfsg1-1~exp1) ...
Setting up libtango9:amd64 (9.3.4~rc7+dfsg1-1~exp1) ...
Setting up tango-db (9.3.4~rc7+dfsg1-1~exp1) ...
(config) dbc_go() tango-db configure 9.2.5a+dfsg1-2+b2.
dbc_config() tango-db configure 9.2.5a+dfsg1-2+b2.
dbc_set_dbtype_defaults() .
dbc_register_debconf() .
dbc_read_package_config() .
dbc_preseed_package_debconf() .
dbc_get_app_pass() .
Determining localhost credentials from /etc/mysql/debian.cnf:
succeeded.
(postinst) dbc_go() tango-db configure 9.2.5a+dfsg1-2+b2.
dbc_config() tango-db configure 9.2.5a+dfsg1-2+b2.
dbc_set_dbtype_defaults() .
dbc_read_package_debconf() .
dbc_set_dbtype_defaults() mysql.
settings determined from dbc_read_package_debconf:.
        dbc_install=true.
        dbc_upgrade=true.
        dbc_remove=true.
        dbc_dbtype=mysql.
        dbc_dbuser=tango.
        dbc_dbpass=jgRSYfoXGHNq.
        dbc_dballow=localhost.
        dbc_dbadmin=debian-sys-maint.
        dbc_dbadmpass=rXoieD9pwjhhGArp.
        dbc_dbserver=localhost.
        dbc_dbport=3306.
        dbc_dbname=tango.
        dbc_authmethod_admin=.
        dbc_authmethod_user=.
        dbc_ssl=.
dbc_write_package_config() .
dbconfig-common: writing config to /etc/dbconfig-common/tango-db.conf
/usr/sbin/dbconfig-generate-include: 246: cannot create /tmp/dbconfig-
generate-include.FaUbJB: Permission denied
dbc_read_package_config() .
dbc_postinst_cleanup() .
dbc_forget_dbadmin_password() .
dbconfig-common: flushing administrative password
dbc_forget_app_password() .
insserv: Script sysstat has overlapping Default-Start and Default-Stop
runlevels (2 3 4 5) and (2 3 4 5). This should be fixed.
Processing triggers for systemd (246.4-1) ...
Processing triggers for libc-bin (2.31-3) ...

Reply via email to