Package: clamav-daemon
Version: 0.84-2.sarge.12

Installing the latest security update to clamav-daemon I get this error
message:

/var/lib/dpkg/info/clamav-daemon.postinst: line 163: db_stop: command not found

The problem in clamav-daemon.postinst is that confmodule is only
sourced if some conditions are met:

  if [ -n "$2" ]; then
    if dpkg --compare-versions "$2" lt 0.82-2; then
      . /usr/share/debconf/confmodule
      #loading debconf module
      db_purge || true
      db_stop  || true
    fi
  fi

which is not the case in this upgrade. later in the
script db_stop is called anyways:

  db_stop  || true

that results in the error message.

Regards,

        Peter


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

Reply via email to