Solve erorr

error: This revision of snap "dotnet-sdk" was published using classic
       confinement and thus may perform arbitrary system changes outside of the
       security sandbox that snaps are usually confined to, which may put your
       system at risk.

       If you understand and want to proceed repeat the command including
       --classic.
This commit is contained in:
Sergei Kaganovsky 2020-02-25 20:57:29 +02:00 committed by GitHub
parent 187ed0fead
commit 7f446dab6e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,7 +20,7 @@ Snap is a system which installs applications in an isolated environment and prov
After configuring Snap on your system, run the following command to install the latest .NET Core SDK.
`sudo snap install dotnet-sdk --channel 3.1/stable classic`
`sudo snap install dotnet-sdk --channel 3.1/stable --classic`
When .NET Core in installed using the Snap package, the default .NET Core command is `dotnet-sdk.dotnet`, as opposed to just `dotnet`. The benefit of the namespaced command is that it will not conflict with a globally installed .NET Core version you may have. This command can be aliased to `dotnet` with:
@ -94,4 +94,4 @@ This will install the ASP.NET Core Module for IIS.
[dotnet-blog]: https://devblogs.microsoft.com/dotnet/
[dotnet-hosting-win.exe]: https://download.visualstudio.microsoft.com/download/pr/dd119832-dc46-4ccf-bc12-69e7bfa61b18/990843c6e0cbd97f9df68c94f6de6bb6/dotnet-hosting-3.1.2-win.exe
[dotnet-hosting-win.exe]: https://download.visualstudio.microsoft.com/download/pr/dd119832-dc46-4ccf-bc12-69e7bfa61b18/990843c6e0cbd97f9df68c94f6de6bb6/dotnet-hosting-3.1.2-win.exe