Installing libcurl4-openssl-dev fails
Joshix-1 opened this issue ยท 4 comments
Joshix-1 commented
Description
sudo apt-get install -y libcurl4-openssl-dev
fails to install
Virtual environments affected
- Ubuntu 18.04
- Ubuntu 20.04
- macOS 10.15
- macOS 11
- macOS 12
- Windows Server 2019
- Windows Server 2022
Image version and build link
https://github.com/asozialesnetzwerk/an-website/runs/6250965291?check_suite_focus=true
Current runner version: '2.290.1'
Operating System
Ubuntu
20.04.4
LTS
Virtual Environment
Environment: ubuntu-20.04
Version: 20220425.1
Included Software: https://github.com/actions/virtual-environments/blob/ubuntu20/20220425.1/images/linux/Ubuntu2004-Readme.md
Image Release: https://github.com/actions/virtual-environments/releases/tag/ubuntu20%2F20220425.1
Virtual Environment Provisioner
1.0.0.0-main-20220421-1
GITHUB_TOKEN Permissions
Actions: write
Checks: write
Contents: write
Deployments: write
Discussions: write
Issues: write
Metadata: read
Packages: write
Pages: write
PullRequests: write
RepositoryProjects: write
SecurityEvents: write
Statuses: write
Secret source: Actions
Prepare workflow directory
Prepare all required actions
Getting action download info
Download action repository 'actions/checkout@v3' (SHA:2541b1294d2704b0964813337f33b291d3f8596b)
Download action repository 'actions/setup-python@v3' (SHA:98f2ad02fd48d057ee3b4d4f66525b231c3e52b6)
Download action repository 'actions/upload-artifact@v3' (SHA:6673cd052c4cd6fcf4b4e6e60ea986c889389535)
Is it regression?
https://github.com/asozialesnetzwerk/an-website/runs/6234355854?check_suite_focus=true
Expected behavior
It should install the software
Actual behavior
the log:
Run sudo apt-get install -y libcurl4-openssl-dev
Reading package lists...
Building dependency tree...
Reading state information...
Suggested packages:
libcurl4-doc libidn11-dev libkrb5-dev libldap2-dev librtmp-dev libssh2-1-dev
The following NEW packages will be installed:
libcurl4-openssl-dev
0 upgraded, 1 newly installed, 0 to remove and 15 not upgraded.
Need to get 321 kB of archives.
After this operation, 1541 kB of additional disk space will be used.
Ign:1 http://azure.archive.ubuntu.com/ubuntu focal-updates/main amd64 libcurl4-openssl-dev amd64 7.68.0-1ubuntu2.7
Err:1 http://azure.archive.ubuntu.com/ubuntu focal-updates/main amd64 libcurl4-openssl-dev amd64 7.68.0-1ubuntu2.7
404 Not Found [IP: 52.252.75.106 80]
E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/c/curl/libcurl4-openssl-dev_7.68.0-1ubuntu2.7_amd64.deb 404 Not Found [IP: 52.252.75.106 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Error: Process completed with exit code 100.
Repro steps
- Try to install libcurl4-openssl-dev
SquitchYT commented
I have the same problem. Did you find a workaround ?
panekj commented
You need to run apt-get update
before installing packages
https://docs.github.com/en/actions/using-github-hosted-runners/customizing-github-hosted-runners#installing-software-on-ubuntu-runners
miketimofeev commented
Hourier commented
Our team faced the same issue and successfully built our application by following the suggestion above.
This is very helpful for us!