원클릭으로
update-distro-packages
// Update per-distro package files in release-notes/<version>/distros/ documenting dependencies and .NET package availability for each Linux distribution.
// Update per-distro package files in release-notes/<version>/distros/ documenting dependencies and .NET package availability for each Linux distribution.
Answer .NET release lifecycle, timeline, patch, and CVE questions by driving the public `dotnet-release` CLI over the release-index graph.
Audit and update os-packages.json files in dotnet/core to ensure Linux distribution package names are correct. Verifies package names against upstream package repositories and fixes mismatches.
Audit and update supported-os.json files in dotnet/core to reflect current OS version support. Uses release-notes verify for automated checking against upstream lifecycle data.
| name | update-distro-packages |
| description | Update per-distro package files in release-notes/<version>/distros/ documenting dependencies and .NET package availability for each Linux distribution. |
Maintain per-distro package files under release-notes/<version>/distros/ in the dotnet/core repo. These files document what packages each Linux distribution needs to run .NET and which .NET packages are available in each distro's archive.
release-notes/11.0/distros/
index.json # plain index listing all distro files
dependencies.json # hand-maintained, distro-agnostic package list
ubuntu.json # per-distro: dependencies + dotnet packages
debian.json
alpine.json
...
The release-notes tool must be installed globally. It provides the pkgs.org query client:
release-notes query distro-packages --dotnet-version 11.0
Requires PKGS_ORG_TOKEN environment variable (pkgs.org Gold+ subscription).
The user provides:
~/git/core)When setting up distros/ for a new version (e.g. 12.0):
distros/dependencies.jsondependencies.json for the new version, updating as neededdistros/index.json to list all fileslibicu74 for libicu) carry forward unchangedWhen a new distro release ships (e.g. Ubuntu 28.04):
ubuntu.json)dependencies.json (libc, openssl, libicu, etc.)release-notes query distro-packages --dotnet-version <ver> to get current package data from pkgs.orgdotnet_packages (built-in feed) and dotnet_packages_other (alternative feeds)dotnet_versions array to reflect all available versionsindex.json lists all distro files{
"channel_version": "11.0",
"packages": [
{
"id": "openssl",
"name": "OpenSSL",
"required_scenarios": ["cryptography", "https"],
"min_version": "1.1.1",
"references": ["https://www.openssl.org/"]
}
]
}
{
"name": "Ubuntu",
"dotnet_versions": ["10.0", "9.0"],
"install_command": "apt-get install -y {packages}",
"releases": [
{
"name": "Ubuntu 24.04 (Noble Numbat)",
"release": "24.04",
"dependencies": [
{ "id": "libc", "name": "libc6" },
{ "id": "openssl", "name": "libssl3t64" }
],
"dotnet_packages": {
"9.0": [
{ "component": "runtime", "name": "dotnet-runtime-9.0" },
{ "component": "sdk", "name": "dotnet-sdk-9.0" }
]
},
"dotnet_packages_other": {
"microsoft": {
"install_command": "...",
"packages": {
"10.0": [
{ "component": "sdk", "name": "dotnet-sdk-10.0" }
]
}
}
}
}
]
}
{
"channel_version": "11.0",
"distros": ["alpine.json", "debian.json", "ubuntu.json"]
}
azure_linux.json, centos_stream.json, opensuse_leap.json)dependencies.json is hand-maintained, not generated. It rarely changes between .NET versions.dotnet{major}-{component} (e.g. dotnet9-sdk)community repo, not maindotnet/docs repo has authoritative availability tables in docs/core/install/linux-*.md