-
Notifications
You must be signed in to change notification settings - Fork 830
Closed
Labels
BugImpact-Medium(Internal MS Team use only) Describes an issue with moderate impact on existing code.(Internal MS Team use only) Describes an issue with moderate impact on existing code.
Description
Repro steps
I'm having a small Test.fsx file containing just:
#r "nuget: Ply, 0.3.1"
open FSharp.Control.Tasks
printfn "hello world"The result of running the script is:
> dotnet fsi Test.fsx
/home/peter/Test.fsx(1,1): error FS3217: No such file or directoryHowever if I run it as sudo, it works fine:
> sudo dotnet fsi Test.fsx
hello world
I assume that the problem is that somehow running dotnet fsi once in the past as a sudo user,
mesed up the environment in a way that non-root user's fsi now can't access packages any more.
But I can't fix this situation. I've tried to:
- apt remove --purge and reinstall dotnet-sdk
- rm -rf ~/.local/share/NuGet ~/.local/share/Nuget ~/.nuget ~/.dotnet /tmp/NuGetScratch
- dotnet nuget locals all --clear
This is happening on:
Ubuntu 21.04 with
dotnet-sdk-5.0 5.0.302-1
Metadata
Metadata
Assignees
Labels
BugImpact-Medium(Internal MS Team use only) Describes an issue with moderate impact on existing code.(Internal MS Team use only) Describes an issue with moderate impact on existing code.