I was trying to deploy an ASP.NET Core 2.2
application to a DigitalOcean
droplet running Ubuntu 18.04
. I followed the steps provided on the official documentation.
But I am getting the error.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
dotnet-sdk-2.2 : Depends: aspnetcore-runtime-2.2 (>= 2.2.0) but it is not going to be installed
Depends: dotnet-runtime-2.2 (>= 2.2.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Any help? I tried to get help from other forums and SO answer still no luck.