On Mon, 17 Apr 2017 16:37:35 -0400 Robert Steinmetz wrote: > I upgrades my working Ubuntu 14.04 LTS to 16.04 LTS SpamAssassin > version 3.4.1. > Something happened during the upgrade and I ma now unable to get > sa-compile to configure properly. > > Here is the message > > > root@thelma:~# dpkg --configure sa-compile > > Setting up sa-compile (3.4.1-3) ... > > Running sa-compile (may take a long time) > > Can't exec "rm": No such file or directory at /usr/bin/sa-compile > > line 374, <$fh> line 1. > > make: chmod: Command not found
This is likely an Ubuntu/Debian problem. On the face of it it look like sa-compile is being run without a properly set PATH variable. Note that you do need to run sa-update after changing versions of spamassassin as it will be looking for rules in a 3.4.1 specific directory.