There is an error in the install script for Masternode the apt-add-resportory command is not correct as its backwards here is the correct command to run to install your linux VPS:
apt-get update -y && apt-get install software-properties-common build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils -y && apt-get install libboost-all-dev -y && apt-add-repository ppa:bitcoin/bitcoin -y && apt-get update -y && apt-get update -y && apt-get install libdb4.8-dev libdb4.8++-dev -y && apt-get install libminiupnpc-dev libzmq3-dev libevent-pthreads-2.0-5 -y && apt-get install unzip -y && wget
https://primestone.global/wp-content/uploads/2018/06/prime_linux.zip && unzip prime_linux.zip && chmod -R 755 ~/prime_linux && cd ~ && mkdir /swap && fallocate -l 1G /swap/swapfile && chmod 600 /swap/swapfile && mkswap /swap/swapfile && echo '/swap/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab && cd ~/prime_linux && ./primestoned --daemon && cd ~ && cd ~/.primestonecore && nano primestone.conf
That will fix your errors!!!
LP
PSC Address: XeSHNYEEAqrhEpGXtx6TEBS4ZxUs3Lagv4