# Using ... uses outdated Package

**URL:** <https://discourse.julialang.org/t/using-uses-outdated-package/51111>\
**Category:** General Usage\
**Tags:** pkg\
**Created:** [December 2, 2020, 12:44pm UTC](https://discourse.julialang.org/t/using-uses-outdated-package/51111 "2020-12-02T12:44:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Volker\_Weissmann](https://avatars.discourse-cdn.com/v4/letter/v/c2a13f/32.png) [@Volker\_Weissmann](https://discourse.julialang.org/u/Volker_Weissmann)\
**Post date:** [December 2, 2020, 12:44pm UTC](https://discourse.julialang.org/t/using-uses-outdated-package/51111/1 "2020-12-02T12:44:44Z")

</div>

Why does

```julia
@which set_cache_path("arg")

```

find something in the following example?

```julia
[volker@battle SimpleCache]$ cat src/SimpleCache.jl 
module SimpleCache

end # module
[volker@battle SimpleCache]$ julia
               _
   _ _ _(_)_ | Documentation: https://docs.julialang.org
  (_) | (_) (_) |
   _ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` | |
  | | |_| | | | (_| | | Version 1.5.3 (2020-11-09)
 _/ |\ __'_|_|_|\__'_| |  
|__/ |

(@v1.5) pkg> rm SimpleCache
ERROR: The following package names could not be resolved:
 * SimpleCache (not found in project or manifest)

(@v1.5) pkg> add .
[ Info: Resolving package identifier `.` as a directory at `~/Sync/git/SimpleCache`.
   Updating git-repo `/home/volker/Sync/git/SimpleCache`
   Updating registry at `~/.julia/registries/General`
  Resolving package versions...
Updating `~/.julia/environments/v1.5/Project.toml`
  [535d1a1e] + SimpleCache v0.1.0 `../../../Sync/git/SimpleCache#master`
Updating `~/.julia/environments/v1.5/Manifest.toml`
  [535d1a1e] + SimpleCache v0.1.0 `../../../Sync/git/SimpleCache#master`

julia> using SimpleCache

julia> @which set_cache_path("arg")
set_cache_path(path) in SimpleCache at /home/volker/.julia/packages/SimpleCache/MMAqb/src/SimpleCache.jl:19

julia>

```

---

<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 2, 2020, 1:09pm UTC](https://discourse.julialang.org/t/using-uses-outdated-package/51111/2 "2020-12-02T13:09:11Z")

</div>

> [@Volker\_Weissmann](#):
>
> `(@v1.5) pkg> add .`

You probably want `pkg> dev .` here. `pkg> add` will add (copy) the content of the last commit in the repository at `.`.
