On 12/19/20 9:40 AM, David Marchand wrote:
> Before trying to install a package, APT cache must be updated to avoid
> asking for an unavailable version of a package.
>
> Fixes: 6cb2f5a630e3 ("github: Add GitHub Actions workflow.")
>
> Signed-off-by: David Marchand <[email protected]>
> ---
> I noticed this issue on DPDK side and I can see jobs for the OVS master
> branch are affected too:
> https://github.com/openvswitch/ovs/runs/1580144616?check_suite_focus=true#step:8:209
>
> ---
> .github/workflows/build-and-test.yml | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/.github/workflows/build-and-test.yml
> b/.github/workflows/build-and-test.yml
> index c830661383..b29c300c55 100644
> --- a/.github/workflows/build-and-test.yml
> +++ b/.github/workflows/build-and-test.yml
> @@ -133,6 +133,8 @@ jobs:
> path: dpdk-dir
> key: ${{ env.matrix_key }}-${{ env.ci_key }}
>
> + - name: update APT cache
> + run: sudo apt update
> - name: install common dependencies
> if: matrix.deb_package == ''
> run: sudo apt install -y ${{ env.dependencies }}
>
Thanks!
Applied to master and backported down to 2.12.
On branch-2.11 and below we're using ubuntu-16.04 and I see lots of
failures during 'apt update' because of some postgresql repo:
https://github.com/igsilya/ovs/runs/1589217890?check_suite_focus=true#step:3:69
So I didn't backport this fix there.
best regards, Ilya Maximets.
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev