add包报错,ERROR: GitError(Code:ENOTFOUND, Class:Repository, could not find repository from

以下是我使用的代码,我现在add包后,一直会报以下的错,但是不知道怎么解决,求问
(@v1.7) pkg> add GLM
Updating registry at ~/.julia/registries/General
ERROR: GitError(Code:ENOTFOUND, Class:Repository, could not find repository from ‘/public/user/.julia/registries/General’)
Stacktrace:
[1] macro expansion
@ ~/packages/julias/julia-1.7/share/julia/stdlib/v1.7/LibGit2/src/error.jl:110 [inlined]
[2] LibGit2.GitRepo(path::String)
@ LibGit2 ~/packages/julias/julia-1.7/share/julia/stdlib/v1.7/LibGit2/src/repository.jl:11
[3] update(regs::Vector{Pkg.Registry.RegistrySpec}; io::Base.TTY, force::Bool)
@ Pkg.Registry ~/packages/julias/julia-1.7/share/julia/stdlib/v1.7/Pkg/src/Registry/Registry.jl:403
[4] update_registries(ctx::Pkg.Types.Context; force::Bool, kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ Pkg.Operations ~/packages/julias/julia-1.7/share/julia/stdlib/v1.7/Pkg/src/Operations.jl:1072
[5] add(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; preserve::Pkg.Types.PreserveLevel, platform::Base.BinaryPlatforms.Platform, kwargs::Base.Pairs{Symbol, Base.TTY, Tuple{Symbol}, NamedTuple{(:io,), Tuple{Base.TTY}}})
@ Pkg.API ~/packages/julias/julia-1.7/share/julia/stdlib/v1.7/Pkg/src/API.jl:252
[6] add(pkgs::Vector{Pkg.Types.PackageSpec}; io::Base.TTY, kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ Pkg.API ~/packages/julias/julia-1.7/share/julia/stdlib/v1.7/Pkg/src/API.jl:149
[7] add(pkgs::Vector{Pkg.Types.PackageSpec})
@ Pkg.API ~/packages/julias/julia-1.7/share/julia/stdlib/v1.7/Pkg/src/API.jl:144
[8] do_cmd!(command::Pkg.REPLMode.Command, repl::REPL.LineEditREPL)
@ Pkg.REPLMode ~/packages/julias/julia-1.7/share/julia/stdlib/v1.7/Pkg/src/REPLMode/REPLMode.jl:407
[9] do_cmd(repl::REPL.LineEditREPL, input::String; do_rethrow::Bool)
@ Pkg.REPLMode ~/packages/julias/julia-1.7/share/julia/stdlib/v1.7/Pkg/src/REPLMode/REPLMode.jl:385
[10] do_cmd
@ ~/packages/julias/julia-1.7/share/julia/stdlib/v1.7/Pkg/src/REPLMode/REPLMode.jl:376 [inlined]
[11] (::Pkg.REPLMode.var"#24#27"{REPL.LineEditREPL, REPL.LineEdit.Prompt})(s::REPL.LineEdit.MIState, buf::IOBuffer, ok::Bool)
@ Pkg.REPLMode ~/packages/julias/julia-1.7/share/julia/stdlib/v1.7/Pkg/src/REPLMode/REPLMode.jl:549
[12] #invokelatest#2
@ ./essentials.jl:716 [inlined]
[13] invokelatest
@ ./essentials.jl:714 [inlined]
[14] run_interface(terminal::REPL.Terminals.TextTerminal, m::REPL.LineEdit.ModalInterface, s::REPL.LineEdit.MIState)
@ REPL.LineEdit ~/packages/julias/julia-1.7/share/julia/stdlib/v1.7/REPL/src/LineEdit.jl:2493
[15] run_frontend(repl::REPL.LineEditREPL, backend::REPL.REPLBackendRef)
@ REPL ~/packages/julias/julia-1.7/share/julia/stdlib/v1.7/REPL/src/REPL.jl:1230
[16] (::REPL.var"#49#54"{REPL.LineEditREPL, REPL.REPLBackendRef})()
@ REPL ./task.jl:423