Skip to content

Missing packages URL results in not found for Linux Mint users #52313

@almostengr

Description

@almostengr

Type of issue

Code doesn't work

Description

Users, like myself, that are using Linux Mint, the $ID and $VERSION variables that are sourced from /etc/os-release do not match to directories that exist on the server. Thus the command below

wget https://packages.microsoft.com/config/$ID/$VERSION_ID/prod.list

results in the the output below

almostengr@peppermint:/etc$ echo $ID 
linuxmint
almostengr@peppermint:/etc$ echo $VERSION_ID 
22.3
almostengr@peppermint:/etc$ wget https://packages.microsoft.com/config/$ID/$VERSION_ID/prod.list
--2026-03-15 20:39:37--  https://packages.microsoft.com/config/linuxmint/22.3/prod.list
Resolving packages.microsoft.com (packages.microsoft.com)... 13.107.246.40, 13.107.213.40, 2620:1ec:46::40, ...
Connecting to packages.microsoft.com (packages.microsoft.com)|13.107.246.40|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2026-03-15 20:39:38 ERROR 404: Not Found.

Since I am using Linux Mint, I was able to determine that it Mint is based on Ubuntu 22.04. Thus I had to manually change the URL to have "Ubuntu" as the $ID and "24.04" as the $VERSION in order to download the prod.list file to my system.

Please include this in the documentation so that other users are aware of this issue. Alternatively, have the server directory to include folders for Linux Mint users.

Page URL

https://learn.microsoft.com/en-us/dotnet/core/install/linux-debian?tabs=dotnet10

Content source URL

https://github.com/dotnet/docs/blob/main/docs/core/install/linux-debian.md

Document Version Independent Id

ab01f0aa-d1c0-df64-b0f9-ee211d45001f

Platform Id

7911b371-6811-fadf-581a-7d475d8ba43c

Article author

@adegeo

Metadata

  • ID: 7c3310a1-6a2e-ca98-9618-8f3d729eafdd
  • PlatformId: 7911b371-6811-fadf-581a-7d475d8ba43c
  • Service: dotnet-fundamentals
  • Sub-service: install

Related Issues

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions