Pkg.status() results in error

Hey there,

I am running Julia in Docker Container using VSC. The image is based on Debian Bullseye and the Julia version is 1.8.4.
Everything worked fine, then I tried to add the BenchmarkTools package. Now I get errors using the package manager.

(testing) pkg> status
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.
Stacktrace:
  [1] error(s::String)
    @ Base ./error.jl:35
  [2] |>(x::String, f::typeof(error))
    @ Base ./operators.jl:911
  [3] header_error(buf::Vector{UInt8}, msg::String)
    @ Tar /usr/local/julia/share/julia/stdlib/v1.8/Tar/src/extract.jl:555
  [4] check_version_field(buf::Vector{UInt8})
    @ Tar /usr/local/julia/share/julia/stdlib/v1.8/Tar/src/extract.jl:614
  [5] read_standard_header(io::Base.Process; buf::Vector{UInt8}, tee::Base.DevNull)
    @ Tar /usr/local/julia/share/julia/stdlib/v1.8/Tar/src/extract.jl:586
  [6] #read_header#50
    @ /usr/local/julia/share/julia/stdlib/v1.8/Tar/src/extract.jl:415 [inlined]
  [7] read_tarball(callback::Pkg.Registry.var"#12#15"{Base.Process, IOBuffer, Vector{UInt8}, Dict{String, String}}, predicate::Pkg.Registry.var"#13#16", tar::Base.Process; buf::Vector{UInt8}, skeleton::Base.DevNull)
    @ Tar /usr/local/julia/share/julia/stdlib/v1.8/Tar/src/extract.jl:345
  [8] #11
    @ /usr/local/julia/share/julia/stdlib/v1.8/Pkg/src/Registry/registry_instance.jl:198 [inlined]
  [9] open(::Pkg.Registry.var"#11#14"{IOBuffer, Vector{UInt8}, Dict{String, String}}, ::Cmd; kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
    @ Base ./process.jl:427
 [10] open
    @ ./process.jl:414 [inlined]
 [11] uncompress_registry(tar_gz::String)
    @ Pkg.Registry /usr/local/julia/share/julia/stdlib/v1.8/Pkg/src/Registry/registry_instance.jl:197
 [12] Pkg.Registry.RegistryInstance(path::String)
    @ Pkg.Registry /usr/local/julia/share/julia/stdlib/v1.8/Pkg/src/Registry/registry_instance.jl:264
 [13] reachable_registries(; depots::Vector{String})
    @ Pkg.Registry /usr/local/julia/share/julia/stdlib/v1.8/Pkg/src/Registry/registry_instance.jl:370
 [14] reachable_registries
    @ /usr/local/julia/share/julia/stdlib/v1.8/Pkg/src/Registry/registry_instance.jl:340 [inlined]
 [15] download_default_registries(io::Base.TTY; only_if_empty::Bool)
    @ Pkg.Registry /usr/local/julia/share/julia/stdlib/v1.8/Pkg/src/Registry/Registry.jl:98
 [16] download_default_registries
    @ /usr/local/julia/share/julia/stdlib/v1.8/Pkg/src/Registry/Registry.jl:97 [inlined]
 [17] status(pkgs::Vector{Pkg.Types.PackageSpec}; io::Base.TTY, kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
    @ Pkg.API /usr/local/julia/share/julia/stdlib/v1.8/Pkg/src/API.jl:146
 [18] status(pkgs::Vector{Pkg.Types.PackageSpec})
    @ Pkg.API /usr/local/julia/share/julia/stdlib/v1.8/Pkg/src/API.jl:145
 [19] do_cmd!(command::Pkg.REPLMode.Command, repl::REPL.LineEditREPL)
    @ Pkg.REPLMode /usr/local/julia/share/julia/stdlib/v1.8/Pkg/src/REPLMode/REPLMode.jl:409
 [20] do_cmd(repl::REPL.LineEditREPL, input::String; do_rethrow::Bool)
    @ Pkg.REPLMode /usr/local/julia/share/julia/stdlib/v1.8/Pkg/src/REPLMode/REPLMode.jl:387
 [21] do_cmd
    @ /usr/local/julia/share/julia/stdlib/v1.8/Pkg/src/REPLMode/REPLMode.jl:377 [inlined]
 [22] (::Pkg.REPLMode.var"#24#27"{REPL.LineEditREPL, REPL.LineEdit.Prompt})(s::REPL.LineEdit.MIState, buf::IOBuffer, ok::Bool)
    @ Pkg.REPLMode /usr/local/julia/share/julia/stdlib/v1.8/Pkg/src/REPLMode/REPLMode.jl:551
 [23] #invokelatest#2
    @ ./essentials.jl:729 [inlined]
 [24] invokelatest
    @ ./essentials.jl:726 [inlined]
 [25] run_interface(terminal::REPL.Terminals.TextTerminal, m::REPL.LineEdit.ModalInterface, s::REPL.LineEdit.MIState)
    @ REPL.LineEdit /usr/local/julia/share/julia/stdlib/v1.8/REPL/src/LineEdit.jl:2510
 [26] run_frontend(repl::REPL.LineEditREPL, backend::REPL.REPLBackendRef)
    @ REPL /usr/local/julia/share/julia/stdlib/v1.8/REPL/src/REPL.jl:1248
 [27] (::REPL.var"#49#54"{REPL.LineEditREPL, REPL.REPLBackendRef})()
    @ REPL ./task.jl:484

I can still activate other environments, but I get the same error when running Pkg.status()
I can’t really make sense from the error message and hoped that someone here could maybe give me a hint where to look at.
Thanks a lot,
Cheers!

The package servers were distributing a corrupt (probably truncated) registry for a while. Cf. CRC Failed : General.tar.