Ubuntu – failed to create symbolic link ‘/usr/bin/utserver’: File exists

utorrent

I started installing utorrent wrt. When I try to install utorrent till this step it is fine

sudo chmod -R 777 /opt/utorrent-server-v3_0/

After this step when i proceed futher and giving the next command

sudo ln -s /opt/utorrent-server-v3_0/utserver /usr/bin/utserver

Then I get:

failed to create symbolic link ‘/usr/bin/utserver’: File exists

And the file in /usr/bin is broken.

Any idea how to fix this?

Best Answer

You were attempting to create the link before and failed. Remove the link and try again:

sudo rm /usr/bin/utserver
sudo ln -s /opt/utorrent-server-v3_0/utserver /usr/bin/utserver
Related Question