Skip to content
This repository was archived by the owner on Jun 13, 2024. It is now read-only.

Conversation

@bmanikm
Copy link
Contributor

@bmanikm bmanikm commented Aug 16, 2018

  • Resolved Install/Save-Module error in PSCore 6.1.0-preview.4 on WSL-Ubuntu 18.04 OS
    • Removed the usage of ExcludeVersion dynamic option so that NuGet provider always downloads the packages into version appended package folder.
    • This unblocks the customers to use the Install-module and Save-Module cmdlets on Ubuntu 18.04 OS (WSL and Azure) with PSCore 6.1.0 release.
    • For additional details: ExcludeVersion switch is not working on CentOS and Ubuntu OneGet/oneget#320
    • Validated the fix in PSCore 6.1.0-preview.4 on Ubuntu 18.04 OS (WSL).
  • Updated error message in Save-Module cmdlet when the specified path is not accessible.
  • Added few additional verbose messages

Resolves #302 and #309

… PSCore 6.1.0-preview.4

  - Removed the usage of ExcludeVersion dynamic option so that NuGet provider always downloads the packages into version appended package folder.
  - This unblocks the customers to use the Install-module and Save-Module cmdlets on Ubuntu 18.04 OS (WSL and Azure) with PSCore 6.1.0 release.
- Updated error message in Save-Module cmdlet when the specified path is not accessible.
- Added few additional verbose messages
Resolves PowerShell#302 and PowerShell#309

For additional details: OneGet/oneget#320
@bmanikm bmanikm requested review from a user, alerickson, edyoung, farehar and jianyunt August 16, 2018 23:30
@bmanikm bmanikm merged commit 24645e2 into PowerShell:development Aug 17, 2018
@bmanikm bmanikm deleted the FixInstallModuleErrorOnWSLUbuntu18.04 branch August 17, 2018 20:38
@mattpodwysocki
Copy link

@bmanikm is there a way we can update to this latest change or do we have to wait until the next shipment of PowerShellGet?

@edyoung
Copy link
Contributor

edyoung commented Aug 19, 2018

It will be included in next releases of powershellget and powershell core. If you want it before then you'll have to build it from source

@mattpodwysocki
Copy link

@edyoung yep, done and it works like a champ for installing modules, thanks!

@bmanikm
Copy link
Contributor Author

bmanikm commented Aug 20, 2018

The latest version of PowerShellGet includes this change.

@bmanikm
Copy link
Contributor Author

bmanikm commented Aug 23, 2018

FYI, v6.1.0-rc.1 release includes this fix!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Install-Module is broken in preview 3 on Ubuntu 18.04 on WSL

4 participants