changeset 7417:6b332e3d7c43

try to fix postgres install on ubuntu 20.04 for Python 3.6. force update of apt inventory. Looks like postgresql 14 is supposed to be installed, but apt install is trying v12.
author John Rouillard <rouilj@ieee.org>
date Thu, 25 May 2023 18:38:23 -0400
parents 302ce182ffd3
children d2ca7b1bfc6b
files .github/workflows/ci-test.yml
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/.github/workflows/ci-test.yml	Thu May 25 17:53:12 2023 -0400
+++ b/.github/workflows/ci-test.yml	Thu May 25 18:38:23 2023 -0400
@@ -130,7 +130,7 @@
 
       - name: Install postgres
         run: |
-          sudo apt-get install postgresql
+          sudo apt-get update && sudo apt-get install postgresql
           # Disable fsync for speed, don't care about data durability
           #   when testing
           sudo sed -i -e '$a\fsync = off' /etc/postgresql/*/*/postgresql.conf

Roundup Issue Tracker: http://roundup-tracker.org/