# CRC Failed : General.tar

**URL:** <https://discourse.julialang.org/t/crc-failed-general-tar/96000>\
**Category:** Package Management\
**Created:** [March 13, 2023, 12:49pm UTC](https://discourse.julialang.org/t/crc-failed-general-tar/96000 "2023-03-13T12:49:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ColinCaine](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/colincaine/32/7211_2.png) [@ColinCaine](https://discourse.julialang.org/u/ColinCaine)\
**Post date:** [March 13, 2023, 12:49pm UTC](https://discourse.julialang.org/t/crc-failed-general-tar/96000/1 "2023-03-13T12:49:52Z")

</div>

The default packageservers are serving me a General.tar.gz with an invalid checksum.

Steps to reproduce:

- Delete General.toml and General.tar.gz from .julia/registries
- start julia, ]add BenchmarkTools
- Observe an error like this:

```julia
(@v1.8) pkg> add BenchmarkTools
ERROR: CRC Failed : General.tar
ERROR: This does not appear to be a TAR file/stream — invalid version string for tar file: "r9". Note: Tar.jl does not handle decompression; if the tarball is compressed you must use an external command like `gzcat` or package like CodecZlib.jl to decompress it. See the README file for examples.

```

Workaround:

- Start Julia with `JULIA_PKG_SERVER=""`

I confirmed General.tar has a bad checksum by trying to open it with 7z outside of Julia.

The forum won’t let me upload the faulty General.tar.gz I was sent, so here’s its SHA256 checksum: 7bb303e04f7a130ae728b5d514f6eebfb25aff9b6d1ce3462feadaa7c6639726

---

<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:** [March 13, 2023, 6:08pm UTC](https://discourse.julialang.org/t/crc-failed-general-tar/96000/2 "2023-03-13T18:08:57Z")

</div>

Cf. [Package update broken · Issue #48989 · JuliaLang/julia · GitHub](https://github.com/JuliaLang/julia/issues/48989#issuecomment-1466084883)
