# Pkg.add("CustomGaussQuadrature") ERROR: Unsatisfiable requirements

**URL:** https://discourse.julialang.org/t/pkg-add-customgaussquadrature-error-unsatisfiable-requirements/130147
**Category:** General Usage
**Created:** [June 23, 2025, 11:36pm UTC](https://discourse.julialang.org/t/pkg-add-customgaussquadrature-error-unsatisfiable-requirements/130147 "2025-06-23T23:36:37Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![pvkabaila](https://avatars.discourse-cdn.com/v4/letter/p/58956e/32.png) [@pvkabaila](https://discourse.julialang.org/u/pvkabaila)
#### Post date: [June 23, 2025, 11:36pm UTC](https://discourse.julialang.org/t/pkg-add-customgaussquadrature-error-unsatisfiable-requirements/130147/1 "2025-06-23T23:36:37Z")

</div>

Resolving package versions…  
ERROR: Unsatisfiable requirements detected for package LinearAlgebra [37e2e46d]:  
LinearAlgebra [37e2e46d] log:  
├─possible versions are: 1.10.9 or uninstalled (package in sysimage!)  
└─found to have no compatible versions left with CustomGaussQuadrature [443f1e71]  
└─CustomGaussQuadrature [443f1e71] log:  
├─possible versions are: 1.0.0 or uninstalled  
└─restricted to versions \* by an explicit requirement, leaving only versions: 1.0.0

**What can I do to overcome this ERROR?**

---

<div class="post-metadata">

### Author: ![dilumaluthge](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dilumaluthge/32/29283_2.png) [@dilumaluthge](https://discourse.julialang.org/u/dilumaluthge)
#### Post date: [June 23, 2025, 11:59pm UTC](https://discourse.julialang.org/t/pkg-add-customgaussquadrature-error-unsatisfiable-requirements/130147/2 "2025-06-23T23:59:04Z")

</div>

You likely want to loosen this line:

> <https://github.com/pvkabaila/CustomGaussQuadrature.jl/blob/0b88900a45250486a6d8723e925ce65198de052c/Project.toml#L27-L27>

To something like this instead:

```toml
LinearAlgebra = "< 0.0.1, 1"

```

Which is what I recommend as the compat entry for most stdlibs, in most cases.

---

<div class="post-metadata">

### Author: ![pvkabaila](https://avatars.discourse-cdn.com/v4/letter/p/58956e/32.png) [@pvkabaila](https://discourse.julialang.org/u/pvkabaila)
#### Post date: [June 24, 2025, 12:12am UTC](https://discourse.julialang.org/t/pkg-add-customgaussquadrature-error-unsatisfiable-requirements/130147/3 "2025-06-24T00:12:15Z")

</div>

Many thanks for your help so far.

The Project.toml was organised automatically when I wrote my package CustomGaussQuadrature.

I also successfully submitted this package to Julia General Registry.

Doesn’t this submission to the Julia General Registry check that the Project.toml is OK?

Why do I need to make this change?

What does “compat entry for most stdlibs” mean?

All help greatly appreciated!

---

<div class="post-metadata">

### Author: ![GunnarFarneback](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gunnarfarneback/32/1827_2.png) [@GunnarFarneback](https://discourse.julialang.org/u/GunnarFarneback)
#### Post date: [June 24, 2025, 7:01am UTC](https://discourse.julialang.org/t/pkg-add-customgaussquadrature-error-unsatisfiable-requirements/130147/4 "2025-06-24T07:01:20Z")

</div>

I can answer this question.

> [@pvkabaila](#):
>
> Doesn’t this submission to the Julia General Registry check that the Project.toml is OK?

The _submission_ (i.e. Registrator) reads `Project.toml` to find uuid, name, version, dependencies, and compat. It does very basic consistency checks on uuid, name, and version against the current registry.

The _automerge_ for the General registry does some additional testing, including checking that all dependencies have bounded compat specifiers and that the package can be loaded. The latter check is limited to the version of Julia running automerge though, which is typically the latest released version.

So no, not all aspects of `Project.toml` are checked before a new package or a new version is merged to the General registry. There is certainly room for improvements, which will happen if volunteers implement better checks and make pull requests to the [RegistryCI](https://github.com/JuliaRegistries/RegistryCI.jl) package.

---

<div class="post-metadata">

### Author: ![pvkabaila](https://avatars.discourse-cdn.com/v4/letter/p/58956e/32.png) [@pvkabaila](https://discourse.julialang.org/u/pvkabaila)
#### Post date: [June 26, 2025, 7:20am UTC](https://discourse.julialang.org/t/pkg-add-customgaussquadrature-error-unsatisfiable-requirements/130147/5 "2025-06-26T07:20:46Z")

</div>

As you have suggested, I have used  
LinearAlgebra = “\<0.0.1, 1”  
Printf = “\<0.0.1, 1”

Nonetheless, when I try Pkg.add(“CustomGaussQuadrature”), I still get the following error message:

Resolving package versions…  
ERROR: Unsatisfiable requirements detected for package Printf [de0858da]:  
Printf [de0858da] log:  
├─possible versions are: 1.10.9 or uninstalled (package in sysimage!)  
└─found to have no compatible versions left with CustomGaussQuadrature [443f1e71]  
└─CustomGaussQuadrature [443f1e71] log:  
├─possible versions are: 1.0.0-1.0.1 or uninstalled  
└─restricted to versions \* by an explicit requirement, leaving only versions: 1.0.0-1.0.1

**Could you please let me know how I can correct this error?**

---

<div class="post-metadata">

### Author: ![GunnarFarneback](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gunnarfarneback/32/1827_2.png) [@GunnarFarneback](https://discourse.julialang.org/u/GunnarFarneback)
#### Post date: [June 26, 2025, 8:44am UTC](https://discourse.julialang.org/t/pkg-add-customgaussquadrature-error-unsatisfiable-requirements/130147/6 "2025-06-26T08:44:44Z")

</div>

> [@pvkabaila](#):
>
> when I try Pkg.add(“CustomGaussQuadrature”)

Works for me on Julia 1.10.9.

Possibly you tried that before your new version had propagated to the package servers, in which case it still tried to install the old version.

---

<div class="post-metadata">

### Author: ![pvkabaila](https://avatars.discourse-cdn.com/v4/letter/p/58956e/32.png) [@pvkabaila](https://discourse.julialang.org/u/pvkabaila)
#### Post date: [June 26, 2025, 10:22am UTC](https://discourse.julialang.org/t/pkg-add-customgaussquadrature-error-unsatisfiable-requirements/130147/7 "2025-06-26T10:22:25Z")

</div>

Many thanks for your help.

After Pkg.add(“CustomGaussQuadrature”) continued to result in the same error, I used the following commands:  
juliaup update  
followed by  
Pkg.add(“CustomGaussQuadrature”)  
Then it worked. However, this was for Julia v1.11.5

I then used  
juliaup default 1.10.9  
and I still had the same error with  
Pkg.add(“CustomGaussQuadrature”)

I then installed Julia from scratch on another computer from the Julia website. It installed Julia v1.10.9 and  
Pkg.add(“CustomGaussQuadrature”)  
worked.

Maybe I should install v1.10.9 directly from the Julia website, instead of using juliaup?

---

<div class="post-metadata">

### Author: ![GunnarFarneback](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gunnarfarneback/32/1827_2.png) [@GunnarFarneback](https://discourse.julialang.org/u/GunnarFarneback)
#### Post date: [June 26, 2025, 10:53am UTC](https://discourse.julialang.org/t/pkg-add-customgaussquadrature-error-unsatisfiable-requirements/130147/8 "2025-06-26T10:53:08Z")

</div>

The Julia installation method has no significance at all for this problem.

These lines

```julia
└─CustomGaussQuadrature [443f1e71] log:
├─possible versions are: 1.0.0-1.0.1 or uninstalled

```

indicate that you have outdated registry information which doesn’t know about versions 1.0.2 and 1.0.3.

That shouldn’t normally happen but you can try running

```julia
Pkg.Registry.update()

```

to see if it changes anything. If it doesn’t you can also try

```julia
Pkg.Registry.rm("General")
Pkg.Registry.add("General")

```

---

<div class="post-metadata">

### Author: ![pvkabaila](https://avatars.discourse-cdn.com/v4/letter/p/58956e/32.png) [@pvkabaila](https://discourse.julialang.org/u/pvkabaila)
#### Post date: [June 26, 2025, 10:38pm UTC](https://discourse.julialang.org/t/pkg-add-customgaussquadrature-error-unsatisfiable-requirements/130147/9 "2025-06-26T22:38:34Z")

</div>

Pkg.Registry.update()  
worked for me.
