question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ERROR: The following package names could not be resolved/Julia servers out of date

See original GitHub issue

tl;dr, delete ~/.julia/registries/General and then run the following commands in Julia:

ENV["JULIA_PKG_SERVER"] = ""
import Pkg
Pkg.update()

(original post) FYI I pushed v0.4.2 of SymbolicRegression.jl to the registry 15 hours ago, which is required for the latest PySR. However, the registry server is still not updating - which seems like an issue that sometimes happens: https://github.com/JuliaRegistries/General/issues/16777.

To get the Julia registry to stay up to date even if the registry server fails, you can use the git version instead. This can be done as follows:

  1. Delete your registry folder ~/.julia/registries/General
  2. Launch Julia.
  3. Run the following commands:
ENV["JULIA_PKG_SERVER"] = ""
import Pkg
Pkg.update()

This will install the git version of the registry, which is always up-to-date.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:12 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
mkitticommented, Feb 13, 2022

Yes, the url keyword allows you to refer to any git repository. Also note the rev keyword is used for the git revision which could be a commit hash, branch, or tag.

0reactions
MilesCranmercommented, Feb 13, 2022

Starting with v0.7.4, #27 will never be an issue again since SymbolicRegression.jl is downloaded directly from the GitHub repo. Unpinning.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ERROR: The following package names could not be resolved ...
Hi! I'm new to Julia and this is my first issue ever. First of all, I'd like to say that I encountered this...
Read more >
Adding a package in Julia "ERROR The following package ...
Pkg. add("Taro") ERROR: The following package names could not be resolved: * Taro (not found in project, manifest or registry) Please specify ...
Read more >
Problems to install packages - Julia Discourse
Dear all, When I try to install some package an error appears. ... pkg> add SymEngine ERROR: The following package names could not...
Read more >
12. Packages, Testing, and Continuous Integration
This lecture discusses structuring a project as a Julia module, and testing it with tools from GitHub. Benefits include: Specifying dependencies (and their ......
Read more >
Bug listing with status RESOLVED with resolution OBSOLETE ...
systemPrefs with at least two files" status:RESOLVED resolution:OBSOLETE ... cannot find tomcat server binaries" status:RESOLVED resolution:OBSOLETE ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found