# Cannot update Julia package to newest versions

**URL:** <https://discourse.julialang.org/t/cannot-update-julia-package-to-newest-versions/105441>\
**Category:** General Usage\
**Tags:** question, package\
**Created:** [October 26, 2023, 12:09pm UTC](https://discourse.julialang.org/t/cannot-update-julia-package-to-newest-versions/105441 "2023-10-26T12:09:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![erasedbird](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/erasedbird/32/202739_2.png) [@erasedbird](https://discourse.julialang.org/u/erasedbird)\
**Post date:** [October 26, 2023, 12:09pm UTC](https://discourse.julialang.org/t/cannot-update-julia-package-to-newest-versions/105441/1 "2023-10-26T12:09:48Z")

</div>

I am using Julia 1.9.2, and I’m trying to update CUDA from 4.0.1 to 4.4.0 and KernelAbstractions from 0.8.7 to 0.9.8. I’ve tried the following in Pkg mode:

- Using up (no changes to Project.toml and Manifest.toml, nothing happens)
- Removing and adding CUDA and KernelAbstractions (nothing happens, both remain at same versions)
- Using add CUDA@4.4.0 and KA@0.9.8 (see error attached)

Does anyone have any suggestions for what I should do next? I know I can activate a new env, but that doesn’t work for what I need. Is there anyway I can fix this without activating a new env and reinstalling these?

 ![Screenshot 2023-10-26 at 8.05.45 AM](https://global.discourse-cdn.com/julialang/original/3X/0/4/045ca954129216b01ce67d8cbd7b10b95f21d09e.jpeg)

---

<div class="post-metadata">

**Author:** ![frylock](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/frylock/32/50213_2.png) [@frylock](https://discourse.julialang.org/u/frylock)\
**Post date:** [October 26, 2023, 12:26pm UTC](https://discourse.julialang.org/t/cannot-update-julia-package-to-newest-versions/105441/2 "2023-10-26T12:26:34Z")

</div>

I can’t find the post, but I had a similar problem a while back and I think that `pkg instantiate` helped?

---

<div class="post-metadata">

**Author:** ![abraemer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/abraemer/32/51403_2.png) [@abraemer](https://discourse.julialang.org/u/abraemer)\
**Post date:** [October 26, 2023, 12:35pm UTC](https://discourse.julialang.org/t/cannot-update-julia-package-to-newest-versions/105441/3 "2023-10-26T12:35:37Z")

</div>

I think you need to remove `CUDAKernels` since it was moved inside `CUDA.jl`

> <https://github.com/JuliaGPU/CUDA.jl/pull/1772>
>
> \- Move CUDADevice
> \- fixup! Move CUDADevice

---

<div class="post-metadata">

**Author:** ![erasedbird](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/erasedbird/32/202739_2.png) [@erasedbird](https://discourse.julialang.org/u/erasedbird)\
**Post date:** [October 26, 2023, 12:36pm UTC](https://discourse.julialang.org/t/cannot-update-julia-package-to-newest-versions/105441/4 "2023-10-26T12:36:45Z")

</div>

This was it, thank you!
