Getting pissed off with getting an error message every time I install any other software, so decided to dig into this.
The bug is in line 38 of the postinst script. ------------------------------------------------- rkhtmpdir=$(grep '^TMPDIR' /etc/rkhunter.conf | sed 's/TMPDIR=//') ------------------------------------------------- In /etc/rkhunter.conf, the TMPDIR assignment is commented out, as is normal for all variable assignments within that file where the default is supposed to be taken. Un-commenting the line in the config file allows the postinst script to run successfully. I would suggest that the postinst script should be changed so that if $rkhtmpdir is null after line 38, it's assigned to the default value (/var/lib/rkhunter/tmp). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/991746 Title: package rkhunter 1.3.8-10 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/rkhunter/+bug/991746/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
