[Bug 2039097] [NEW] dotnet command suggested as coming from dotnet-host package
Mateus Rodrigues de Morais
2039097 at bugs.launchpad.net
Wed Oct 11 18:41:40 UTC 2023
Public bug reported:
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-*.
** Affects: dotnet6 (Ubuntu)
Importance: Undecided
Status: New
** Affects: dotnet7 (Ubuntu)
Importance: Undecided
Status: New
** Affects: dotnet8 (Ubuntu)
Importance: Undecided
Status: New
** Also affects: dotnet7 (Ubuntu)
Importance: Undecided
Status: New
** Also affects: dotnet8 (Ubuntu)
Importance: Undecided
Status: New
--
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:
New
Status in dotnet7 package in Ubuntu:
New
Status in dotnet8 package in Ubuntu:
New
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