From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id C66C9A04B5; Sat, 19 Dec 2020 09:26:25 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id F36BFCB06; Sat, 19 Dec 2020 09:26:23 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by dpdk.org (Postfix) with ESMTP id B25E5CB05 for ; Sat, 19 Dec 2020 09:26:21 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1608366380; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=DnK8PmYtNXsdBO7aoUNaxo6ztODoJt+eahvF9aWwVXc=; b=GwpBYhB1qAPqWWRy3TEg7Z7R97siDdXxRhqDMMOuM61Ya0fWub6C3CgNc1tJzjuE0oUACu TUJhSH5omYpDhbR/qkig45eaNx42V/G1/Kon8cWGRzXVUKokxUgzyZMYXGAvKgdokbc6A8 t62O5EW1Vez4ivJxWt1MQthSwQ3iCys= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-482-htCAljkcPPinv74Lq_bh5A-1; Sat, 19 Dec 2020 03:26:18 -0500 X-MC-Unique: htCAljkcPPinv74Lq_bh5A-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 0B2161005513; Sat, 19 Dec 2020 08:26:17 +0000 (UTC) Received: from dmarchan.remote.csb (unknown [10.40.192.24]) by smtp.corp.redhat.com (Postfix) with ESMTP id 43AFE2DACE; Sat, 19 Dec 2020 08:26:14 +0000 (UTC) From: David Marchand To: dev@dpdk.org Cc: Aaron Conole , Michael Santana , Thomas Monjalon Date: Sat, 19 Dec 2020 09:26:10 +0100 Message-Id: <20201219082610.31145-1-david.marchand@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=david.marchand@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Subject: [dpdk-dev] [PATCH] ci: fix package installation in GitHub Actions X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" APT cache must be updated to avoid trying to install an unavailable version of a package. Fixes: 87009585e293 ("ci: hook to GitHub Actions") Signed-off-by: David Marchand --- I did not find a way for the update to be done by GHA itself, so adding an explicit step. The robot hits this issue on all 32-bits builds at the moment. I will apply this quickly. --- .github/workflows/build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 05eb59527f..0b72df0ebe 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -87,6 +87,8 @@ jobs: with: path: reference key: ${{ steps.get_ref_keys.outputs.abi }} + - name: Update APT cache + run: sudo apt update - name: Install packages run: sudo apt install -y ccache libnuma-dev python3-setuptools python3-wheel python3-pip ninja-build libbsd-dev libpcap-dev -- 2.23.0