[Bug 2027620] Re: DOTNET_ROOT is unnecessarily set

C de-Avillez 2027620 at bugs.launchpad.net
Wed Jul 12 19:30:16 UTC 2023


corrected package from dotnet6 to dotnet7.

** Package changed: dotnet6 (Ubuntu) => dotnet7 (Ubuntu)

-- 
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 dotnet7 package in Ubuntu:
  New

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/dotnet7/+bug/2027620/+subscriptions




More information about the foundations-bugs mailing list