Package: spampd
Version: 2.30-13
Severity: important

Hi, I have tried to install spampd, and it fails.

It seems that the /etc/init.d/spampd script contains things that bash
can handle but dash cannot.

Like the check if I am root: $EUID is not defined in dash.

Then I have removed that section, and now it fails on a function
definition.

Please install dash, link it to /bin/sh, and then fix your scripts.

What about changing the first line to
#!/bin/bash?

I don't know if the Debian policy allows it or not. But at least
changing to bash I could remove the half-installed package.

Cheers,
Gabor

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.8
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages spampd depends on:
ii  adduser                       3.97       Add and remove users and groups
ii  dpkg                          1.13.22    package maintenance system for Deb
ii  libnet-server-perl            0.90-1     An extensible, general perl server
ii  lsb-base                      3.1-15     Linux Standard Base 3.1 init scrip
ii  perl                          5.8.8-6.1  Larry Wall's Practical Extraction 
ii  spamassassin                  3.1.4-1    Perl-based spam filter using text 

spampd recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to