Yunohost installation on DigitalOcean droplet

I had the same trouble;
i’d resolve it by define a password for root and add a user [yhn] into sudo group

# apt-get install sudo

# passwd root

# adduser yhn

# usermod -a -G sudo yhn

after that I’d reconnect as yhn then
https://yunohost.org/#/install_manually