question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Update-PSResource -Prerelease removes PowerShellGet 3.0

See original GitHub issue

Prerequisites

  • Write a descriptive title.
  • Make sure you are able to repro it on the latest released version
  • Search the existing issues.

Steps to reproduce

After installing PowerShellGet 3.0 Preview 11, run Update-PSResource -Prerelease removes itself.

Expected behavior

PSResources gets updated.

Actual behavior

PowerShellGet module's files gets removed.

Error details

No response

Environment data

ModuleType Version    PreRelease Name                                ExportedCommands
---------- -------    ---------- ----                                ----------------
Binary     3.0.11     beta       PowerShellGet                       {Find-PSResource, Get-InstalledPSResource, Get-PSResourceRepository, Install-PSResource…}

Key   : PSVersion
Value : 7.2.0-preview.8
Name  : PSVersion


Key   : PSEdition
Value : Core
Name  : PSEdition


Key   : GitCommitId
Value : 7.2.0-preview.8
Name  : GitCommitId


Key   : OS
Value : Microsoft Windows 10.0.22000
Name  : OS


Key   : Platform
Value : Win32NT
Name  : Platform


Key   : PSCompatibleVersions
Value : {1.0, 2.0, 3.0, 4.0…}
Name  : PSCompatibleVersions


Key   : PSRemotingProtocolVersion
Value : 2.3
Name  : PSRemotingProtocolVersion


Key   : SerializationVersion
Value : 1.1.0.1
Name  : SerializationVersion


Key   : WSManStackVersion
Value : 3.0
Name  : WSManStackVersion

Visuals

No response

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
KexyBiscuitcommented, Sep 10, 2022

I can still repro this on 3.0.17-beta17. @alerickson

1reaction
alericksoncommented, Jul 14, 2022

I was testing this to work on a bug fix and I believe this got resolved in a previous release. I’m going to close this issue, but if you continue to experience with this with the latest release of PowerShellGet, please feel free to comment here or open up a new issue. Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

PowerShellGet 3.0 Preview 17 - PowerShell Team
The focus for our next preview release is removing the dependency on the nuget APIs. This will allow us to resolve dependency loading...
Read more >
PowerShellGet 3.0 Preview 12 Release - PowerShell Team
We are excited to announce that an update to our preview of PowerShellGet 3.0 is now available on the PowerShell Gallery!
Read more >
PowerShellGet 3.0.17-beta17
PowerShell module with commands for discovering, installing, updating and publishing the PowerShell artifacts like Modules, Scripts, ...
Read more >
CHANGELOG.md - PowerShell/PSResourceGet
Updating prerelease version should update to latest prerelease ... for Install-PSResource and Update-PSResource; Remove prerelease tag from ...
Read more >
Install-Module and Update-Module errors / Unable to ...
The fix for this issue appears to be to update PowerShellGet to the latest version and this is where I am having an...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found