Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Powershell not found #5225

Closed
dustinmoris opened this issue Oct 25, 2017 · 7 comments
Closed

Powershell not found #5225

dustinmoris opened this issue Oct 25, 2017 · 7 comments
Labels
Area-Maintainers-Build specific to affecting the build Resolution-Answered The question is answered.

Comments

@dustinmoris
Copy link

The latest Powershell build doesn't seem to be able to execute a Powershell script any longer.

I have two identical builds where one has successfully finished with an older version of Powershell (6.0.0-beta.8-1.ubuntu.14.04) and the other fails with the latest version (6.0.0-beta.9-1.ubuntu.14.04):

Successful build
Failed build

Please find all relevant details from the full build logs above.

Do I need to change anything? It seems like basic functionality is broken now.

@SteveL-MSFT
Copy link
Member

I believe the problem is that we're in the middle of the beta.9 release with some packages published (which renamed the exe to pwsh), but the full release isn't done yet. This should be resolved by tomorrow once the beta.9 release is complete.

@SteveL-MSFT SteveL-MSFT added the Area-Maintainers-Build specific to affecting the build label Oct 25, 2017
@mmattes
Copy link

mmattes commented Oct 25, 2017

@daxian-dbw
Copy link
Member

@dustinmoris The PowerShell Core executable was renamed to be pwsh starting from beta.9 release, and that's why the Travis CI failed with the new package. Please see the issue #4214 for the discussion details.

@SteveL-MSFT SteveL-MSFT added the Resolution-Answered The question is answered. label Oct 26, 2017
@SteveL-MSFT
Copy link
Member

This should be working now since we've completed the beta.9 release

@sandersaares
Copy link

I confirm that I can reproduce the issue - using the "powershell" command does not work, which broke quite a lot of our automation.

@SteveL-MSFT
Copy link
Member

@sandersaares just to be clear, this issue is specifically about a race condition with our Travis-CI script and publishing of beta.9. Dependency on powershell exe name should be discussed under #4214 although I would suggest creating a symlink to pwsh if you have tooling that expects powershell

@jgreat
Copy link

jgreat commented Oct 27, 2017

Please update the .deb package to include a link from /opt/microsoft/powershell/6.0.0-beta.9/pwsh to /usr/bin/powershell. This is breaking VS Code and compatibility between Linux and Windows scripting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Maintainers-Build specific to affecting the build Resolution-Answered The question is answered.
Projects
None yet
Development

No branches or pull requests

6 participants