DOTNET_ROOT is unnecessarily set
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
dotnet6 (Ubuntu) | Status tracked in Mantic | |||||
Jammy |
Fix Released
|
Undecided
|
Dominik Viererbe | |||
Kinetic |
Won't Fix
|
Undecided
|
Dominik Viererbe | |||
Lunar |
Fix Released
|
Undecided
|
Dominik Viererbe | |||
Mantic |
Fix Released
|
Undecided
|
Dominik Viererbe | |||
dotnet7 (Ubuntu) | Status tracked in Mantic | |||||
Jammy |
Fix Released
|
Undecided
|
Dominik Viererbe | |||
Kinetic |
Won't Fix
|
Undecided
|
Dominik Viererbe | |||
Lunar |
Fix Released
|
Undecided
|
Dominik Viererbe | |||
Mantic |
Fix Released
|
Undecided
|
Dominik Viererbe |
Bug Description
This is what I see on my machine.
```
rich@vancouver:~$ dotnet --version
7.0.109
rich@vancouver:~$ cat /etc/os-release | head -n 1
PRETTY_NAME="Ubuntu 22.04.2 LTS"
rich@vancouver:~$ export | grep DOTNET
declare -x DOTNET_
declare -x DOTNET_
rich@vancouver:~$ dotnet --info | grep ROOT
DOTNET_ROOT [/usr/lib/dotnet]
rich@vancouver:~$ cat /etc/dotnet/
/usr/lib/dotnet
```
I am surprised to see `DOTNET_ROOT` set. The value in `/etc/dotnet/
Please re-consider (not) setting `DOTNET_ROOT`.
Separately, is there a reason why `DOTNET_
corrected package from dotnet6 to dotnet7.