DK wrote: > On 7/26/06, DK <[EMAIL PROTECTED]> wrote: >> On 7/26/06, DK <[EMAIL PROTECTED]> wrote: >> > On 7/26/06, wiz <[EMAIL PROTECTED]> wrote: >> > > On 7/26/06, Paul J Stevens <[EMAIL PROTECTED]> wrote: >> > > >> > > > apt-get clean >> > > > apt-get update >> > > > apt-get install --reinstall dbmail dbmail-mysql dbmail-sieve >> > > > >> > > > should do the trick. >> > >> > I got this: >> > >> >> I fixed the init.d links. The problem seams to be this line now: >> /etc/init.d/dbmail: line 46: /lib/lsb/init-functions: No such file or >> directory >> > > I am stuck. > I installed 'lsb-base', I don't know why it wasn't installed at the > first place and how dbmail could have worked with out it up till now. > But installing lsb-base fixed the "/etc/init.d/dbmail: line 46: > /lib/lsb/init-functions: No such file or directory" error. > Now I have an error with log_daemon_msg. > I don't understand this. What could I have done wrong?
You didn't do anything wrong. I did a quick backport to sarge of dbmail-2.1.7 packages for debian/etch. The lsb stuff was added only today, like 10 minutes before doing the sarge backport. I didn't actually test those packages. Just use the init script from 2.1.6 if you don't mind. > > > # apt-get -f install > Reading Package Lists... Done > Building Dependency Tree... Done > 0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded. > 5 not fully installed or removed. > Need to get 0B/104kB of archives. > After unpacking 0B of additional disk space will be used. > Preconfiguring packages ... > (Reading database ... 60971 files and directories currently installed.) > Preparing to replace dbmail 2.1.7-1 (using .../dbmail_2.1.7-1_i386.deb) ... > /etc/init.d/dbmail: line 157: log_daemon_msg: command not found > invoke-rc.d: initscript dbmail, action "stop" failed. > dpkg: warning - old pre-removal script returned error exit status 127 > dpkg - trying script from the new package instead ... > /etc/init.d/dbmail: line 157: log_daemon_msg: command not found > invoke-rc.d: initscript dbmail, action "stop" failed. > dpkg: error processing /var/cache/apt/archives/dbmail_2.1.7-1_i386.deb > (--unpack): > subprocess new pre-removal script returned error exit status 127 > /etc/init.d/dbmail: line 146: log_daemon_msg: command not found > invoke-rc.d: initscript dbmail, action "start" failed. > dpkg: error while cleaning up: > subprocess post-installation script returned error exit status 127 > Errors were encountered while processing: > /var/cache/apt/archives/dbmail_2.1.7-1_i386.deb > E: Sub-process /usr/bin/dpkg returned an error code (1) > safe:/etc/init.d# > -- ________________________________________________________________ Paul Stevens paul at nfg.nl NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31 The Netherlands________________________________http://www.nfg.nl