# Can't add JuliaDB

**URL:** <https://discourse.julialang.org/t/cant-add-juliadb/14616>\
**Category:** General Usage\
**Created:** [September 6, 2018, 10:43am UTC](https://discourse.julialang.org/t/cant-add-juliadb/14616 "2018-09-06T10:43:15Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![amrods](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/amrods/32/2543_2.png) [@amrods](https://discourse.julialang.org/u/amrods)\
**Post date:** [September 6, 2018, 10:43am UTC](https://discourse.julialang.org/t/cant-add-juliadb/14616/1 "2018-09-06T10:43:15Z")

</div>

I try to `add JuliaDB` and get

```julia
(v0.7) pkg> add JuliaDB
 Resolving package versions...
ERROR: Unsatisfiable requirements detected for package NamedTuples [73a701b4]:
 NamedTuples [73a701b4] log:
 ├─possible versions are: [0.0.1-0.0.3, 0.1.0, 1.0.0, 2.0.0, 2.1.0, 3.0.0-3.0.3, 4.0.0-4.0.2] or uninstalled
 ├─restricted by compatibility requirements with JuliaDB [a93385a2] to versions: 4.0.0-4.0.2
 │ └─JuliaDB [a93385a2] log:
 │ ├─possible versions are: [0.1.0-0.1.5, 0.2.0-0.2.3, 0.3.0-0.3.7, 0.4.0-0.4.4, 0.5.0, 0.6.0, 0.7.0-0.7.2, 0.8.0-0.8.5] or uninstalled
 │ └─restricted to versions * by an explicit requirement, leaving only versions [0.1.0-0.1.5, 0.2.0-0.2.3, 0.3.0-0.3.7, 0.4.0-0.4.4, 0.5.0, 0.6.0, 0.7.0-0.7.2, 0.8.0-0.8.5]
 └─restricted by julia compatibility requirements to versions: uninstalled — no versions left

```

But I don’t have `NamedTuples`

```julia
(v0.7) pkg> rm NamedTuples
┌ Warning: `NamedTuples` not in project, ignoring
└ @ Pkg.Operations /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v0.7/Pkg/src/Operations.jl:1127
[ Info: No changes

```

---

<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:** [September 6, 2018, 10:55am UTC](https://discourse.julialang.org/t/cant-add-juliadb/14616/2 "2018-09-06T10:55:25Z")

</div>

Can you try

```julia
pkg> remove --manifest NamedTuples

```

?

---

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [September 6, 2018, 10:57am UTC](https://discourse.julialang.org/t/cant-add-juliadb/14616/3 "2018-09-06T10:57:17Z")

</div>

I thought that JuliaDB was [not yet ready](https://github.com/JuliaComputing/JuliaDB.jl/commit/8bf3057df154b7d0b592248bb3be98171dd28738) for 0.7/1.0.

---

<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:** [September 6, 2018, 11:54am UTC](https://discourse.julialang.org/t/cant-add-juliadb/14616/4 "2018-09-06T11:54:52Z")

</div>

> [@fredrikekre](#):
>
> Can you try
> 
> ```julia
> pkg> remove --manifest NamedTuples
> 
> ```
> 
> ?

That’s entirely the wrong way to go if you want to get JuliaDB installed on Julia 0.7 or 1.0. Instead you should do

```julia
pkg> dev NamedTuples

```

and then adding JuliaDB will go through. Not that either package can be expected to work though, rather the opposite. But you are in a better position to fix NamedTuples yourself. 🙂

More technically speaking, the latest version of JuliaDB, 0.8.5, has an upper bound on the compatibility with Julia itself, making it only installable on Julia 0.6. When you try to install it on 0.7, it will instead pick 0.8.4, which was released before the upper bound was introduced in the REQUIRE file. However, it depends on NamedTuples, which doesn’t work on 0.7 and also has received an upper bound. In the NamedTuples case, however, the upper bound was introduced in METADATA retroactively for all released versions, meaning no released version can be installed, and the attempt to install JuliaDB v0.8.4 failed because there was no way to satisfy the dependencies. This can be fooled by manually installing NamedTuples, either with `develop NamedTuples` or with `add NamedTuples#master`, both of which circumvent the Julia version requirements in METADATA. (And even more technically Pkg3 doesn’t look in METADATA but in a registry that mirrors METADATA, so the effect is the same.)

I’m not entirely convinced about the wisdom of retroactively upper-bounding all versions of NamedTuples without having a new version available that can be installed on Julia 0.7. It’s technically correct since it doesn’t work on 0.7 and very possibly never will, but the package manager doesn’t handle it gracefully enough at this time, as seen by this and quite a few other threads on discourse.

---

<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:** [September 6, 2018, 2:18pm UTC](https://discourse.julialang.org/t/cant-add-juliadb/14616/5 "2018-09-06T14:18:09Z")

</div>

Maybe this can improve the situation: [End of life package more gracefully. by GunnarFarneback · Pull Request #79 · JuliaData/NamedTuples.jl · GitHub](https://github.com/JuliaData/NamedTuples.jl/pull/79)
