# Problem in upgrading Atom to Julia 1.4

**URL:** <https://discourse.julialang.org/t/problem-in-upgrading-atom-to-julia-1-4/38749>\
**Category:** General Usage\
**Tags:** question\
**Created:** [May 4, 2020, 3:57pm UTC](https://discourse.julialang.org/t/problem-in-upgrading-atom-to-julia-1-4/38749 "2020-05-04T15:57:37Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Luigi\_Marongiu](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/luigi_marongiu/32/7909_2.png) [@Luigi\_Marongiu](https://discourse.julialang.org/u/Luigi_Marongiu)\
**Post date:** [May 4, 2020, 3:57pm UTC](https://discourse.julialang.org/t/problem-in-upgrading-atom-to-julia-1-4/38749/1 "2020-05-04T15:57:37Z")

</div>

I have upgraded to Julia 1.4. On terminal, Julia runs smoothly but on Atom, the packages do not load. If I run `using Pkg`, for instance, the evaluator remains stuck.  
What might be the problem?

Also, I tried to copy only the executive in `/bin/julia` into the directory I have made for Julia, following [this post](https://stackoverflow.com/questions/30555225/how-to-upgrade-julia-to-a-new-release); but the version remained the old one. Is this truly the best way of upgrading Julia? or do I need to copy also all the other files given in the tar.gz file?

---

<div class="post-metadata">

**Author:** ![pixel27](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pixel27/32/8902_2.png) [@pixel27](https://discourse.julialang.org/u/pixel27)\
**Post date:** [May 4, 2020, 5:31pm UTC](https://discourse.julialang.org/t/problem-in-upgrading-atom-to-julia-1-4/38749/2 "2020-05-04T17:31:22Z")

</div>

1. Check `~/.julia/config/juno_startup.jl`. You might just want to rename the file so it’s not executed. You probably should do the same for `~/.julia/config/startup.jl` if that exists as well.
2. Can you just run julia in a terminal or is that stuck too?
3. When it’s “stuck” how much CPU usage are you seeing and what processes are using it? i.e Do you see Julia using a full core? Or maybe Atom?
4. How/where is julia installed? How/where was the old version julia installed? Did you uninstall the old version? Rename it? Remove it?
5. If you installed the new version somewhere custom did you modify `.bashrc` or another file to include julia/bin in the path?
6. Did you configure Atom to load julia from a specific directory or leave all that blank and just allow it load from the system?
7. Did check your Atom packages for updates and apply those updates?

Those are my big questions for the moment that might help figure out what is going on…

---

<div class="post-metadata">

**Author:** ![Luigi\_Marongiu](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/luigi_marongiu/32/7909_2.png) [@Luigi\_Marongiu](https://discourse.julialang.org/u/Luigi_Marongiu)\
**Post date:** [May 4, 2020, 6:34pm UTC](https://discourse.julialang.org/t/problem-in-upgrading-atom-to-julia-1-4/38749/3 "2020-05-04T18:34:03Z")

</div>

Thank for your anzwer:

1. there is no start up:

```julia
$ cat ~/.julia/config/juno_startup.jl
cat: /home/gigiux/.julia/config/juno_startup.jl: No such file or directory
$ cat ~/.julia/config/startup.jl
cat: /home/gigiux/.julia/config/startup.jl: No such file or directory

```

2 Julia runs on terminal all right as  
`Version 1.4.1 (2020-04-14)`  
3 I have a basal use of 3.1 GiB, when starting Julia from Atom I now get this error (which was not there last time I launched):

```julia
julia> ┌ Warning: Juno's evalrepl handler is deprecated.
└ @ Atom ~/.julia/packages/Atom/wlPiw/src/eval.jl:133
┌ Warning: Atom.jl: unrecognised message `cacheCompletions`.
│ Please make sure your Atom and Julia packages are in sync.
│ - Try `using Pkg; Pkg.update()` to update this package.
│ - Check for `julia-client` updates in Atom.
└ @ Atom ~/.julia/packages/Atom/wlPiw/src/comm.jl:175

```

and the consumption goes only to 3.5 GiB, but julai is stuck.  
4. I have a folder `~/Julia` I simply deleted all the subfolder and copied the new ones there. I then have a symbolic link to `~/Julia/bin/julia`.  
5. since I got the link, I did not modify .vashrc. And it was working until the upgrade.  
6. I simply gave the location of the julia executive  
7. I only used Pkg.update(): Atom does not show any update need and it was working perfectly until the upgrade.

More in general, I am experiencing these sort of issues every time I upgrade. I tried from the terminal with `apt-get` but I got installed an older version. Is there an easier and safer way to upgrade Julia?

---

<div class="post-metadata">

**Author:** ![pfitzseb](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pfitzseb/32/45566_2.png) [@pfitzseb](https://discourse.julialang.org/u/pfitzseb)\
**Post date:** [May 4, 2020, 7:08pm UTC](https://discourse.julialang.org/t/problem-in-upgrading-atom-to-julia-1-4/38749/4 "2020-05-04T19:08:46Z")

</div>

Seems like your Atom and Julia packages aren’t in sync, as the warning suggests. Did you try updating julia-client and ink to the latest version?  
The fact that you don’t see any suggested updates might indicate that you’re on a very old Atom version. Take a look at the requirements listed at

> [@\[ANN\] Juno 0.12](https://discourse.julialang.org/t/ann-juno-0-12/34717):
>
> Hi all, Juno 0.12 is out ! Since we have tons of bugfixes and improvements for this release, here I’m going to pick some of the key highlights, but we hope you will like all the improvements and features added slight_smileRelease notes New features Juno is now able to debug toplevel code, i.e. you don’t need type Juno.@enter in REPL anymore ! ([Atom.jl#269](https://github.com/JunoLab/Atom.jl/pull/269), [atom-julia-client#683](https://github.com/JunoLab/atom-julia-client/pull/683), [atom-ink#255](https://github.com/JunoLab/atom-ink/pull/255), [atom-ink#256](https://github.com/JunoLab/atom-ink/pull/256)) You can use Julia Debug: Run File (Block, Cell) and Julia Debug: Step Through File…

---

<div class="post-metadata">

**Author:** ![pixel27](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pixel27/32/8902_2.png) [@pixel27](https://discourse.julialang.org/u/pixel27)\
**Post date:** [May 4, 2020, 7:15pm UTC](https://discourse.julialang.org/t/problem-in-upgrading-atom-to-julia-1-4/38749/5 "2020-05-04T19:15:53Z")

</div>

The warnings you are now getting definitely make it sound like something is out of sync.

My julia-client package in Atom is 0.12.4. Clicking on the name goes to [julia-client](https://atom.io/packages/julia-client) which says 0.12.4 is the latest version. I would check that on your system.

Inside julia running:

```julia
using Pkg
Pkg.status()

```

Reports the atom package in Julia is at:

```julia
[c52e3926] Atom v0.12.10

```

Which appears to be the latest as well. I assume once you get both those upgraded things should work.

As for upgrades I have a “bin” directory under home. I tend to just extract the Julia archive under there so I end up with a “julia-1.4.0”, “julia-1.4.1”, etc directory. Then in my .bashrc file I update the PATH environment variable to add the julia-1.4.1/bin directory to my path.

I haven’t had any problems with that model, and if I have an issue with the latest version of Julia I can update the path to point back to the older version if I want. I had been using my distro’s version before that but they where having issues packaging it correctly so I switch to this, which is working fine.

---

<div class="post-metadata">

**Author:** ![Luigi\_Marongiu](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/luigi_marongiu/32/7909_2.png) [@Luigi\_Marongiu](https://discourse.julialang.org/u/Luigi_Marongiu)\
**Post date:** [May 4, 2020, 9:04pm UTC](https://discourse.julialang.org/t/problem-in-upgrading-atom-to-julia-1-4/38749/6 "2020-05-04T21:04:19Z")

</div>

Helo, I also have the latest version:

> [@pixel27](#):
>
> ```julia
> Pkg.status()
> 
> ```

[c52e3926] Atom v0.12.10

---

<div class="post-metadata">

**Author:** ![Luigi\_Marongiu](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/luigi_marongiu/32/7909_2.png) [@Luigi\_Marongiu](https://discourse.julialang.org/u/Luigi_Marongiu)\
**Post date:** [May 4, 2020, 9:46pm UTC](https://discourse.julialang.org/t/problem-in-upgrading-atom-to-julia-1-4/38749/7 "2020-05-04T21:46:46Z")

</div>

I got, however, some packages that were not updated. I tried package rebuild in Atom and I got:  
 ![Screenshot from 2020-05-04 23-41-46](https://global.discourse-cdn.com/julialang/original/3X/e/f/efc12b8e7392d61c0c135034020ada7051bea540.png)

---

<div class="post-metadata">

**Author:** ![Luigi\_Marongiu](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/luigi_marongiu/32/7909_2.png) [@Luigi\_Marongiu](https://discourse.julialang.org/u/Luigi_Marongiu)\
**Post date:** [May 5, 2020, 8:59pm UTC](https://discourse.julialang.org/t/problem-in-upgrading-atom-to-julia-1-4/38749/8 "2020-05-05T20:59:55Z")

</div>

I re-installed Atom and `uber-juno` but I got catastrophic sync: `julia-client` does not run (even if I reinstalled even that) and I can’t open juno settings. Essentially, I don’t have Julia on tom any more, the opposite of upgrading. I got these error flags:  
 ![Screenshot from 2020-05-05 22-49-45](https://global.discourse-cdn.com/julialang/original/3X/5/9/59215b5915ebfa540028b5b4e4aec555051618d3.png)  
I tried the solution `using Atom` [given here](http://docs.junolab.org/latest/man/faq/#Juno-doesn't-work-properly-after-an-Atom-update.-What-do-I-do?-1) but obviously it did not work.  
Any tips?

---

<div class="post-metadata">

**Author:** ![pfitzseb](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pfitzseb/32/45566_2.png) [@pfitzseb](https://discourse.julialang.org/u/pfitzseb)\
**Post date:** [May 11, 2020, 9:27am UTC](https://discourse.julialang.org/t/problem-in-upgrading-atom-to-julia-1-4/38749/9 "2020-05-11T09:27:03Z")

</div>

Try [this](http://docs.junolab.org/latest/man/update/#.-Update-Atom-Packages-1).

---

<div class="post-metadata">

**Author:** ![Luigi\_Marongiu](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/luigi_marongiu/32/7909_2.png) [@Luigi\_Marongiu](https://discourse.julialang.org/u/Luigi_Marongiu)\
**Post date:** [May 12, 2020, 4:03pm UTC](https://discourse.julialang.org/t/problem-in-upgrading-atom-to-julia-1-4/38749/10 "2020-05-12T16:03:10Z")

</div>

Looks like it worked! Thank you
