Bug#516562: Cannot find a question for phpmyadmin/dbconfig-install
Package: dbconfig-common Version: 1.8.47+nmu1 Followup-For: Bug #516562 -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Control: unmerge 516562 Control: retitle 516562 dbconfig-common: leaves debconf database in inconsistent state During my investigation of bug 476946, I encountered this problem as well. It is not the same as the merged bugs, therefore unmerging. I have not been able yet to determine when it happens exactly, but it seems that under certain conditions, the questions of a dbc controled package are unregistered, but the corresponding template is not. When that happens, you can not preseed a not yet (or not anymore) existing question as the creation of the question fails. I could "fix" this issue by modifying debconf-set-selection to unconditionally create a new template, as that enforces the question to be regenerated. If I do that I do get warnings about the debconf database being in an inconsistent state: debconf: warning: possible database corruption. Will attempt to repair by adding back missing question cacti/db/app-user I seem to be able to do this reproducible now by installing my package cacti with preseeding: cacti cacti/db/app-user string cacti cacti cacti/db/dbname string cacti cacti cacti/dbconfig-install boolean true cacti cacti/internal/skip-preseed boolean true cacti cacti/mysql/admin-pass password cacti cacti/mysql/app-passpassword blablabla cacti cacti/webserver select apache2 and purging it afterwards after preseeding it with the same seed and letting dbc also purge the database. After that I can not preseed any normal cacti variable until I install it again. I don't assume this last state is normal to reach as I preseed an internal variable, but at least I get to the same symptom as the original bug report. I will continue to investigate. - -- System Information: Debian Release: 7.1 APT prefers stable APT policy: (500, 'stable'), (99, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.2.0-4-amd64 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages dbconfig-common depends on: ii debconf [debconf-2.0] 1.5.49 ii ucf3.0025+nmu3 dbconfig-common recommends no packages. Versions of packages dbconfig-common suggests: ii mysql-client-5.5 [virtual-mysql-client] 5.5.31+dfsg-0+wheezy1 - -- debconf information excluded -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) iQEcBAEBCAAGBQJR6vmvAAoJEJxcmesFvXUKkQ0IALKrnJ60QlZUyar3PrGt2Kym lKFWMlaVs/B+scF30X0KTV/7zpiNAGiKDZVq3GV48UuC/5BLJjZkGFkF2gbNZrR0 pqyRq1H7UlJwG3AbZKNpQFbPGHCI8M/JQCb1hWrJ1/pfFBiIsetG2VgoE7JNgiaY sYdPHxBoF6FLMKrjfn7+mxsMY2i5bX5NKnH6x+ZXezXC5Z+FfI4pq7tXiAPjoKY2 9URFy0jKAyGZYZkddePEIu+a6ROcLxw0RXXSFkKh8L32zv1VSDVyj/1nampyiK2l P9DH/Fb5JyESgzG2z0bn/HS9FXGpOaaB8ip0ODxUCVrhdHKuM2Nyqtm1NHrcfC0= =9Ldx -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#516562: Cannot find a question for phpmyadmin/dbconfig-install
Hi Dne Sun, 22 Feb 2009 12:12:19 + Yohann Lepage napsal(a): > It is impossible to use preseed file to skip dbconfig-install in debconf. This sounds like a generic dbconfig-common issue, which is already reported there as #476946. Blocking this bug by #476946. -- Michal Čihař | http://cihar.com | http://blog.cihar.com signature.asc Description: PGP signature
Bug#516562: Cannot find a question for phpmyadmin/dbconfig-install
Package: phpmyadmin Version: 4:3.1.2-2 Severity: minor It is impossible to use preseed file to skip dbconfig-install in debconf. Install phpmyadmin : # export DEBCONF_DEBUG="developer" # apt-get install phpmyadmin There is just 2 questions when dbconfig is skiped : debconf (developer): <-- INPUT high phpmyadmin/dbconfig-install debconf (developer): --> 0 question will be asked debconf (developer): <-- INPUT high phpmyadmin/reconfigure-webserver debconf (developer): --> 0 question will be asked I use this preseed file for installation : phpmyadmin phpmyadmin/dbconfig-install boolean false phpmyadmin phpmyadmin/reconfigure-webservermultiselect apache2 I get this error : # debconf-set-selections < p error: Cannot find a question for phpmyadmin/dbconfig-install -- System Information: Debian Release: 5.0 APT prefers testing APT policy: (99, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.26-1-486 Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages phpmyadmin depends on: ii dbconfig-common 1.8.40 common framework for packaging dat ii debconf [debconf-2.0] 1.5.24 Debian configuration management sy ii libapache2-mod-php5 5.2.6.dfsg.1-3 server-side, HTML-embedded scripti ii perl 5.10.0-19 Larry Wall's Practical Extraction ii php5-mcrypt 5.2.6.dfsg.1-3 MCrypt module for php5 ii php5-mysql5.2.6.dfsg.1-3 MySQL module for php5 Versions of packages phpmyadmin recommends: ii apache2 2.2.11-2 Apache HTTP Server metapackage ii apache2-mpm-prefork [httpd] 2.2.11-2 Apache HTTP Server - traditional n ii mysql-client-5.0 [mysql-clien 5.0.51a-24 MySQL database client binaries pn php5-gd(no description available) Versions of packages phpmyadmin suggests: ii mysql-server-5.0 [mysql-serve 5.0.51a-24 MySQL database server binaries -- debconf information: phpmyadmin/remove-error: abort phpmyadmin/setup-username: admin phpmyadmin/db/app-user: phpmyadmin/install-error: abort * phpmyadmin/reconfigure-webserver: apache2 phpmyadmin/remote/host: * phpmyadmin/dbconfig-install: false phpmyadmin/remote/port: phpmyadmin/dbconfig-upgrade: true phpmyadmin/mysql/admin-user: root phpmyadmin/internal/reconfiguring: false phpmyadmin/missing-db-package-error: abort phpmyadmin/remote/newhost: phpmyadmin/upgrade-error: abort phpmyadmin/dbconfig-reinstall: false phpmyadmin/db/dbname: phpmyadmin/database-type: mysql phpmyadmin/internal/skip-preseed: true phpmyadmin/upgrade-backup: true phpmyadmin/dbconfig-remove: phpmyadmin/passwords-do-not-match: phpmyadmin/mysql/method: unix socket phpmyadmin/purge: false -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org