fix dependencies in CI

Running "apt-get install" without a preceding "apt-get update" has
started failing on GitHub Actions, eg:

https://github.com/scottlamb/moonfire-nvr/runs/1750609817

I believe the problem is that older packages have been removed from
the mirror, and the update will fix this, as described here:

https://github.com/actions/virtual-environments/issues/675#issuecomment-671057659

Also, I was using ncurses version 5 packages, when I should be using the
unversioned default. Same in the build guide.
This commit is contained in:
Scott Lamb
2021-01-22 10:30:55 -08:00
parent a21e606121
commit c140296da2
2 changed files with 2 additions and 3 deletions

View File

@@ -124,8 +124,7 @@ $ sudo apt-get install \
libavcodec-dev \
libavformat-dev \
libavutil-dev \
libncurses5-dev \
libncursesw5-dev \
libncurses-dev \
libsqlite3-dev \
pkgconf \
sqlite3 \