Fixed apt-get update problem in AWS deployment fabfile

This commit is contained in:
troymc 2016-04-05 15:23:26 +02:00
parent 3f491e5bd1
commit efd6514a04

View File

@ -41,10 +41,14 @@ env.key_filename = 'pem/bigchaindb.pem'
######################################################################
# base softwarestack rollout
# base software rollout
@task
@parallel
def install_base_software():
# new from Troy April 5, 2016. Why? See http://tinyurl.com/lccfrsj
sudo('rm -rf /var/lib/apt/lists/*')
sudo('apt-get -y clean')
# from before:
sudo('apt-get -y update')
sudo('dpkg --configure -a')
sudo('apt-get -y -f install')