A NOTE has been added to this issue.
======================================================================
http://www.dbmail.org/mantis/view.php?id=413
======================================================================
Reported By: lkneschke
Assigned To:
======================================================================
Project: DBMail
Issue ID: 413
Category: installation scripts
Reproducibility: always
Severity: major
Priority: normal
Status: new
target:
======================================================================
Date Submitted: 22-Sep-06 14:21 CEST
Last Modified: 28-Sep-06 06:41 CEST
======================================================================
Summary: Ubuntu/Debain package does not install
Description:
Hello!
I have created packages for ubuntu using debuild. When i try to install
these packages using
apt-get install dbmail
i get the error messages reported in "STeps to reproduce".
I think the main problem is, that in
/etc/default/dbmail
no service got enabled. And the the start script fails, because no serivce
could be started.
If i enable any service and call
dpkg --configure -a
the installation finnishes after changing /etc/default/dbmail manualy.
Is that the expected behaviour?
======================================================================
----------------------------------------------------------------------
lkneschke - 22-Sep-06 16:09
----------------------------------------------------------------------
I think that's the problematic line
db_get dbmail/do_debconf || true; DO_DEBCONF=$RET
Do i need to have some special package installed maybe?
----------------------------------------------------------------------
lkneschke - 22-Sep-06 16:41
----------------------------------------------------------------------
ok. This script only works i set the the level of question to low.
Maybe at lease the first question should be critical maybe.
----------------------------------------------------------------------
paul - 27-Sep-06 21:49
----------------------------------------------------------------------
Lars,
I think I found it. Silly typo in dbmail init script.
----------------------------------------------------------------------
paul - 27-Sep-06 21:54
----------------------------------------------------------------------
Index: debian/dbmail.init
===================================================================
--- debian/dbmail.init (revision 2278)
+++ debian/dbmail.init (working copy)
@@ -150,7 +150,7 @@
if [ "$START_LMTPD" ]; then service_start "LMTPD" || let
gr=$gr+$?; fi
if [ "$START_SIEVE" ]; then service_start "SIEVE" || let
gr=$gr+$?; fi
if [ "$START_SSL" ]; then ssl_wrapper start || let gr=$gr+$?; fi
- log_end_msg $r
+ log_end_msg $gr
;;
stop)
----------------------------------------------------------------------
lkneschke - 27-Sep-06 22:31
----------------------------------------------------------------------
I'll try that with a fresh installation.
----------------------------------------------------------------------
lkneschke - 28-Sep-06 06:41
----------------------------------------------------------------------
It works for me now.
Unfortunaly it solved not the problem regarding the password problem
during the installation. But i'm still searching.
Issue History
Date Modified Username Field Change
======================================================================
22-Sep-06 14:21 lkneschke New Issue
22-Sep-06 16:09 lkneschke Note Added: 0001409
22-Sep-06 16:41 lkneschke Note Added: 0001410
27-Sep-06 21:49 paul Note Added: 0001421
27-Sep-06 21:54 paul Note Added: 0001422
27-Sep-06 22:31 lkneschke Note Added: 0001424
28-Sep-06 06:41 lkneschke Note Added: 0001426
======================================================================