Fixes #5: use dpkg remove, not purge, skip re-install if same version.

Note: plugins will still be re-installed every time