I had a few problems with mssql-server so I decided to reinstall it.

I googled around for a way to completely remove any trace of a package, and found the following link:

pacman -Rns mssql-server

But then I realized that several mssql files where left, like the following:

/opt/mssql
/opt/mssql/lib/mssql-conf
/usr/lib/systemd/system/mssql-server.service
/usr/share/doc/mssql-server
/usr/share/man/man1/mssql-conf.1.gz
/var/opt/mssql
/var/opt/mssql/data/var/opt/mssql
/var/opt/mssql/mssql.conf
/etc/systemd/system/multi-user.target.wants/mssql-server.service

And then, trying to reinstall mssql-ver I got the following:

$ yaourt -S mssql-server

[...]
==> y
loading packages...
resolving dependencies...
looking for conflicting packages...
Packages (1) mssql-server-14.0.3030.27-1
:: Proceed with installation? [Y/n] y

(1/1) checking for file conflicts
[############################################################] 100%
error: failed to commit transaction (conflicting files)
mssql-server: /opt/mssql/bin/ [...]
mssql-server: /opt/mssql/lib/ [...]
mssql-server: /usr/lib/systemd/system/mssql-server.service exists in filesystem
mssql-server: /usr/share/doc/mssql-server/ [...]
mssql-server: /usr/share/man/man1/mssql-conf.1.gz exists in filesystem
mssql-server: /usr/share/man/man1/sqlservr.1.gz exists in filesystem
Errors occurred, no packages were upgraded.
==> WARNING: Your packages are saved in /tmp/yaourt-tmp-sas

Is it safe to manually delete all those files? or is there any better way to reinstall mssql-server?