hiya, > >>> mentioned in my previous email and then run > >>> dpkg --configure -a > >> dpkg -- configure -a gave me no output. > >> A aptitude install rsyslog-mysql typed again gave me: > > Could you please do the same (add "set -x") with > /var/lib/dpkg/info/rsyslog-mysql.config > and try to reinstall rsyslog-mysql. > > > The real problem now is, why dbconfig-common is not called during the config > > stage (i.e. you don't see any debconf prompts) > > Do you have some special apt/dpkg/debconf configuration?
even in noninteractive mode the templates ought to be registered. it could be that the config script isn't running for some reason (you could also try dpkg-reconfigure <pkg> but i'd also be interested in the set -x output of the config maintainer script). regarding the postinst script: my memory is a bit fuzzy on the matter but you might also want to try fetching those debconf values *after* calling dbc_go instead of before to see if that makes a difference. actually, you should be able to avoid needing to fetch those values at all if you use the dbconfig_generate_include* options in postinst (there's a "template" output mode where you can format the file exactly how you want). also, i notice that you're including the dpkg/config.mysql in the config and only dpkg/postinst (i.e. no .mysql). i'm not sure that's related, i'm just trying to point out all the stuff that i see which is different than expected. finally, you might see more about what's going on inside the guts of dbconfig-common if you export dbc_debug=1. there's also possibly some info in /var/log/dbconfig-common/dbc.log. hope something in the above is helpful anyway :) sean --
signature.asc
Description: Digital signature