>>>>> "PG" == Paul Gevers <[email protected]> writes:
PG> Control: tags -1 moreinfo PG> Control: retitle -1 admin password not asked in unknown situation PG> On 12-10-15 14:13, Michal Čihař wrote: >> Dne Sat, 10 Oct 2015 09:06:33 +0800 >> 積丹尼 Dan Jacobson <[email protected]> napsal(a): >>> An error occurred while upgrading the database: >>> │ ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using >>> password: NO) >>> >>> Of course it will fail. >>> Your whiptail script forgets to ask for the password. PG> Could you please provide more information? I am missing context here. >> This is rather dbconfig-common issue, as it is responsible for database >> setup. It would be great if you could include more information (which >> would reportbug automatically include) such as dbconfig-common version >> and debconf registry content for phpmyadmin. OK starting over, we run reportbug --template with phpmyadmin Version: 4:4.4.15-1 installed Versions of packages phpmyadmin depends on: ii dbconfig-common 1.8.54 ii debconf [debconf-2.0] 1.5.57 ii libapache2-mod-php5 5.6.14+dfsg-1 pn libjs-sphinxdoc <none> ii perl 5.20.2-6 ii php-gettext 1.0.11-1 ii php5 5.6.14+dfsg-1 ii php5-cgi 5.6.14+dfsg-1 ii php5-json 1.3.7-1 ii php5-mcrypt 5.6.14+dfsg-1 ii php5-mysql 5.6.14+dfsg-1 ii ucf 3.0030 Versions of packages phpmyadmin recommends: ii apache2 [httpd] 2.4.16-3 ii mysql-client 5.6.25-4 ii mysql-client-5.6 [virtual-mysql-client] 5.6.25-4 ii php-tcpdf 6.0.093+dfsg-1 pn php5-gd <none> Versions of packages phpmyadmin suggests: ii chromium [www-browser] 46.0.2490.71-1 ii iceweasel [www-browser] 43.0~a2+20151019004047-1 ii lynx-cur [www-browser] 2.8.9dev6-4 ii midori [www-browser] 0.5.11-2 ii mysql-server 5.6.25-4 ii mysql-server-5.6 [virtual-mysql-server] 5.6.25-4 ii w3m [www-browser] 0.5.3-25 -- debconf information: phpmyadmin/dbconfig-remove: phpmyadmin/dbconfig-upgrade: true * phpmyadmin/reconfigure-webserver: apache2 phpmyadmin/internal/reconfiguring: false * phpmyadmin/mysql/admin-user: root phpmyadmin/remote/newhost: phpmyadmin/remote/host: * phpmyadmin/db/dbname: phpmyadmin phpmyadmin/upgrade-error: abort phpmyadmin/remote/port: phpmyadmin/purge: false phpmyadmin/remove-error: abort * phpmyadmin/db/app-user: phpmyadmin phpmyadmin/missing-db-package-error: abort phpmyadmin/upgrade-backup: true phpmyadmin/passwords-do-not-match: * phpmyadmin/mysql/method: Unix socket * phpmyadmin/dbconfig-install: true phpmyadmin/internal/skip-preseed: false phpmyadmin/install-error: abort phpmyadmin/database-type: mysql phpmyadmin/setup-username: admin phpmyadmin/dbconfig-reinstall: false PG> Apart from the requested information by Michal, also the logging PG> generated by reproducing the issue with dbc_debug=true would help a lot PG> (be careful to hide your real password if you send in the data). OK now I started mysql (which I don't run at boot), # dbc_debug=true aptitude install phpmyadmin 2>&1|tee /tmp/r1
r1
Description: Binary data
Downgrading works fine, as does browsing http://localhost/phpmyadmin/ with user root and root passwd.

