File conflict (license) with dotnet-core
Install dotnet-sdk then try to install dotnet-sdk-8.0.
error: failed to commit transaction (conflicting files)
dotnet-runtime-8.0: /usr/share/licenses/dotnet-runtime exists in filesystem (owned by dotnet-runtime)
dotnet-targeting-pack-8.0: /usr/share/licenses/dotnet-targeting-pack exists in filesystem (owned by dotnet-targeting-pack)
dotnet-sdk-8.0: /usr/share/licenses/dotnet-sdk exists in filesystem (owned by dotnet-sdk)
Errors occurred, no packages were upgraded.
Edited by Joel McBride