# Long fetching on local package update

**URL:** <https://discourse.julialang.org/t/long-fetching-on-local-package-update/60330>\
**Category:** General Usage\
**Tags:** pkg\
**Created:** [April 30, 2021, 4:33pm UTC](https://discourse.julialang.org/t/long-fetching-on-local-package-update/60330 "2021-04-30T16:33:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![HenriDeh](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/henrideh/32/8316_2.png) [@HenriDeh](https://discourse.julialang.org/u/HenriDeh)\
**Post date:** [April 30, 2021, 4:33pm UTC](https://discourse.julialang.org/t/long-fetching-on-local-package-update/60330/1 "2021-04-30T16:33:44Z")

</div>

Hi, I was just wondering if I have set up something wrong if this happens:  
 ![image](https://global.discourse-cdn.com/julialang/original/3X/f/4/f446b0a256037bd8c813ea3d87964dab360213f5.png)  
Context : this package is stored locally on my computer, I frequently change it so every time I do a commit, I must update it.  
 ![image](https://global.discourse-cdn.com/julialang/original/3X/7/2/725e03d3e76a22ca2840e556ae0f83b296b18f93.png)  
But there is that long Fetching operation everytime that’s bothering me. It looks like it is downloading something from github (the package is also on github but not registered).  
So I was wondering whether I should change a setting somewhere or if this is normal behavior for a local package.

---

<div class="post-metadata">

**Author:** ![ffevotte](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ffevotte/32/6587_2.png) [@ffevotte](https://discourse.julialang.org/u/ffevotte)\
**Post date:** [April 30, 2021, 6:34pm UTC](https://discourse.julialang.org/t/long-fetching-on-local-package-update/60330/2 "2021-04-30T18:34:19Z")

</div>

I think in such a situation it would be simpler to [`Pkg.develop`](https://pkgdocs.julialang.org/v1/managing-packages/#developing) the `InventoryModels` package from `DRL_MMULS`, so that the package manager would always use the version from your filesystem:

```julia
(DRL_MMULS) pkg> develop ..\InventoryModels

```

  

(That being said, there are ways to prevent `Pkg` from always updating the registry, but I would rather avoid doing that if `Pkg.dev` suits your needs)

---

<div class="post-metadata">

**Author:** ![hendri54](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/hendri54/32/9621_2.png) [@hendri54](https://discourse.julialang.org/u/hendri54)\
**Post date:** [April 30, 2021, 7:08pm UTC](https://discourse.julialang.org/t/long-fetching-on-local-package-update/60330/3 "2021-04-30T19:08:10Z")

</div>

There have been various reports that virus checkers slow down registry updates. Excluding `.julia/registries` from the monitored directories appears to help sometimes. (I did not in my case [MacOS], but things got a lot faster in v1.6 for me).
