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.

Failed to update Help for the module(s) 'PSDesiredStateConfiguration' and 'ThreadJob'

See original GitHub issue

Steps to reproduce

(With Pwsh launched as elevated)

update-help 

Or

update-help -Module PSDesiredStateConfiguration -Verbose

Expected behavior

Update-help either updates or continues on

Actual behavior

update-help : Failed to update Help for the module(s) 'PSDesiredStateConfiguration' with UI culture(s) {en-US} : One or more errors occurred. (Response status code does not indicate success: 404 (Not Found).)                                                                                                    At line:1 char:1                                                                                                                                          + update-help -Module PSDesiredStateConfiguration -Verbose                                                                                                + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : InvalidOperation: (:) [Update-Help], Exception
+ FullyQualifiedErrorId : UnknownErrorId,Microsoft.PowerShell.Commands.UpdateHelpCommand

Environment data

Name                           Value
----                           -----
PSVersion                      7.0.0-preview.4
PSEdition                      Core
GitCommitId                    7.0.0-preview.4
OS                             Darwin 18.7.0 Darwin Kernel Version 18.7.0: Tue Aug 20 16:57:14 PDT 2019; root:xnu-4903.271.2~2/RELEASE_X86_64
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Current module info:

    Directory: /usr/local/microsoft/powershell/7-preview/Modules

ModuleType Version    PreRelease Name                                PSEdition ExportedCommands
---------- -------    ---------- ----                                --------- ----------------

Script     2.0.3                 PSDesiredStateConfiguration         Core      {Configuration, New-DscChecksum, Get-DscResource, Invoke-DscResource}

As it’s a 404, I assume the help just doesn’t exist (or manifest has a bad URL or something), but I’m not familiar enough w/ the source to track that down yet.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:3
  • Comments:10 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
BreD1810commented, Jul 7, 2020

Also seeing the same for 7.0.2 on Ubuntu

PS /> update-help       
Update-Help: Failed to update Help for the module(s) 'PSDesiredStateConfiguration, ThreadJob' with UI culture(s) {en-GB} : One or more errors occurred. (Response status code does not indicate success: 404 (The specified blob does not exist.).).                                                                                                                                                                                        English-US help content is available and can be installed using: Update-Help -UICulture en-US.
PS /> $PSVersionTable                                                                                                                                                                                                                                                                                                                                                                                                           
Name                           Value
----                           -----
PSVersion                      7.0.2
PSEdition                      Core
GitCommitId                    7.0.2
OS                             Linux 5.4.0-40-generic #44-Ubuntu SMP Tue Jun 23 00:01:04 UTC 2020
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

3reactions
bugrasancommented, Jun 27, 2020

still the same on 7.0.2

PS /> Update-Help -UICulture en-US
Update-Help: Failed to update Help for the module(s) 'PSDesiredStateConfiguration, ThreadJob' with UI culture(s) {en-US} : One or more errors occurred. (Response status code does not indicate success: 404 (The specified blob does not exist.).).                      English-US help content is available and can be installed using: Update-Help -UICulture en-US. 
PS /> $PSVersionTable                                                                                                                                                                                                                                                     
Name                           Value
----                           -----
PSVersion                      7.0.2
PSEdition                      Core
GitCommitId                    7.0.2
OS                             Linux 5.6.16-1-MANJARO #1 SMP PREEMPT Wed Jun 3 14:26:28 UTC 2020
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0
Read more comments on GitHub >

github_iconTop Results From Across the Web

Not able to update-help in PowerShell - Microsoft Q&A
PS C:\> Update-Help -SourcePath 'C:\Powershell Updates' Update-Help : Failed to update Help for the module(s) 'ConfigDefender, PSReadline, ...
Read more >
Update-Help fails on Ubuntu 20.04 in PowerShell Core 7.1.3
When I try execute Update-Help it fails with: Update-Help: Failed to update Help for the module(s) 'Microsoft.PowerShell.Archive, Microsoft.
Read more >
Powershell fails with Update
The command could not update Help topics for the Windows PowerShell core modules, or for any modules in the $pshome\Modules directory.
Read more >
Powershell: "Failed to update help"
Running PowerShell as administrator, Update-Help fails with a long list of modules. So I'm guessing the help server cannot be reached.
Read more >
NuGet failed to install - SAPIEN Forums
When I open the Module Manager it asks if I want to download nuget. I click yes and then I get an error...
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