CI: fix ESP32 CI issue

ensure apt db is up to date before first install
This commit is contained in:
Andrew Tridgell 2024-02-25 16:56:08 +11:00
parent fc1c30bc36
commit 591d65ec91
1 changed files with 1 additions and 0 deletions

View File

@ -175,6 +175,7 @@ jobs:
- name: Install Prerequisites - name: Install Prerequisites
shell: bash shell: bash
run: | run: |
sudo apt-get update
sudo apt-get install git wget libncurses-dev flex bison gperf python3 python3-pip python3-venv python3-setuptools python3-serial python3-gevent python3-cryptography python3-future python3-pyparsing python3-pyelftools cmake ninja-build ccache libffi-dev libssl-dev dfu-util libusb-1.0-0 sudo apt-get install git wget libncurses-dev flex bison gperf python3 python3-pip python3-venv python3-setuptools python3-serial python3-gevent python3-cryptography python3-future python3-pyparsing python3-pyelftools cmake ninja-build ccache libffi-dev libssl-dev dfu-util libusb-1.0-0
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 10 sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 10
update-alternatives --query python update-alternatives --query python