Package VMNetworkAdapter is missing in PSGallery

Offen
#306 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
25/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
powershell
Bereich
devops

Rechercherichtung

The issue reports that VMNetworkAdapter is missing from PSGallery and blocks installation of Validate-DCB; it names no repository files or tests. Start by locating how packages and their dependencies are published and indexed in the PowerShellGallery repository, then reproduce the reported install with the listed PowerShell version. Done means the dependency can be found and Validate-DCB installs successfully.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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

Vorherrschende Sprache
PowerShell
Sterne
289
Forks
83
Ø Merge
1 Min.
Gemergte PRs (30 T.)
1

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus PowerShell/PowerShellGallery

Alle Issues in PowerShell/PowerShellGallery

Ähnliche Issues

Weitere Issues zu DevOps

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.