ronnyap
By:
ronnyap

Using ConnectBot..Kernel Ubuntu 14.04 x64 vmlinuz-3.13.0-57-generic..Why cant repository pritunl.Keep getting Cannot add PPA: 'ppa:pritunl' . Please check that the PPA name or format is correct.

September 23, 2015 1.7k views
DigitalOcean

Install TinyProxy:
apt-get install tinyproxy

Re-Config:
nano /etc/tinyproxy.conf

Edit To:
Allow 127.0.0.1
Allow (ur droplets IP)
Close the Config & Save

Restart TinyProxy:
/etc/init.d/tinyproxy restart

Install Mongodb:

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10

echo "deb http://repo.mongodb.org/apt/ubuntu "$(lsb_release -sc)"/mongodb-org/3.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.0.list

apt-get update

apt-get install -y mongodb-org

Done

Install Pritunl:

add-apt-repository -y ppa:pritunl Cstuck here due to PPA cannot add)
apt-get update
apt-get install -y pritunl

/etc/init.d/tinyproxy restart

service tinyproxy restart

service tinyproxy start

2 comments
1 Answer

It looks like the PPA is not working properly. You can add the repository manually though:

echo "deb http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.0 multiverse" | sudo tee -a /etc/apt/sources.list.d/mongodb-org-3.0.list
echo "deb http://repo.pritunl.com/stable/apt trusty main" | sudo tee -a /etc/apt/sources.list.d/pritunl.list
apt-key adv --keyserver hkp://keyserver.ubuntu.com --recv 7F0CEB10
apt-key adv --keyserver hkp://keyserver.ubuntu.com --recv CF8E292A
apt-get update

Once you've done that, you should be able to install the packages.

Sources:

Have another answer? Share your knowledge.