Another problem with Julia 1.11.1

I have freshly updated Julia to 1.11.1 but, like others, I am getting in trouble.
Superficially, I would say that my problem is slightly different from what others are reporting. Therefore, I report also my version:

  1. I open Julia via the simple command
julia
  1. if I directly access the package manager I get the following error message
(@v1.11) pkg> Unhandled Task ERROR: ArgumentError: Package REPLExt [e5eb5ef1-03cf-53a7-ae1d-5a66b08e832b] is required but does not seem to be installed:
 - Run `Pkg.instantiate()` to install all recorded dependencies.

Stacktrace:
  [1] #invoke_in_world#3
    @ ./essentials.jl:1089 [inlined]
  [2] invoke_in_world
    @ ./essentials.jl:1086 [inlined]
  [3] _require_prelocked
    @ ./loading.jl:2302 [inlined]
  [4] _require_prelocked
    @ ./loading.jl:2301 [inlined]
  [5] macro expansion
    @ ./loading.jl:2602 [inlined]
  [6] macro expansion
    @ ./lock.jl:273 [inlined]
  [7] require_stdlib(package_uuidkey::Base.PkgId, ext::String)
    @ Base ./loading.jl:2557
  [8] macro expansion
    @ /usr/share/julia/stdlib/v1.11/REPL/src/Pkg_beforeload.jl:8 [inlined]
  [9] macro expansion
    @ ./lock.jl:273 [inlined]
 [10] load_pkg()
    @ REPL /usr/share/julia/stdlib/v1.11/REPL/src/Pkg_beforeload.jl:7
 [11] (::REPL.var"#119#137"{REPL.LineEdit.MIState, REPL.LineEditREPL, REPL.LineEdit.Prompt})()
    @ REPL /usr/share/julia/stdlib/v1.11/REPL/src/REPL.jl:1248
β”Œ Error: Error in the keymap
β”‚   exception =
β”‚    ArgumentError: Package REPLExt [e5eb5ef1-03cf-53a7-ae1d-5a66b08e832b] is required but does not seem to be installed:
β”‚     - Run `Pkg.instantiate()` to install all recorded dependencies.
β”‚    
β”‚    Stacktrace:
β”‚      [1] #invoke_in_world#3
β”‚        @ ./essentials.jl:1089 [inlined]
β”‚      [2] invoke_in_world
β”‚        @ ./essentials.jl:1086 [inlined]
β”‚      [3] _require_prelocked
β”‚        @ ./loading.jl:2302 [inlined]
β”‚      [4] _require_prelocked
β”‚        @ ./loading.jl:2301 [inlined]
β”‚      [5] macro expansion
β”‚        @ ./loading.jl:2602 [inlined]
β”‚      [6] macro expansion
β”‚        @ ./lock.jl:273 [inlined]
β”‚      [7] require_stdlib(package_uuidkey::Base.PkgId, ext::String)
β”‚        @ Base ./loading.jl:2557
β”‚      [8] macro expansion
β”‚        @ /usr/share/julia/stdlib/v1.11/REPL/src/Pkg_beforeload.jl:8 [inlined]
β”‚      [9] macro expansion
β”‚        @ ./lock.jl:273 [inlined]
β”‚     [10] load_pkg()
β”‚        @ REPL /usr/share/julia/stdlib/v1.11/REPL/src/Pkg_beforeload.jl:7
β”‚     [11] (::REPL.var"#109#127"{REPL.LineEditREPL})(s::REPL.LineEdit.MIState)
β”‚        @ REPL /usr/share/julia/stdlib/v1.11/REPL/src/REPL.jl:1153
β”‚     [12] on_enter(s::REPL.LineEdit.MIState)
β”‚        @ REPL.LineEdit /usr/share/julia/stdlib/v1.11/REPL/src/LineEdit.jl:2320
β”‚     [13] (::REPL.LineEdit.var"#120#176")(::REPL.LineEdit.MIState, ::Any, ::Vararg{Any})
β”‚        @ REPL.LineEdit /usr/share/julia/stdlib/v1.11/REPL/src/LineEdit.jl:2470
β”‚     [14] #invokelatest#2
β”‚        @ ./essentials.jl:1055 [inlined]
β”‚     [15] invokelatest
β”‚        @ ./essentials.jl:1052 [inlined]
β”‚     [16] (::REPL.LineEdit.var"#30#31"{REPL.LineEdit.var"#120#176", String})(s::Any, p::Any)
β”‚        @ REPL.LineEdit /usr/share/julia/stdlib/v1.11/REPL/src/LineEdit.jl:1711
β”‚     [17] macro expansion
β”‚        @ /usr/share/julia/stdlib/v1.11/REPL/src/LineEdit.jl:2861 [inlined]
β”‚     [18] macro expansion
β”‚        @ ./lock.jl:273 [inlined]
β”‚     [19] (::REPL.LineEdit.var"#282#284"{REPL.Terminals.TTYTerminal, REPL.LineEdit.ModalInterface, REPL.LineEdit.MIState, ReentrantLock, REPL.LineEdit.Prompt})()
β”‚        @ REPL.LineEdit /usr/share/julia/stdlib/v1.11/REPL/src/LineEdit.jl:2851
β”” @ REPL.LineEdit /usr/share/julia/stdlib/v1.11/REPL/src/LineEdit.jl:2863
  1. the problem disappears if, before accessing the package manager, I simply run
using Pkg

this solution is not good for me because It does not allow me to work in vscode

Any idea?

how did you install Julia?

I installed it directly via pacman. I always do in this way

yeah don’t do it that way, that can easily give you broken Julia

https://wiki.archlinux.org/title/Julia

install juliaup

thanks. I try and let you know the outcome then.

Ok, I confirm that in this way the problem is solved. But I still have issues with using vs-code. Therefore I belive that now I am facing a different problem. Should I open a new post or I can continue here?

sounds like a different issue.

2 Likes

To conclude this thread, I also solved this second issue: it was just a problem that the Manifest file was outdated. Now everything is working. I marked your first suggestion as the solution because it efficiently solved the first issue. Thanks a lot!

4 Likes