Startup packages no longer avaiabke when updating using Julia up?

I have somewhat recently started using juliaup to keep track of my julia version. I have now updated to the 1.10 beta. Here is the output of juliaup status:

 Default  Channel       Version                       Update                                    
------------------------------------------------------------------------------------------------
       *  1.10.0-beta2  1.10.0-beta2+0.x64.linux.gnu                                            
          1.6           1.6.7+0.x64.linux.gnu                                                   
          1.8.3         1.8.3+0.x64.linux.gnu                                                   
          1.8.4         1.8.4+0.x64.linux.gnu                                                   
          release       1.9.2+0.x64.linux.gnu         Update to 1.9.3+0.x64.linux.gnu available 

Since the update, when I try to run julia in my console, I get something like this:

ERROR: LoadError: ArgumentError: Package OhMyREPL not found in current path.
- Run `import Pkg; Pkg.add("OhMyREPL")` to install the OhMyREPL package.
Stacktrace:
 [1] macro expansion
   @ Base ./loading.jl:1766 [inlined]
 [2] macro expansion
   @ Base ./lock.jl:267 [inlined]
 [3] __require(into::Module, mod::Symbol)
   @ Base ./loading.jl:1747
 [4] #invoke_in_world#3
   @ Base ./essentials.jl:921 [inlined]
 [5] invoke_in_world
   @ Base ./essentials.jl:918 [inlined]
 [6] require(into::Module, mod::Symbol)
   @ Base ./loading.jl:1740
in expression starting at /home/torkelloman/.julia/config/startup.jl:1
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.10.0-beta2 (2023-08-17)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

This is my startup.jl file:

using OhMyREPL
using JuliaFormatter

using Pkg
if isfile("Project.toml") && isfile("Manifest.toml")
    Pkg.activate(".")
end

try
    using Revise
catch e
    @warn "Error initializing Revise" exception=(e, catch_backtrace())
end

#import Term: install_term_stacktrace
#install_term_stacktrace()

When I check my “.julia/environments/v1.10/Projects.toml” file, OhMyREPL is not there.

Is this a thing with juliaup, that it doesn’t actually copy over my previous default environments, and I have to do so manually?

yea

1 Like

Thanks for the clear response :slight_smile: