Skip to content

Snap and MSIX install of pwsh on Ubuntu does not support Update-Help #7452

@DonPwrShellHunt

Description

@DonPwrShellHunt

Steps to reproduce

Install powershell-preview on Ubuntu 18.04 using snap i.e.
# snap install powershell-preview --classic

From pwsh-preview console enter the following command>

PS /home/donhunt> Update-Help -Force

Expected behavior

PowerShell Modules that have updatable help should refresh to latest content

Actual behavior

Update-Help : Read-only file system
At line:1 char:1
+ Update-Help -Force
+ ~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : NotSpecified: (:) [Update-Help], IOException
+ FullyQualifiedErrorId : System.IO.IOException,Microsoft.PowerShell.Commands.UpdateHelpCommand

Environment data

PS /home/donhunt> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      6.1.0-preview.4
PSEdition                      Core
GitCommitId                    6.1.0-preview.4
OS                             Linux 4.15.0-29-generic #31-Ubuntu SMP Tue Jul 17 15:39:52 UTC 2018
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

donhunt@ubuntu:~$ snap list powershell-preview
Name                Version          Rev  Tracking  Publisher             Notes
powershell-preview  6.1.0-preview.4  6    stable    microsoft-powershell  classic

donhunt@ubuntu:/etc$ cat os-release 
NAME="Ubuntu"
VERSION="18.04.1 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.1 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic

Metadata

Metadata

Labels

Issue-BugIssue has been identified as a bug in the productResolution-FixedThe issue is fixed.WG-Maintainers-Buildspecific to affecting the build

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions