You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Report dotnet and powershell as unmanaged While Microsoft's Feed Is Unconfigured #2594
host-setup/linux/install-tools.sh --report --json marks dotnet and powershell as unavailable when Microsoft's apt feed is not configured and no package is available. An install may still add that feed and install from it, and only the free-text notes say so. A consumer that reads only the structured fields (status, installed, available) sees nothing to install.
This has the same shape as the first case in #2299, applied to a different upstream. #2299 widens unmanaged only for gh and node, since tool_configured names only those two. The Linux README on feature/wsl-2299 names this gap as a known exception rather than claiming every decision rests on the fields.
Constructed Reproduction
The host is Debian on amd64. The distribution carries no dotnet-sdk-* package, and /etc/apt/sources.list.d/ holds neither microsoft-prod.sources nor microsoft-prod.list. The report row is:
--install runs dotnet_feed, which falls through to microsoft_feed. That registers the feed, and the install then takes the newest SDK. powershell under --optional reads the same way, and powershell_install registers the feed first.
Suggested Shape
Extend tool_configured to report this case as unmanaged, with tests:
powershell: no Microsoft feed.
dotnet: no Microsoft feed, no distribution SDK, and amd64. Other architectures skip the install, so unavailable stays right for them.
Fix dotnet_source at the same time, so the apply log does not name distro as the source of a feed install.
Then narrow the README exception again.
Raised by the pre-push review of feature/wsl-2299 (#2299).
Activity