Skip to content

Commit

Permalink
suggest running Pkg.update() in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
tkelman committed Nov 7, 2014
1 parent 04e4c05 commit 3337117
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion base/pkg/entry.jl
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,8 @@ function resolve(
for pkg in keys(reqs)
if !haskey(deps,pkg)
if "julia" in conflicts[pkg]
error("$pkg can't be installed because it has no versions that support ", VERSION, " of julia")
error("$pkg can't be installed because it has no versions that support ", VERSION, " of julia. " *
"You may need to update METADATA by running `Pkg.update()`")
else
error("$pkg's requirements can't be satisfied because of the following fixed packages: ",
join(conflicts[pkg], ", ", " and "))
Expand Down

0 comments on commit 3337117

Please sign in to comment.