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 <real-passwd-here> cacti cacti/mysql/app-pass password 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 ucf 3.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