Package VMNetworkAdapter is missing in PSGallery
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 25/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- powershell
- Ambito
- devops
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- PowerShell
- Stelle
- 289
- Fork
- 83
- Merge medio
- 1m
- PR unite (30g)
- 1
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di PowerShell/PowerShellGallery
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 38/100
PowerShell/PowerShellGallery#357 · 3 commenti · 4 reazioni ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 48/100
PowerShell/PowerShellGallery#355 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 31/100
PowerShell/PowerShellGallery#354 · 1 commento · 3 reazioni ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
PowerShell/PowerShellGallery#353 · 5 reazioni ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
PowerShell/PowerShellGallery#350 · 7 commenti · 8 reazioni ·
Tutte le issue di PowerShell/PowerShellGallery
Issue simili
-
area: build-and-ci S3: minor
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
manaflow-ai/cmux#34232 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
maintenance
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
react-ui-org/react-ui#784 ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug] rollingUpdatePartition panics when live StatefulSet replicas sit far below the desired countAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
sgl-project/rbg#547 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
JdeRobot/RoboticsInfrastructure#843 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
daniel-ospina/tortoise#10779 ·
I maintainer di solito rispondono entro 1 giorno