# Corrupted project.toml and/or manifest.toml files

**URL:** https://discourse.julialang.org/t/corrupted-project-toml-and-or-manifest-toml-files/95923
**Category:** New to Julia
**Tags:** question
**Created:** [March 11, 2023, 5:05pm UTC](https://discourse.julialang.org/t/corrupted-project-toml-and-or-manifest-toml-files/95923 "2023-03-11T17:05:08Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![vsoler](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/vsoler/32/30667_2.png) [@vsoler](https://discourse.julialang.org/u/vsoler)
#### Post date: [March 11, 2023, 5:05pm UTC](https://discourse.julialang.org/t/corrupted-project-toml-and-or-manifest-toml-files/95923/1 "2023-03-11T17:05:08Z")

</div>

I think that one or two of my project files (project.toml and/or manifest.toml) are corrupted.

Every time that I try to install a new package, I get the following error:

 ![image](https://global.discourse-cdn.com/julialang/original/3X/0/8/08bbaaf1273a318b72bc34dcdc6061d2134e2ecf.png)

I am thinking of deleting the two files and recreate them again.

- Is it safe to delete the two project files?
- In what directory can I find them? (Windows 10)
- How to recreate them?
- Is it necessary that I uninstall Julia and install it again?

---

<div class="post-metadata">

### Author: ![simeonschaub](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/simeonschaub/32/216566_2.png) [@simeonschaub](https://discourse.julialang.org/u/simeonschaub)
#### Post date: [March 11, 2023, 6:18pm UTC](https://discourse.julialang.org/t/corrupted-project-toml-and-or-manifest-toml-files/95923/2 "2023-03-11T18:18:56Z")

</div>

The corrupted file seems to be part of your local copy of the General registry, so the likely fix is doing

```julia
(@v1.8) pkg> registry rm General
    Removing registry `General` from ~/.julia/registries/General.toml

(@v1.8) pkg> registry add General

```

in the package prompt.  
(N.b. this might also make certain package operations faster, especially on windows, since you are currently still using an extracted copy of the registry, whereas 1.8 will read the tarball in memory by default)

---

<div class="post-metadata">

### Author: ![vsoler](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/vsoler/32/30667_2.png) [@vsoler](https://discourse.julialang.org/u/vsoler)
#### Post date: [March 11, 2023, 7:26pm UTC](https://discourse.julialang.org/t/corrupted-project-toml-and-or-manifest-toml-files/95923/3 "2023-03-11T19:26:15Z")

</div>

Your proposed solution seems to work. Awesome
