Error -17 (EEXIST):

When I attempt to install a Spigot profile it gives me this error
I have also noticed that I cannot seem to find the file path in WinSCP
Any help would be appreciated.

BuildTools jar compilation failed
Error -17 (EEXIST): /var/games/minecraft/profiles/spigot_1.18.2t to install

What is the profile name in the menu that you tried to download?

i got same problem the spigot tab version 1.18.2