← Back to team overview

registry team mailing list archive

[Bug 560144] Re: noninteractive install fails: "No database user specified."

 

Now I try the newest Debian 6, and I found the bug have been fixed.


root@debian6:~# DEBIAN_FRONTEND=noninteractive apt-get install postfix-policyd
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  dbconfig-common libdbd-mysql-perl libdbi-perl libhtml-template-perl
  libmysqlclient16 libnet-daemon-perl libplrpc-perl mysql-client
  mysql-client-5.1 mysql-common mysql-server mysql-server-5.1
  mysql-server-core-5.1 psmisc
Suggested packages:
  libipc-sharedcache-perl libterm-readkey-perl tinyca
The following NEW packages will be installed:
  dbconfig-common libdbd-mysql-perl libdbi-perl libhtml-template-perl
  libmysqlclient16 libnet-daemon-perl libplrpc-perl mysql-client
  mysql-client-5.1 mysql-common mysql-server mysql-server-5.1
  mysql-server-core-5.1 postfix-policyd psmisc
0 upgraded, 15 newly installed, 0 to remove and 0 not upgraded.
Need to get 26.3MB of archives.
After this operation, 60.1MB of additional disk space will be used.
Do you want to continue [Y/n]?
Get:1 http://mirrors.geekbone.org squeeze/main mysql-common 5.1.47-1 [407kB]
Get:2 http://mirrors.geekbone.org squeeze/main libnet-daemon-perl 0.43-1 [46.6kB]
Get:3 http://mirrors.geekbone.org squeeze/main libplrpc-perl 0.2020-2 [36.0kB]
Get:4 http://mirrors.geekbone.org squeeze/main libdbi-perl 1.611-1 [827kB]
Get:5 http://mirrors.geekbone.org squeeze/main libmysqlclient16 5.1.47-1 [2,270kB]
Get:6 http://mirrors.geekbone.org squeeze/main libdbd-mysql-perl 4.014-1 [137kB]
Get:7 http://mirrors.geekbone.org squeeze/main mysql-client-5.1 5.1.47-1 [8,625kB]
Get:8 http://mirrors.geekbone.org squeeze/main psmisc 22.11-1 [122kB]
Get:9 http://mirrors.geekbone.org squeeze/main mysql-server-core-5.1 5.1.47-1 [4,276kB]
Get:10 http://mirrors.geekbone.org squeeze/main mysql-server-5.1 5.1.47-1 [8,157kB]
Get:11 http://mirrors.geekbone.org squeeze/main dbconfig-common 1.8.46 [474kB]
Get:12 http://mirrors.geekbone.org squeeze/main libhtml-template-perl 2.9-1 [65.7kB]
Get:13 http://mirrors.geekbone.org squeeze/main mysql-client 5.1.47-1 [401kB]
Get:14 http://mirrors.geekbone.org squeeze/main mysql-server 5.1.47-1 [401kB]
Get:15 http://mirrors.geekbone.org squeeze/main postfix-policyd 1.82-2+b1 [62.1kB]
Fetched 26.3MB in 3min 16s (134kB/s)
Preconfiguring packages ...
Selecting previously deselected package mysql-common.
(Reading database ... 20103 files and directories currently installed.)
Unpacking mysql-common (from .../mysql-common_5.1.47-1_all.deb) ...
Selecting previously deselected package libnet-daemon-perl.
Unpacking libnet-daemon-perl (from .../libnet-daemon-perl_0.43-1_all.deb) ...
Selecting previously deselected package libplrpc-perl.
Unpacking libplrpc-perl (from .../libplrpc-perl_0.2020-2_all.deb) ...
Selecting previously deselected package libdbi-perl.
Unpacking libdbi-perl (from .../libdbi-perl_1.611-1_i386.deb) ...
Selecting previously deselected package libmysqlclient16.
Unpacking libmysqlclient16 (from .../libmysqlclient16_5.1.47-1_i386.deb) ...
Selecting previously deselected package libdbd-mysql-perl.
Unpacking libdbd-mysql-perl (from .../libdbd-mysql-perl_4.014-1_i386.deb) ...
Selecting previously deselected package mysql-client-5.1.
Unpacking mysql-client-5.1 (from .../mysql-client-5.1_5.1.47-1_i386.deb) ...
Selecting previously deselected package psmisc.
Unpacking psmisc (from .../psmisc_22.11-1_i386.deb) ...
Selecting previously deselected package mysql-server-core-5.1.
Unpacking mysql-server-core-5.1 (from .../mysql-server-core-5.1_5.1.47-1_i386.deb) ...
Processing triggers for man-db ...
Setting up mysql-common (5.1.47-1) ...
Selecting previously deselected package mysql-server-5.1.
(Reading database ... 20507 files and directories currently installed.)
Unpacking mysql-server-5.1 (from .../mysql-server-5.1_5.1.47-1_i386.deb) ...
Selecting previously deselected package dbconfig-common.
Unpacking dbconfig-common (from .../dbconfig-common_1.8.46_all.deb) ...
Selecting previously deselected package libhtml-template-perl.
Unpacking libhtml-template-perl (from .../libhtml-template-perl_2.9-1_all.deb) ...
Selecting previously deselected package mysql-client.
Unpacking mysql-client (from .../mysql-client_5.1.47-1_all.deb) ...
Selecting previously deselected package mysql-server.
Unpacking mysql-server (from .../mysql-server_5.1.47-1_all.deb) ...
Selecting previously deselected package postfix-policyd.
Unpacking postfix-policyd (from .../postfix-policyd_1.82-2+b1_i386.deb) ...
Processing triggers for man-db ...
Setting up libnet-daemon-perl (0.43-1) ...
Setting up libplrpc-perl (0.2020-2) ...
Setting up libdbi-perl (1.611-1) ...
Setting up libmysqlclient16 (5.1.47-1) ...
Setting up libdbd-mysql-perl (4.014-1) ...
Setting up mysql-client-5.1 (5.1.47-1) ...
Setting up psmisc (22.11-1) ...
Setting up mysql-server-core-5.1 (5.1.47-1) ...
Setting up mysql-server-5.1 (5.1.47-1) ...
Stopping MySQL database server: mysqld.
Starting MySQL database server: mysqld.
Checking for corrupt, not cleanly closed and upgrade needing tables..
Setting up dbconfig-common (1.8.46) ...

Creating config file /etc/dbconfig-common/config with new version
Setting up libhtml-template-perl (2.9-1) ...
Setting up mysql-client (5.1.47-1) ...
Setting up mysql-server (5.1.47-1) ...
Setting up postfix-policyd (1.82-2+b1) ...
dbconfig-common: writing config to /etc/dbconfig-common/postfix-policyd.conf

Creating config file /etc/dbconfig-common/postfix-policyd.conf with new
version

Creating config file /etc/postfix-policyd.conf with new version
granting access to database postfixpolicyd for postfix-policyd@localhost: success.
verifying access for postfix-policyd@localhost: success.
creating database postfixpolicyd: success.
verifying database postfixpolicyd exists: success.
populating database via sql...  done.
dbconfig-common: flushing administrative password
Starting Postfix greylisting policy daemon: postfix-policyd.
root@debian6:~#

-- 
noninteractive install fails: "No database user specified."
https://bugs.launchpad.net/bugs/560144
You received this bug notification because you are a member of Registry
Administrators, which is the registrant for Debian.