But if I attempt to install dotnet7 I get this message:
$ sudo apt install dotnet7
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
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-hostfxr-7.0 : Depends: dotnet-host-7.0
E: Unable to correct problems, you have held broken packages.
The error makes me believe that since .NET 7 it's now out of support, we shouldn't offer broken packages in apt, so all packages should be removed.
Bonus: Just out of curiosity, I force-installed those two packages that had unmet dependencies, and now the whole dotnet stopped working unless I uninstall all dotnet7 packages.
I just noticed that in Ubuntu 22.04, dotnet7 is still available among the ubuntu apt packages that can be installed:
But if I attempt to install
dotnet7
I get this message:The error makes me believe that since .NET 7 it's now out of support, we shouldn't offer broken packages in apt, so all packages should be removed.
Bonus: Just out of curiosity, I force-installed those two packages that had unmet dependencies, and now the whole
dotnet
stopped working unless I uninstall all dotnet7 packages.