I tried to activate spamassassin using plesk installer.
Ubuntu 16 / Plesk 17.8
remove/install manually, or remove, purge, apt clean etc - same error
Setting up spamassassin (3.4.2-0ubuntu0.16.04.1) ...
-su: 50: Syntax error: "(" unexpected
dpkg: error processing package spamassassin...