[Bug 2027620] Re: DOTNET_ROOT is unnecessarily set
Launchpad Bug Tracker
2027620 at bugs.launchpad.net
Sat Jul 29 00:08:08 UTC 2023
This bug was fixed in the package dotnet6 - 6.0.120-0ubuntu2
---------------
dotnet6 (6.0.120-0ubuntu2) mantic; urgency=medium
* d/README.source: updated content
* added support documentation
* added end of life process documentation
* general overhaul
* d/dotnet.sh.in: DOTNET_ROOT was unnecessarily set (LP: #2027620)
* d/t/essential-binaries-and-config-files-should-be-present:
remove check if DOTNET_ROOT is set
* d/watch
* updated matching-pattern to only match 6.0.1XX releases
* d/watch file will fail now deliberately. See comment in d/watch
for more information
* unify d/repack-dotnet-tarball.sh into d/build-dotnet-tarball.sh and
updated command line interface
-- Dominik Viererbe <dominik.viererbe at canonical.com> Thu, 27 Jul 2023
14:19:58 +0300
** Changed in: dotnet6 (Ubuntu Mantic)
Status: Confirmed => Fix Released
** Changed in: dotnet7 (Ubuntu Mantic)
Status: Confirmed => Fix Released
--
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/2027620
Title:
DOTNET_ROOT is unnecessarily set
Status in dotnet6 package in Ubuntu:
Fix Released
Status in dotnet7 package in Ubuntu:
Fix Released
Status in dotnet6 source package in Jammy:
Confirmed
Status in dotnet7 source package in Jammy:
Confirmed
Status in dotnet6 source package in Kinetic:
Confirmed
Status in dotnet7 source package in Kinetic:
Confirmed
Status in dotnet6 source package in Lunar:
Confirmed
Status in dotnet7 source package in Lunar:
Confirmed
Status in dotnet6 source package in Mantic:
Fix Released
Status in dotnet7 source package in Mantic:
Fix Released
Bug description:
This is what I see on my machine.
```
rich at vancouver:~$ dotnet --version
7.0.109
rich at vancouver:~$ cat /etc/os-release | head -n 1
PRETTY_NAME="Ubuntu 22.04.2 LTS"
rich at vancouver:~$ export | grep DOTNET
declare -x DOTNET_BUNDLE_EXTRACT_BASE_DIR="/home/rich/.cache/dotnet_bundle_extract"
declare -x DOTNET_ROOT="/usr/lib/dotnet"
rich at vancouver:~$ dotnet --info | grep ROOT
DOTNET_ROOT [/usr/lib/dotnet]
rich at vancouver:~$ cat /etc/dotnet/install_location
/usr/lib/dotnet
```
I am surprised to see `DOTNET_ROOT` set. The value in
`/etc/dotnet/install_location` is set to the same value and should be
doing the same job. The `/etc/dotnet` configuration is intended for
the global install and `DOTNET_ROOT` is intended for developers.
Please re-consider (not) setting `DOTNET_ROOT`.
Separately, is there a reason why `DOTNET_BUNDLE_EXTRACT_BASE_DIR` is
set?
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dotnet6/+bug/2027620/+subscriptions
More information about the foundations-bugs
mailing list