Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pkg crashes after deleting a package because the package was now deleted? #2623

Open
vtjnash opened this issue Jun 14, 2021 · 2 comments
Open

Comments

@vtjnash
Copy link
Member

vtjnash commented Jun 14, 2021

(@v1.1) pkg> add AprilTags                                                                                                                                             [2116/8735]
   Resolving package versions...                                                                                                                                                  
   Installed ImageDraw ───────────── v0.2.5                                                                                                                                       
   Installed libblastrampoline_jll ─ v3.0.4+0                                                                                                                                     
   Installed AprilTags ───────────── v0.7.2                                              
  Downloaded artifact: libblastrampoline                                                                                                                                          
    Updating `~/.julia/environments/v1.1/Project.toml`                                                                                                                            
  [f0fec3d5] + AprilTags v0.7.2                                                                                                                                                   
    Updating `~/.julia/environments/v1.1/Manifest.toml`                                                                                                                           
  [f0fec3d5] + AprilTags v0.7.2                                                                                                                                                   
  [4381153b] + ImageDraw v0.2.5                                                          
  [8e850b90] - libblastrampoline_jll                                                                                                                                              
ERROR: could not find entry with uuid 8e850b90-86db-534c-a0d3-1478176c7d93 in manifest /home/vtjnash/.julia/environments/v1.1/Manifest.toml                                       
Stacktrace:                                                                                                                                                                       
  [1] error(s::String)                      
    @ Base ./error.jl:33                                                                 
  [2] build_versions(ctx::Pkg.Types.Context, uuids::Vector{Base.UUID}; verbose::Bool)                                                                                             
    @ Pkg.Operations /data/vtjnash/julia16/usr/share/julia/stdlib/v1.6/Pkg/src/Operations.jl:958                                                                                  
  [3] build_versions                                                                                                                                                              
    @ /data/vtjnash/julia16/usr/share/julia/stdlib/v1.6/Pkg/src/Operations.jl:948 [inlined]                                                                                       
  [4] add(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}, new_git::Vector{Base.UUID}; preserve::Pkg.Types.PreserveLevel, platform::Base.BinaryPlatforms.Platform)    
    @ Pkg.Operations /data/vtjnash/julia16/usr/share/julia/stdlib/v1.6/Pkg/src/Operations.jl:1239                                                                                 
  [5] add(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; preserve::Pkg.Types.PreserveLevel, platform::Base.BinaryPlatforms.Platform, kwargs::Base.Iterators.Pairs{Un
ion{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})                                       
    @ Pkg.API /data/vtjnash/julia16/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:197                                                                                                
  [6] add                                   
    @ /data/vtjnash/julia16/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:148 [inlined]                                                                                              
  [7] add(pkgs::Vector{Pkg.Types.PackageSpec}; kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})                                                  
    @ Pkg.API /data/vtjnash/julia16/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:73                                                                                                 
  [8] add(pkgs::Vector{Pkg.Types.PackageSpec})                                           
    @ Pkg.API /data/vtjnash/julia16/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:72                                                                                                 
  [9] do_cmd!(command::Pkg.REPLMode.Command, repl::REPL.LineEditREPL)                                                                                                             
    @ Pkg.REPLMode /data/vtjnash/julia16/usr/share/julia/stdlib/v1.6/Pkg/src/REPLMode/REPLMode.jl:408                                                                             
 [10] do_cmd(repl::REPL.LineEditREPL, input::String; do_rethrow::Bool)                                                                                                            
    @ Pkg.REPLMode /data/vtjnash/julia16/usr/share/julia/stdlib/v1.6/Pkg/src/REPLMode/REPLMode.jl:386                                                                             
 [11] do_cmd                                
    @ /data/vtjnash/julia16/usr/share/julia/stdlib/v1.6/Pkg/src/REPLMode/REPLMode.jl:377 [inlined]                                                                                
 [12] (::Pkg.REPLMode.var"#24#27"{REPL.LineEditREPL, REPL.LineEdit.Prompt})(s::REPL.LineEdit.MIState, buf::IOBuffer, ok::Bool)                                                    
    @ Pkg.REPLMode /data/vtjnash/julia16/usr/share/julia/stdlib/v1.6/Pkg/src/REPLMode/REPLMode.jl:550                                                                             
 [13] #invokelatest#2                       
    @ ./essentials.jl:708 [inlined]                                                      
 [14] invokelatest                          
    @ ./essentials.jl:706 [inlined]                                                      
 [15] run_interface(terminal::REPL.Terminals.TextTerminal, m::REPL.LineEdit.ModalInterface, s::REPL.LineEdit.MIState)                                                             
    @ REPL.LineEdit /data/vtjnash/julia16/usr/share/julia/stdlib/v1.6/REPL/src/LineEdit.jl:2441                                                                                   
 [16] run_frontend(repl::REPL.LineEditREPL, backend::REPL.REPLBackendRef)                                                                                                         
    @ REPL /data/vtjnash/julia16/usr/share/julia/stdlib/v1.6/REPL/src/REPL.jl:1126                                                                                                
 [17] (::REPL.var"#44#49"{REPL.LineEditREPL, REPL.REPLBackendRef})()                                                                                                              
    @ REPL ./task.jl:406                    
julia> versioninfo()
Julia Version 1.6.0-rc3
Commit 23267f0d46* (2021-03-16 17:04 UTC)
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: Intel(R) Xeon(R) Silver 4114 CPU @ 2.20GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-11.0.1 (ORCJIT, skylake-avx512)

Note that the crash is referencing the package it just deleted. Running Pkg.update again worked fine.

@fredrikekre
Copy link
Member

Duplicate of #2244 ?

@vtjnash
Copy link
Member Author

vtjnash commented Jun 14, 2021

Yes, looks like the same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants