You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make sure you are able to repro it on the latest version
Search the existing issues.
Steps to reproduce
I am trying to create a $PROFILE.AllUsersAllHosts profile. It is not possible to create the profile because $PSHOME points to /snap/powershell/264/opt/powershell, which is read-only and therefore $PROFILE.AllUsersAllHosts points to /snap/powershell/264/opt/powershell/profile.ps1 instead of /opt/microsoft/powershell/7/profile.ps1, which is the location if powershell is installed with apt. For Ubuntu 24.04 the apt version is not yet available, it needs package libicu72 (ubuntu 22.04, jammy) while Ubuntu 24.04 uses libicu74 (noble) and libicu72 is not available anymore.
It seems to me that if the snap gets updated to version 265, the profile would be lost, because then $PSHOME would point to /snap/powershell/264/opt/powershell
Expected behavior
It should be possible to create the profiles $PROFILE.AllUsersAllHosts and $PROFILE.AllUsersCurrentHost
Prerequisites
Steps to reproduce
I am trying to create a $PROFILE.AllUsersAllHosts profile. It is not possible to create the profile because $PSHOME points to /snap/powershell/264/opt/powershell, which is read-only and therefore $PROFILE.AllUsersAllHosts points to /snap/powershell/264/opt/powershell/profile.ps1 instead of /opt/microsoft/powershell/7/profile.ps1, which is the location if powershell is installed with apt. For Ubuntu 24.04 the apt version is not yet available, it needs package libicu72 (ubuntu 22.04, jammy) while Ubuntu 24.04 uses libicu74 (noble) and libicu72 is not available anymore.
It seems to me that if the snap gets updated to version 265, the profile would be lost, because then $PSHOME would point to /snap/powershell/264/opt/powershell
Expected behavior
It should be possible to create the profiles $PROFILE.AllUsersAllHosts and $PROFILE.AllUsersCurrentHost
Actual behavior
Error details
No response
Environment data
Version
264
Visuals
No response
The text was updated successfully, but these errors were encountered: