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

Run apt-get update in CI #1313

Merged
merged 1 commit into from Jan 7, 2023
Merged

Run apt-get update in CI #1313

merged 1 commit into from Jan 7, 2023

Conversation

adamchainz
Copy link
Contributor

I have made things!

Tests failed on #1243 just now with:

Run sudo apt-get install binutils libproj-dev gdal-bin
...
Err:37 http://azure.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libcurl4-gnutls-dev amd64 7.81.0-1ubuntu1.6
  404  Not Found [IP: 52.252.75.106 80]
Fetched 36.6 MB in 4s (9977 kB/s)
E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/c/curl/libcurl4-gnutls-dev_7.81.0-1ubuntu1.6_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?

One should always apt-get update before running apt-get install, which this PR adds.

@adamchainz adamchainz requested a review from intgr January 7, 2023 11:19
@adamchainz adamchainz changed the title gt Run apt-get update in CI Jan 7, 2023
Copy link
Member

@sobolevn sobolevn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@intgr
Copy link
Collaborator

intgr commented Jan 9, 2023

Submitted this to djangorestframework-stubs as well: typeddjango/djangorestframework-stubs#316

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants