Ubuntu-Paketrevision nicht in GitHub-Aktionen gefunden

Ubuntu-Paketrevision nicht in GitHub-Aktionen gefunden

Ich verwende GitHub-Aktionen mit einem Ubuntu 20.04-Runner und seit letztem Samstag erhalte ich einen Fehler im GitHub-Aktionsprotokoll. Ich hatte die YML-Konfiguration nicht geändert.

Der Fehler:

Get:79 http://azure.archive.ubuntu.com/ubuntu focal/universe amd64 proj-bin amd64 6.3.1-1 [88.8 kB]
Fetched 55.7 MB in 1s (61.8 MB/s)
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/c/curl/libcurl4-gnutls-dev_7.68.0-1ubuntu2.5_amd64.deb  404  Not Found [IP: 52.250.76.244 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Error: Process completed with exit code 100.

Ich habe dierepound es ist eine etwas andere Version verfügbar:

trying to fetch: libcurl4-gnutls-dev_7.68.0-1ubuntu2.5_amd64.deb
      available: libcurl4-gnutls-dev_7.68.0-1ubuntu2.6_amd64.deb

( ubuntu2.6_amd64gegenüber ubuntu2.5_amd64)

Wie kann ich dafür sorgen, dass das Installationsprogramm diese Version findet?

Teil der YML-Konfiguration (komplette Datei):

jobs:
  build:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        python-version: [3.6, 3.7, 3.8, 3.9]

    services:
      postgres:
        # postgres stuff
    steps:
    - uses: actions/checkout@v2
      with:
        fetch-depth: 0
    - name: Set up Python ${{ matrix.python-version }}
      uses: actions/setup-python@v2
      with:
        python-version: ${{ matrix.python-version }}
    - name: Install dependencies
      run: |
        # some python packages

Antwort1

Der Fehler schlug die Lösung vor:

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Tatsächlich ergab die Überprüfung des YAML, dass apt-get updatees nicht ausgeführt wurde. Dies sollte vor der Installation von Software ausgeführt werden.

verwandte Informationen