[SOLVED] Libasound2-dev package installation fails on Ubuntu latest

Here is the action log:

Current runner version: '2.278.0'
Operating System
Virtual Environment
  Environment: ubuntu-20.04
  Version: 20210504.1
  Included Software: https://github.com/actions/virtual-environments/blob/ubuntu20/20210504.1/images/linux/Ubuntu2004-README.md
  Image Release: https://github.com/actions/virtual-environments/releases/tag/ubuntu20%2F20210504.1
GITHUB_TOKEN Permissions
  Actions: write
  Checks: write
  Contents: write
  Deployments: write
  Issues: write
  Metadata: read
  Packages: write
  PullRequests: write
  RepositoryProjects: write
  SecurityEvents: write
  Statuses: write
Prepare workflow directory
Prepare all required actions
Getting action download info
Download action repository 'actions/checkout@v2'
Run sudo apt install libsdl2-dev
  sudo apt install libsdl2-dev
  shell: /usr/bin/bash -e {0}

E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/a/alsa-lib/libasound2-dev_1.2.2-2.1ubuntu2.3_amd64.deb  404  Not Found [IP: 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Error: Process completed with exit code 100.

Looks like this issue is more related to Ubuntu itself than to GitHub infrastructure: Apt can't find package libasound2-dev 20.04 arm64 - Ask Ubuntu

Solved by adding an apt-get update step:

    - name: setup-1
      run: sudo apt-get update
    - name: setup-2
      run: sudo apt-get install libsdl2-dev