Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install powershell/azure-cli from AzLinux native package feed #1337

Merged
merged 1 commit into from
Feb 3, 2025

Conversation

mthalman
Copy link
Member

@mthalman mthalman commented Feb 3, 2025

Fixes #1269

The reason I'm fixing this now is because there's an issue with PMC when targeting https://packages.microsoft.com/config/rhel/8/packages-microsoft-prod.rpm:

 > [3/4] RUN curl -sSL -O https://packages.microsoft.com/config/rhel/8/packages-microsoft-prod.rpm &&     rpm -i packages-microsoft-prod.rpm &&     rm -f packages-microsoft-prod.rpm &&     tdnf update -y &&     tdnf install -y --setopt tsflags=nodocs          powershell &&     rm /etc/yum.repos.d/microsoft-prod.repo &&     tdnf clean all:
0.297 warning: packages-microsoft-prod.rpm: Header V4 RSA/SHA256 Signature, key ID be1229cf: NOKEY
1.844 Loaded plugin: tdnfrepogpgcheck
1.892 Refreshing metadata for: 'Microsoft Production'
2.026 repo md signature check: No public key
2.026 Error: TDNFVerifySignature 2004
2.026 Plugin error: repogpgcheck plugin error: failed to verify signature
2.026 
2.026 Error(2004) : Unknown error 404
2.027 Error: Failed to synchronize cache for repo 'Microsoft Production'
2.027 Error(2004) : Unknown error 404

This avoids that by getting the packages directly from the native feed.

@mthalman mthalman requested review from a team as code owners February 3, 2025 14:22
Copy link
Member

@MichaelSimons MichaelSimons left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@mthalman mthalman enabled auto-merge (squash) February 3, 2025 15:36
@mthalman mthalman merged commit dfa8a34 into dotnet:main Feb 3, 2025
14 checks passed
@mthalman mthalman deleted the issue1269 branch February 3, 2025 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Install PowerShell from Azure Linux repo
3 participants