Skip to content

Conversation

@anamnavi
Copy link
Member

Update-PSResource currently re-installs dependency packages even if they already satisfy depdendency criteria. For example, when installing Az.Network if dependency package Az.Accounts is already installed, the code would re-install Az.Accounts:

UpdateBugfixPreFix

With this fix, Update-PSResource first collects a list of all installed packages, and then when considering a package's dependency packages it checks against that list of already installed packages.

UpdateBugfixWithFix

PR Summary

PR Context

Fixes #1878

PR Checklist

@anamnavi
Copy link
Member Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

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.

When updating a resource, dependent resources are also updated, even when unnecessary

2 participants