Ubuntu Server 20.04 LTS - Failed to update apt cache
bowtiediguana opened this issue · comments
BowTiedIguana commented
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"
]
}
BowTiedIguana commented
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