sean finney wrote:
> 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.
> 
> 

Christian,

I've prepared packages including the hints from sean (using the dbc template
mechanism and including the explicit mysql version of the dbc maintainer 
scripts).

Could you please test the packages from [1] and let us know, if they work
better. If not, please also include the dbc.log that sean mentioned above (with
dbc_debug=1 environement variable set).

Cheers,
Michael

[1] http://debs.michaelbiebl.de/rsyslog/


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to