trailofbits / algo

Set up a personal VPN in the cloud

Home Page:https://blog.trailofbits.com/2016/12/12/meet-algo-the-vpn-that-works/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ubuntu Server 20.04 LTS - Failed to update apt cache

bowtiediguana opened this issue · comments

To reproduce.
Ubuntu Server 20.04 LTS AMI (Aws)
SSH to server

curl -s https://raw.githubusercontent.com/trailofbits/algo/master/install.sh | sudo -E bash -x -s local false false _null false false false $(curl ifconfig.io) device1,device2,device3,device4,device5

output

...

TASK [common : Install tools] **************************************************
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failed to update apt cache: "}
included: /opt/algo/playbooks/rescue.yml for localhost

TASK [debug] *******************************************************************
ok: [localhost] => {
    "fail_hint": [
        "Sorry, but something went wrong!",
        "Please check the troubleshooting guide.",
        "https://trailofbits.github.io/algo/troubleshooting.html"
    ]
}

Running apt-get update && apt-get dist-upgrade -y then re running curl -s https://raw.githubusercontent.com/trailofbits/algo/master/install.sh | sudo -E bash -x -s local false false _null false false false $(curl ifconfig.io) device1,device2,device3,device4,device5 worked successfully