Daniel Hahler thank you for your help, the problem seem cause by dbconfig-common.
when I run # DEBIAN_FRONTEND=noninteractive apt-get install postfix-policyd Creating config file /etc/postfix-policyd.conf with new version sanity check failed for dbc_dbuser. error encountered creating user: No database user specified. I check the /etc/dbconfig-common/postfix-policyd.conf files and find dbc_dbtype='mysql' # dbc_dbuser: database user # the name of the user who we will use to connect to the database. dbc_dbuser='' # dbc_dbpass: database user password # the password to use with the above username when connecting # to a database, if one is required dbc_dbpass='' # dbc_dbserver: database host. # leave unset to use localhost (or a more efficient local method # if it exists). dbc_dbserver='' # dbc_dbport: remote database port # leave unset to use the default. only applicable if you are # using a remote database. dbc_dbport='' # dbc_dbname: name of database # this is the name of your application's database. dbc_dbname='' # dbc_dbadmin: name of the administrative user # this is the administrative user that is used to create all of the above dbc_dbadmin='root' the file not create correctly. in ubuntu 910, the flies is below dbc_dbtype='mysql' # dbc_dbuser: database user # the name of the user who we will use to connect to the database. dbc_dbuser='postfix-policyd' # dbc_dbpass: database user password # the password to use with the above username when connecting # to a database, if one is required dbc_dbpass='X1NMSNqVqtJd' # dbc_dbserver: database host. # leave unset to use localhost (or a more efficient local method # if it exists). dbc_dbserver='' # dbc_dbport: remote database port # leave unset to use the default. only applicable if you are # using a remote database. dbc_dbport='' # dbc_dbname: name of database # this is the name of your application's database. dbc_dbname='postfixpolicyd' # dbc_dbadmin: name of the administrative user # this is the administrative user that is used to create all of the above dbc_dbadmin='root' Now when I modify /etc/dbconfig-common/postfix-policyd.conf , add the policyd user and password, and run again. # DEBIAN_FRONTEND=noninteractive apt-get install postfix-policyd runing well. -- noninteractive install fails: "No database user specified." https://bugs.launchpad.net/bugs/560144 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs