Hi
This is my first foray back into using Julia since about a year and had fun playing with DifferentialEquationsExamples in JupyterLab last night using Julia 1.1.1
Just now I updated to Julia1.2 using brew cask upgrade
on my MacBook, and when i started it and went to see the Pkg status it read:
(v1.2) pkg> status
Status `~/.julia/environments/v1.2/Project.toml`
(empty environment)
Then tried to add Plots to see what would happen:
(v1.2) pkg> add Plots
Updating registry at `~/.julia/registries/General`
Updating git-repo `https://github.com/JuliaRegistries/General.git`
Resolving package versions...
Updating `~/.julia/environments/v1.2/Project.toml`
[91a5bcdd] + Plots v0.26.2
Updating `~/.julia/environments/v1.2/Manifest.toml`
[b99e7846] + BinaryProvider v0.5.6
[3da002f7] + ColorTypes v0.8.0
[5ae59095] + Colors v0.9.6
[34da2185] + Compat v2.1.0
[d38c429a] + Contour v0.5.1
[9a962f9c] + DataAPI v1.0.1
[864edb3b] + DataStructures v0.17.0
[c87230d0] + FFMPEG v0.2.2
[53c48c17] + FixedPointNumbers v0.6.1
[28b8d3ca] + GR v0.41.0
<snipped rest for brevity>
Seems like they were there ?
Quickly skimmed help for Pkg and decided to garbage collect, and ran gc which deleted 420 packages:
(v1.2) pkg> gc
Active manifests:
`~/.julia/environments/v1.0/Manifest.toml`
`~/.julia/environments/v1.1/Manifest.toml`
`~/.julia/environments/v1.2/Manifest.toml`
Deleted `~/.julia/packages/AbstractFFTs/wfF4f` (26.213 KiB)
Deleted `~/.julia/packages/Adapt/zZG7Z` (8.235 KiB)
Deleted `~/.julia/packages/Arpack/UiiMc` (1020.292 KiB)
Deleted `~/.julia/packages/ArrayInterface/64mDO` (5.534 KiB)
Deleted `~/.julia/packages/ArrayInterface/qMMsu` (5.549 KiB)
Deleted `~/.julia/packages/Atom/BXRAC` (90.789 KiB)
<snipped>
Deleted 420 package installations (1003.564 MiB)
OK. so lets start from scratch:
brew cask uinstall julia
rm -rf ~/.julia
brew cask install julia
try to add Plots back and get this error:
Building GR ────→ `~/.julia/packages/GR/ZI5OE/deps/build.log`
ERROR: IOError: getcwd: no such file or directory (ENOENT)
Does anyone know how to prevent an update to Julia not messing up the packages and how to install Plots again ?