PoshRSJob cannot be downloaded due to End of Central Directory record could not be found.
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 25/100
- Type d'issue
- Bug
- Clarté
- Plutôt claire
- Activité
- À l'abandon
- Stack technique
- powershell
- Domaine
- devops
Piste de recherche
Start by reproducing the reported Install-Module -Name PoshRSJob -Verbose failure and inspect the PowerShell Gallery package download and hash validation path mentioned in the output. The report gives no repository file or test to start from, so locate the relevant install flow first. Done means PoshRSJob installs successfully and the downloaded package hash matches the server value.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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 have issues to download PoshRSJob with error End of Central Directory record could not be found. The issue started happening Jan 13.
here is the command
Install-Module -Name PoshRSJob -Force -AllowClobber
I ran below command to see the verbose error
Install-Module -Name PoshRSJob -Verbose
here is the mesage
VERBOSE: Downloading 'https://www.powershellgallery.com/api/v2/package/PoshRSJob/1.7.4.4'.
VERBOSE: Completed downloading 'https://www.powershellgallery.com/api/v2/package/PoshRSJob/1.7.4.4'.
VERBOSE: Completed downloading 'PoshRSJob'.
VERBOSE: Hash for package 'PoshRSJob' does not match hash provided from the server.
VERBOSE: InstallPackageLocal' - name='PoshRSJob',
Expected behavior
PoshRSJob should be able to download successfully
Actual behavior
PackageManagement\Install-Package : Package 'PoshRSJob' failed to be installed because: End of Central Directory record could not be found.
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:9711 char:34
+ ... talledPackages = PackageManagement\Install-Package @PSBoundParameters
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidResult: (PoshRSJob:String) [Install-Package], Exception
+ FullyQualifiedErrorId : Package '{0}' failed to be installed because: {1},Microsoft.PowerShell.PackageManagement.Cmdlets.InstallPackage
Error details
Environment data
Name Value
---- -----
PSVersion 5.1.22621.4391
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.22621.4391
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
Version
5.1.22621.4391
Visuals
No response
- Langage dominant
- PowerShell
- Étoiles
- 289
- Forks
- 83
- Merge moyen
- 1 min
- PR mergées (30 j)
- 1
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Aucun modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de PowerShell/PowerShellGallery
-
Difficulté 4/5 3-5 jours Accessibilité débutants 38/100
PowerShell/PowerShellGallery#357 · 3 commentaires · 4 réactions ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 48/100
PowerShell/PowerShellGallery#355 ·
-
Difficulté 4/5 3-5 jours Accessibilité débutants 31/100
PowerShell/PowerShellGallery#354 · 1 commentaire · 3 réactions ·
-
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 35/100
PowerShell/PowerShellGallery#353 · 5 réactions ·
-
Difficulté 4/5 3-5 jours Accessibilité débutants 48/100
PowerShell/PowerShellGallery#350 · 7 commentaires · 8 réactions ·
Toutes les issues de PowerShell/PowerShellGallery
Issues similaires
-
[falco-talon] Setting `podAnnotations` makes the chart fail to renderPeut-être pris @RaphaelFakhri l’a pris aujourd’hui. Ouverteneeds-kind
Difficulté 1/5 Moins d'une heure Accessibilité débutants 88/100
falcosecurity/charts#1084 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 67/100
NousResearch/hermes-agent#148799 ·
Les mainteneurs répondent en général sous 1 jour
-
documentation good first issue
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
sorocharge/sorocharge-php#14 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
DataDog/terraform-provider-datadog#4479 ·
Les mainteneurs répondent en général sous 2 jours
-
apm:ecosystem needs-triage
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
DataDog/dd-trace-go#5815 ·
Les mainteneurs répondent en général sous 2 jours