Bug#765911: rkhunter: 1.4.2-0.1 breaks the apt hook

Francois Marier francois at debian.org
Sun Oct 19 07:06:37 UTC 2014

Package: rkhunter
Version: 1.4.2-0.1
Severity: normal

The last NMU broke the apt hook. After installing/remove packages, we now
get the following error message:

  Invalid SCRIPTWHITELIST configuration option: Non-existent pathname: /usr/sbin/prelink
  E: Problem executing scripts DPkg::Post-Invoke 'if [ -x /usr/bin/rkhunter ] && grep -qiE '^APT_AUTOGEN=.?(true|yes)' /etc/default/rkhunter; then /usr/share/rkhunter/scripts/rkhupd.sh; fi'
  E: Sub-process returned an error code

While it doesn't interfere with apt, it breaks rkhunter db updates for
those people that don't have the "prelink" package installed.

The fix is to comment out this line in /etc/rkhunter.conf:



More information about the forensics-devel mailing list