I want to install RVM in ubuntu and I am following these steps
root@jaskaran-Vostro-1550:/home/user_name# sudo apt-get install curl
done this
me too got the same issue and get it resolved by simply changing my user from root to another normal user, i'm using ubuntu subsystem in windows 10