I try to download dotnet SDK for C# with
sudo apt-get install -y dotnet6
but it says
A fatal error occurred. The folder [/usr/lib/dotnet/dotnet6-6.0.110/host/fxr] does not exist
I try to download dotnet SDK for C# with
sudo apt-get install -y dotnet6
but it says
A fatal error occurred. The folder [/usr/lib/dotnet/dotnet6-6.0.110/host/fxr] does not exist
2
Answers
If the Dotnet SDK is already installed on the system try the following it will help
then
And if prompted yes or no choose yes for the .net framework otherwise if you don’t know what you are doing choose no, that command is going to upgrade all your installed software and the kernel, so, be careful if you are relying on some old specific version of packages for your software to run
maybe it will ask you to restart
This worked for me.