# Julia 1.7 fresh install breaks on updating Pkgs

**URL:** <https://discourse.julialang.org/t/julia-1-7-fresh-install-breaks-on-updating-pkgs/73062>\
**Category:** General Usage\
**Created:** [December 14, 2021, 8:22am UTC](https://discourse.julialang.org/t/julia-1-7-fresh-install-breaks-on-updating-pkgs/73062 "2021-12-14T08:22:50Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![AlanAylmer](https://avatars.discourse-cdn.com/v4/letter/a/b19c9b/32.png) [@AlanAylmer](https://discourse.julialang.org/u/AlanAylmer)\
**Post date:** [December 14, 2021, 8:22am UTC](https://discourse.julialang.org/t/julia-1-7-fresh-install-breaks-on-updating-pkgs/73062/1 "2021-12-14T08:22:50Z")

</div>

![image](https://global.discourse-cdn.com/julialang/original/3X/c/7/c787984e9ea48b6f32bc003203f0e844d92ed7ce.jpeg)  
Hello

Ubuntu 20.04.3 LTS  
BASH 5.0.17  
Julia 1.7

when I update I get a TOML parser error  
something to with GC and JuMP  
invalid bare character in my version 1.4 manifest

I need Julia to work  
Should I just revert to 1.6?

---

<div class="post-metadata">

**Author:** ![nilshg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nilshg/32/2283_2.png) [@nilshg](https://discourse.julialang.org/u/nilshg)\
**Post date:** [December 14, 2021, 8:52am UTC](https://discourse.julialang.org/t/julia-1-7-fresh-install-breaks-on-updating-pkgs/73062/2 "2021-12-14T08:52:52Z")

</div>

Looks to me like GC is failing, which shouldn’t be a problem? Your 1.7 global environment got updated and everything in it precompiled successfully.

---

<div class="post-metadata">

**Author:** ![fredrikekre](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fredrikekre/32/1688_2.png) [@fredrikekre](https://discourse.julialang.org/u/fredrikekre)\
**Post date:** [December 14, 2021, 9:53am UTC](https://discourse.julialang.org/t/julia-1-7-fresh-install-breaks-on-updating-pkgs/73062/3 "2021-12-14T09:53:01Z")

</div>

You can remove the corrupted file (`~/.julia/logs/manifest_usage.toml`). (See [Pkg#2633](https://github.com/JuliaLang/Pkg.jl/issues/2633) and [Pkg#2793](https://github.com/JuliaLang/Pkg.jl/pull/2793).)

(As a sidenote; it is better if you copy and paste the text instead of uploading a photo. Text is searchable, images are not. This also has the extra benefit that you can remove your name directly instead of using paint 🙂 )

---

<div class="post-metadata">

**Author:** ![AlanAylmer](https://avatars.discourse-cdn.com/v4/letter/a/b19c9b/32.png) [@AlanAylmer](https://discourse.julialang.org/u/AlanAylmer)\
**Post date:** [December 14, 2021, 4:18pm UTC](https://discourse.julialang.org/t/julia-1-7-fresh-install-breaks-on-updating-pkgs/73062/4 "2021-12-14T16:18:59Z")

</div>

I was stumped. I have a suggestion to delete that file from @fredrikekre so I’ll do that.

---

<div class="post-metadata">

**Author:** ![AlanAylmer](https://avatars.discourse-cdn.com/v4/letter/a/b19c9b/32.png) [@AlanAylmer](https://discourse.julialang.org/u/AlanAylmer)\
**Post date:** [December 14, 2021, 4:20pm UTC](https://discourse.julialang.org/t/julia-1-7-fresh-install-breaks-on-updating-pkgs/73062/5 "2021-12-14T16:20:24Z")

</div>

Yes good advice… I had some barriers to cut and paste that I won’t bore you with, but yes I’ll try to do so in future.

I can’t delete the file right now, being AFK from the box, but I will let you know. Best wishes, thanks either way.

---

<div class="post-metadata">

**Author:** ![ptoche](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ptoche/32/23554_2.png) [@ptoche](https://discourse.julialang.org/u/ptoche)\
**Post date:** [December 15, 2021, 11:06am UTC](https://discourse.julialang.org/t/julia-1-7-fresh-install-breaks-on-updating-pkgs/73062/6 "2021-12-15T11:06:39Z")

</div>

Whenever I run into upgrading issues I just destroy the `.julia` directory and start afresh. With `1.7` I received a warning that my `toml` files were using outdated syntax. I didn’t bother googling, I went ahead and destroyed my `.julia` directory 20 minutes later I was up and running. (20 minutes: the time it took to download and precompile a half-dozen environments).

---

<div class="post-metadata">

**Author:** ![giordano](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/giordano/32/2166_2.png) [@giordano](https://discourse.julialang.org/u/giordano)\
**Post date:** [December 15, 2021, 11:57am UTC](https://discourse.julialang.org/t/julia-1-7-fresh-install-breaks-on-updating-pkgs/73062/7 "2021-12-15T11:57:01Z")

</div>

I can’t overstate how much I don’t like people suggesting to nuke the entire `.julia` directory.

---

<div class="post-metadata">

**Author:** ![gbaraldi](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gbaraldi/32/22101_2.png) [@gbaraldi](https://discourse.julialang.org/u/gbaraldi)\
**Post date:** [December 15, 2021, 2:08pm UTC](https://discourse.julialang.org/t/julia-1-7-fresh-install-breaks-on-updating-pkgs/73062/8 "2021-12-15T14:08:41Z")

</div>

It’s really annoying, but sometimes it’s the easiest way out, even the it could probably be fixed by nuking some folder inside it, specially when the user might not be familiar with how things work.

---

<div class="post-metadata">

**Author:** ![fredrikekre](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fredrikekre/32/1688_2.png) [@fredrikekre](https://discourse.julialang.org/u/fredrikekre)\
**Post date:** [December 15, 2021, 2:34pm UTC](https://discourse.julialang.org/t/julia-1-7-fresh-install-breaks-on-updating-pkgs/73062/9 "2021-12-15T14:34:46Z")

</div>

It is potentially destructive since, by default, Pkg put development repositories in this folder.

---

<div class="post-metadata">

**Author:** ![AlanAylmer](https://avatars.discourse-cdn.com/v4/letter/a/b19c9b/32.png) [@AlanAylmer](https://discourse.julialang.org/u/AlanAylmer)\
**Post date:** [December 18, 2021, 11:37am UTC](https://discourse.julialang.org/t/julia-1-7-fresh-install-breaks-on-updating-pkgs/73062/10 "2021-12-18T11:37:35Z")

</div>

In fact I had two corruptees… manifest usage and artefact usage.

Two naughty .toml’s

They have been rm’d and now it all works.

You, sir, are a scholar and a gent.
