# Pkg.gc() deletion failure warnings

**URL:** <https://discourse.julialang.org/t/pkg-gc-deletion-failure-warnings/98631>\
**Category:** General Usage\
**Created:** [May 10, 2023, 4:35pm UTC](https://discourse.julialang.org/t/pkg-gc-deletion-failure-warnings/98631 "2023-05-10T16:35:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hdavid16](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/hdavid16/32/11531_2.png) [@hdavid16](https://discourse.julialang.org/u/hdavid16)\
**Post date:** [May 10, 2023, 4:35pm UTC](https://discourse.julialang.org/t/pkg-gc-deletion-failure-warnings/98631/1 "2023-05-10T16:35:05Z")

</div>

I’m getting a bunch of these warnings:

```julia
┌ Warning: Failed to delete C:\...\.julia\packages\ZipFile\oD4uG
│ exception = IOError: chmod("C:\\....\\.julia\\packages\\ZipFile\\oD4uG\\.appveyor.yml", 0o777): invalid argument (EINVAL)
└ @ Pkg.API C:\Users\HD\.julia\juliaup\julia-1.9.0+0.x64.w64.mingw32\share\julia\stdlib\v1.9\Pkg\src\API.jl:957

```

Versioninfo:

```julia
Julia Version 1.9.0
Commit 8e63055292 (2023-05-07 11:25 UTC)
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: 8 × Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-14.0.6 (ORCJIT, skylake)

```

Any thoughts on how to deal with these?
