[Bug 2039097] Re: dotnet command suggested as coming from dotnet-host package
Steve Langasek
2039097 at bugs.launchpad.net
Wed Oct 11 19:40:14 UTC 2023
Note that the solution for this is to emit a 'Cnf-Visible-Pkgname' field
in the binary package's control file. E.g.
Package: python3.11-minimal
Cnf-Visible-Pkgname: python3.11
You would then also need to ask the release team to regenerate the
command-not-found database for affected releases (which I believe can be
done post-release but is not habitually done).
--
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