-
Notifications
You must be signed in to change notification settings - Fork 80
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
Update-AWSToolsModule does not make upgrade to the latest version #340
Comments
Hi @PetrMa, Thank you for reporting this issue. I am able to reproduce it at my end, and therefore will discuss this further with the team for next steps. Regards, |
Hello @bhoradc, some news about this bug please? |
@PetrMa Sorry for the delay. I am unable to reproduce the issue on my computer. I reached out to @bhoradc and we tried it together but this time he wasn't able to reproduce on his computer either. here's the result with exact same module names and versions as you.
What is the AWS.Tools.Installer version you are using? Can you please run the Update-AWSToolsModule with -Verbose flag and send the results? Thanks! |
@PetrMa Good morning. Unfortunately, we are unable to reproduce the issue. Could you please check:
Thanks, |
This issue has not received a response in 5 days. If you want to keep this issue open, please just leave a comment below and auto-close will be canceled. |
no, there is no directory Modules in %USERPROFILE%\Documents\WindowsPowerShell\ All modules are installed in C:\Program Files\WindowsPowerShell\Modules |
@PetrMa I have determined that this issue is caused when trying to update deprecated modules for which we are no longer publishing new versions. We will start working on a fix. Until then you can workaround this issue by uninstalling modules that are not being updated daily.
I obtained this list by invoking |
Hello @jnunn-aws , I could confirm that uninstalling of modules mentioned above (except AWS.Tools.Installer - this module doesn´t affect this issue) solve this issue. Please let me know when you fix this issue. Thanks, regards, |
Hello @jnunn-aws , today I tried to update AWS tools on my computer and again I had to manually delete some other deprecated cmdlets. Is there any plan to fix this issue please? In this state it is unusable. thanks, Petr |
We are actively working on this. We are revising the design of the bug fix to minimize tradeoffs. Once there is an update, I will post here. |
Describe the bug
Hello,
Currently I have installed AWSTools in version 4.1.515.0 and I would like to use command Update-AWSToolsModule -CleanUp to make an update to the latest version 4.1.516.0 which is currently available on https://www.powershellgallery.com/packages/AWSPowerShell/4.1.516
But if I run the command Update-AWSToolsModule -CleanUp
I´ve got the answer that update modul will make an update to version 4.1.433.0 instead of the latest available version
Performing the operation "Install-AWSToolsModule" on target "AWS Tools version 4.1.433.0".
and the CleanUp command wants to uninstall all newest versions.
So how Can I use this command to update AWSTools to 4.1.516.0 and removing all older versions please?
Expected Behavior
Make an upgrade of all modules to latest version available on https://www.powershellgallery.com/packages/AWSPowerShell/
Current Behavior
The command make upgrade to old version of AWSTools
Reproduction Steps
Run a command Update-AWSToolsModule -CleanUp
Possible Solution
No response
Additional Information/Context
No response
AWS Tools for PowerShell version used
AWS.Tools 4.1.515
PowerShell version used
Name Value
PSVersion 5.1.20348.2227
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.20348.2227
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
Operating System and version
Windows Server 2022 Datacenter Edition
The text was updated successfully, but these errors were encountered: