Skip to content

Commit

Permalink
CircleCI: update apt cache before installing packages.
Browse files Browse the repository at this point in the history
 * apt cache on image not necessarily up-to-date, so need to update before
   doing any apt installs, see https://discuss.circleci.com/t/
   random-404-when-doing-apt-get-install-postgresql-client/30286
  • Loading branch information
jtniehof authored and dnadeau-lanl committed Oct 20, 2020
1 parent 333e47d commit 00922ed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .circleci/config.yml
Expand Up @@ -47,6 +47,7 @@ jobs:
at: ~/.local
- run:
command: |
sudo apt update
sudo apt install -y postgresql-client
createdb -h localhost sndd -O root
pip install --user psycopg2
Expand Down

0 comments on commit 00922ed

Please sign in to comment.