Hi @Bashar Muhanna
And when I visit the repo link is show 404 error. https://packages.microsoft.com/repos/microsoft-ubuntu-22.04-prod
The issue occurs when the Microsoft repository is not configured correctly for your Ubuntu release. As you said, when visit the above link, it will show the 404 error. The correct url should be as below:
https://packages.microsoft.com/ubuntu/22.04/prod/
More detail information, see Linux Software Repository for Microsoft Products and Install the .NET SDK or the .NET Runtime on Ubuntu.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Best regards,
Dillion