Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 6046

Installing .NET Core 2.1 SDK in parallel to .NET 8

$
0
0

I am following below commands to install .NET Core 2.1 SDK

Enable Microsoft PPA

wget https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb sudo dpkg -i packages-microsoft-prod.deb

Installing .NET Core 2.1 SDK

sudo apt update sudo apt install apt-transport-https sudo apt install dotnet-sdk-2.1 

I already have .NET 8 installed in wsl ubuntu 20.04,

I get following error when I execute the command:

sudo apt install dotnet-sdk-2.1

error installing dotnetcore

root@LP003060:/mnt/c/nitin/JavaCallCSharp_new# sudo apt install dotnet-sdk-2.1Reading package lists... DoneBuilding dependency tree... DoneReading state information... DoneSome packages could not be installed. This may mean that you haverequested an impossible situation or if you are using the unstabledistribution that some required packages have not yet been createdor been moved out of Incoming.The following information may help to resolve the situation:The following packages have unmet dependencies: dotnet-host-8.0 : Conflicts: dotnet-host dotnet-runtime-deps-2.1 : Depends: libssl1.0.0 but it is not installable or                                    libssl1.0.2 but it is not installable or                                    libssl1.1 but it is not installable                           Depends: liblttng-ust0 but it is not installableE: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

Viewing all articles
Browse latest Browse all 6046

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>