
저는 Ubuntu 20.04 러너와 함께 GitHub 작업을 사용하고 있으며 지난 토요일부터 Github 작업 로그에 오류가 발생하기 시작했습니다. yml 구성을 변경하지 않았습니다.
오류:
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.
나는 확인했다레포사용 가능한 약간 다른 버전이 있습니다.
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_amd64
대 ubuntu2.5_amd64
)
설치 프로그램이 이 버전을 찾도록 하려면 어떻게 해야 합니까?
yml 구성의 일부(완전한 파일):
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
답변1
오류는 해결책을 제안했습니다.
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
실제로 YAML을 검사한 결과 apt-get update
실행되고 있지 않은 것으로 나타났습니다. 소프트웨어를 설치하기 전에 이 작업을 실행해야 합니다.