[Bug 2039097] Re: dotnet command suggested as coming from dotnet-host package
Dominik Viererbe
2039097 at bugs.launchpad.net
Tue Apr 2 15:03:30 UTC 2024
** Changed in: dotnet8 (Ubuntu)
Status: New => Confirmed
** Changed in: dotnet7 (Ubuntu)
Status: New => Confirmed
** Changed in: dotnet6 (Ubuntu)
Status: New => Confirmed
** Changed in: dotnet6 (Ubuntu)
Importance: Undecided => Low
** Changed in: dotnet7 (Ubuntu)
Importance: Undecided => Low
** Changed in: dotnet8 (Ubuntu)
Importance: Undecided => Low
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dotnet6 in Ubuntu.
https://bugs.launchpad.net/bugs/2039097
Title:
dotnet command suggested as coming from dotnet-host package
Status in dotnet6 package in Ubuntu:
Confirmed
Status in dotnet7 package in Ubuntu:
Confirmed
Status in dotnet8 package in Ubuntu:
Confirmed
Bug description:
On a box where dotnet is not installed, command-not-found will suggest
`dotnet` as part of dotnet-host(7.0, 8.0), which is a package deep
into the dotnet dependency tree that, if installed individually, does
not yield a useful .NET installation, e.g.
```
$ dotnet
Command 'dotnet' not found, but can be installed with:
sudo snap install dotnet-sdk # version 7.0.402, or
sudo apt install dotnet-host # version 6.0.121-0ubuntu1
sudo apt install dotnet-host-7.0 # version 7.0.110-0ubuntu1
sudo apt install dotnet-host-8.0 # version 8.0.0~rc1-0ubuntu1
See 'snap info dotnet-sdk' for additional versions.
```
Even though that is the package that includes the `dotnet` binary, the
recommendation should be overridden to either the dotnet* virtual
packages, dotnet-sdk-*, or dotnet-runtime-*.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dotnet6/+bug/2039097/+subscriptions
More information about the foundations-bugs
mailing list