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

Update apt cache in Github action running notebooks #535

Merged

Conversation

JonathanWenger
Copy link
Contributor

In a Nutshell

The Github Action running the notebooks kept failing. This bug is likely caused by an outdated apt cache. This PR adds sudo apt-get update to the action.

Detailed Description

The Github Action running the notebooks displayed the following error:

E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/ghostscript/libgs9-common_9.50~dfsg-5ubuntu4.2_all.deb  404  Not Found [IP: 52.252.75.106 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/ghostscript/libgs9_9.50~dfsg-5ubuntu4.2_amd64.deb  404  Not Found [IP: 52.252.75.106 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/ghostscript/ghostscript_9.50~dfsg-5ubuntu4.2_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?

The fix is based on this suggestion: https://askubuntu.com/questions/519539/failed-to-fetch-http-security-ubuntu-com-ubuntu-pool-main-e-eglibc-libc-bin-2

@JonathanWenger JonathanWenger added bug Something isn't working testing and CI Unit tests, coverage and continuous integration labels Sep 15, 2021
@JonathanWenger JonathanWenger self-assigned this Sep 15, 2021
@JonathanWenger JonathanWenger changed the title update apt cache in action Update apt cache in Github action running notebooks Sep 15, 2021
@JonathanWenger JonathanWenger removed the request for review from marvinpfoertner September 15, 2021 14:31
@JonathanWenger JonathanWenger merged commit 7dd55ff into probabilistic-numerics:main Sep 15, 2021
@JonathanWenger JonathanWenger deleted the ipynb-action branch September 15, 2021 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working testing and CI Unit tests, coverage and continuous integration
Projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants