Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing libcurl4-openssl-dev fails #5470

Closed
1 of 7 tasks
Joshix-1 opened this issue May 2, 2022 · 4 comments
Closed
1 of 7 tasks

Installing libcurl4-openssl-dev fails #5470

Joshix-1 opened this issue May 2, 2022 · 4 comments

Comments

@Joshix-1
Copy link

Joshix-1 commented May 2, 2022

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

  1. Try to install libcurl4-openssl-dev
@SquitchYT
Copy link

I have the same problem. Did you find a workaround ?

@panekj
Copy link
Contributor

panekj commented May 3, 2022

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
Copy link
Contributor

@Joshix-1 as @panekj please make sure to run sudo apt-get update before installing any packages.
I'm going to close the issue.
Thank you!

@Hourier
Copy link

Hourier commented May 15, 2022

Our team faced the same issue and successfully built our application by following the suggestion above.
This is very helpful for us!

TuQmano added a commit to PoliticaArgentina/data_warehouse that referenced this issue Jul 1, 2022
InterLinked1 added a commit to InterLinked1/lbbs that referenced this issue Jan 7, 2023
Run apt-get update before doing any installs.
Otherwise installing libcurl4-openssl-dev will fail,
see actions/runner-images#5470
Wescoeur added a commit to xcp-ng/http-nbd-transfer that referenced this issue Mar 22, 2023
Otherwise we can't install libcurl4-openssl-dev.
See: actions/runner-images#5470

Signed-off-by: Ronan Abhamon <ronan.abhamon@vates.fr>
Wescoeur added a commit to xcp-ng/http-nbd-transfer that referenced this issue Jun 13, 2023
Otherwise we can't install libcurl4-openssl-dev.
See: actions/runner-images#5470

Signed-off-by: Ronan Abhamon <ronan.abhamon@vates.fr>
mrutkowski-aero added a commit to ccfd/courses that referenced this issue Oct 13, 2023
There are problems with libcurl4-openssl-dev mirrors.
As in [1]. Attempt with [2] solution.
[1] actions/runner-images#5470
[2] actions/runner-images#3640
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants