The corrupted file seems to be part of your local copy of the General registry, so the likely fix is doing
(@v1.8) pkg> registry rm General
Removing registry `General` from ~/.julia/registries/General.toml
(@v1.8) pkg> registry add General
in the package prompt.
(N.b. this might also make certain package operations faster, especially on windows, since you are currently still using an extracted copy of the registry, whereas 1.8 will read the tarball in memory by default)