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

Package VMNetworkAdapter is missing in PSGallery #306

Open
3 tasks done
maniaX1 opened this issue Feb 4, 2025 · 0 comments
Open
3 tasks done

Package VMNetworkAdapter is missing in PSGallery #306

maniaX1 opened this issue Feb 4, 2025 · 0 comments

Comments

@maniaX1
Copy link

maniaX1 commented Feb 4, 2025

Prerequisites

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

Steps to reproduce

I am trying to install Validate-DCB which has dependent package VMNetworkAdapter. I always get an error:
PackageManagement\Install-Package : Unable to find dependent module(s) (VMNetworkAdapter)

So I tried to find that package but it is missing:

Find-Package -Name validate-dcb | Save-Module -Path "$env:USERPROFILE\Documents\WindowsPowerShell\Modules" -Force
WARNING: Unable to find dependent module(s) (VMNetworkAdapter)
WARNING: Package 'Validate-DCB' failed to install.
PackageManagement\Save-Package : Unable to save the module 'Validate-DCB'.
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:1598 char:21
$null = PackageManagement\Save-Package @PSBoundParameters
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (Microsoft.Power...ets.SavePackage:SavePackage) [Save-Package], Exception
+ FullyQualifiedErrorId : ProviderFailToDownloadFile,Microsoft.PowerShell.PackageManagement.Cmdlets.SavePackage

Expected behavior

Install-Module Validate-DCB
PS C:\

Actual behavior

Install-Module Validate-DCB
WARNING: Unable to find dependent module(s) (VMNetworkAdapter)
WARNING: Package 'Validate-DCB' failed to install.

Error details

Find-Package -Name validate-dcb | Save-Module -Path "$env:USERPROFILE\Documents\WindowsPowerShell\Modules" -Force
WARNING: Unable to find dependent module(s) (VMNetworkAdapter)
WARNING: Package 'Validate-DCB' failed to install.
PackageManagement\Save-Package : Unable to save the module 'Validate-DCB'.
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:1598 char:21
+             $null = PackageManagement\Save-Package @PSBoundParameters
+                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (Microsoft.Power...ets.SavePackage:SavePackage) [Save-Package], Exception
    + FullyQualifiedErrorId : ProviderFailToDownloadFile,Microsoft.PowerShell.PackageManagement.Cmdlets.SavePackage

Environment data

Name                           Value                                                                                                                                                                                                                             
----                           -----                                                                                                                                                                                                                             
PSVersion                      5.1.20348.2849                                                                                                                                                                                                                    
PSEdition                      Desktop                                                                                                                                                                                                                           
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}                                                                                                                                                                                                           
BuildVersion                   10.0.20348.2849                                                                                                                                                                                                                   
CLRVersion                     4.0.30319.42000                                                                                                                                                                                                                   
WSManStackVersion              3.0                                                                                                                                                                                                                               
PSRemotingProtocolVersion      2.3                                                                                                                                                                                                                               
SerializationVersion           1.1.0.1

Version

5.1.20348.2849

Visuals

No response

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

No branches or pull requests

1 participant