Skip to content

Update apt-get on circleci image - #4147

Merged
jarrodmillman merged 1 commit into
networkx:masterfrom
jarrodmillman:circleci-fix
Aug 11, 2020
Merged

jarrodmillman merged 1 commit into
networkx:masterfrom
jarrodmillman:circleci-fix

Conversation

@jarrodmillman

@jarrodmillman jarrodmillman commented Aug 11, 2020 •

Copy link
Copy Markdown
Member

We were still getting errors on circleci. The errors end with

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

I don't use Debian, so I am just guessing: I suspect the image has an out-of-date apt cache and it is trying to install things with old/incorrect names. Running sudo apt-get update updates the list of available packages and their versions. So I suspect it will fix issues like this one where it states:

E: Failed to fetch http://security.debian.org/debian-security/pool/updates/main/r/ruby2.5/libruby2.5_2.5.5-3+deb10u1_amd64.deb  404  Not Found [IP: 199.232.64.204 80]

When I went to the website, it had libruby2.5_2.5.5-3+deb10u2_amd64.deb but not libruby2.5_2.5.5-3+deb10u1_amd64.deb.

@rossbar rossbar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

+1 to apt-get update - everything else LGTM too

@jarrodmillman

Copy link
Copy Markdown
Member Author

FYI, I changed the names to match the predetermined ones like "Spin up environment" and "Checkout code". I prefer lower case, but I prefer consistency more. It slightly annoys me that one of the predetermined ones says "Preparing environment variables" instead of "Prepare environment variables". Oh well.

@jarrodmillman
jarrodmillman merged commit 7b4168b into networkx:master Aug 11, 2020
jarrodmillman added a commit to mbruhns/networkx that referenced this pull request Aug 11, 2020
* upstream/master:
  Update apt-get on circleci image (networkx#4147)
  MAINT: fixups to parse_edgelist. (networkx#4128)
  Use dict instead of OrderedDict since dict is ordered by default from Python 3.6. (networkx#4145)
  MAINT: Switch to abc-based isinstance checks in to_networkx_graph (networkx#4136)
  Add tree isomorphism (networkx#4067)
  Updated draw_networkx to accept numpy array for edgelist (networkx#4132)
  CI: temporary fix for CI latex installation issues (networkx#4131)
  Fix parse_edgelist behavior with multiple attributes (networkx#4125)
@jarrodmillman
jarrodmillman deleted the circleci-fix branch August 16, 2020 16:08
MridulS pushed a commit to MridulS/networkx that referenced this pull request Feb 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants