Skip to content

PowerShell Core availability on Ubuntu 17.04  #3721

Closed

Description

Just want to know the plan for supporting PowerShellCore in the upcoming Ubuntu Version 17.04.

I tried to installed it but I getting some library errors:
"Package libicu55 is not installed."

Steps to reproduce

  1. Download PowerShell v6.0.0.0-alpha.18-1ubuntu1.16.04.1_amd64.deb
  2. sudo dpkg -i powershell v6.0.0.0-alpha.18-1ubuntu1.16.04.1_amd64.deb

Expected behavior

Installation to complete without errors

Actual behavior

"Package libicu55 is not installed."

Environment data

Ubuntu 17.04

> $PSVersionTable

Activity

  1. iSazonov commented on May 7, 2017

    @iSazonov
    Collaborator

    A simple rule is - first CoreFX/CoreCLR should add support a platform.

  2. added
    WG-Maintainers-Build
    Issue-Question
    on May 7, 2017
  3. pcgeek86 commented on May 7, 2017

    @pcgeek86

    Ilya (@iSazonov) perhaps add the Resolution - External label?

  4. iSazonov commented on May 7, 2017

    @iSazonov
    Collaborator

    Trevor Sullivan (@pcgeek86) The Issue is "Waiting external" 😄

  5. MaximBar commented on Jun 2, 2017

    @MaximBar

    Hi,
    I've chatted with the corefs guys and they said that the latest portable dotnet core 2.0 works fine on Ubuntu 17.04:
    https://github.com/dotnet/corefx/issues/20562#issuecomment-305555951
    and the PS run (not install) file AppImage PowerShell-6.0.0-beta.1-x86_64.AppImage also works with Ubuntu 17.04

    but not the other install .deb files.
    So it's now should be possible to port PS to Ubuntu 17,04.

  6. iSazonov commented on Jun 2, 2017

    @iSazonov
    Collaborator

    Joey Aiello (@joeyaiello) Travis Plunk (@TravisEz13) Steve Lee (@SteveL-MSFT) CoreFX team support Ubuntu 17,04. What is a PowerShell team plan?

    Update: I see CoreFX team change their support policy. For .Net Core 1.0.1 they support specific versions. For .Net Core 2.0 they indicate the minimum OS version.

  7. added
    Blocked
    and removed
    Blocked
    on Jun 2, 2017
  8. modified the milestones: , on Jun 2, 2017
  9. joeyaiello commented on Jun 2, 2017

    @joeyaiello
    Contributor

    Not sure what the problem is here, but we should get this working.

    Also, I should read the entirety of an issue before I start adding labels. ;)

  10. MaximoTrinidad commented on Jun 4, 2017

    @MaximoTrinidad
    Author

    So, what's the steps to install PowerShell in Ubuntu 17.04?

    As of now, with PowerShell Beta.2, I'm getting the following message with .Net Core 2.0 Preview installed:

    The following packages have unmet dependencies:
    powershell : Depends: libicu55 but it is not installable
    E: Unable to correct problems, you have held broken packages.

    :)

  11. changed the title [-]PowerShell v6-Alpha availability on Ubuntu 17.04 [/-] [+]PowerShell Core availability on Ubuntu 17.04 [/+] on Jun 4, 2017
  12. 7 remaining items

  13. borgdylan commented on Jun 6, 2017

    @borgdylan

    One of more problematic libraries is ICU which gets updated each year. There are ways to have an older version installed side by side.

  14. janvorli commented on Jun 6, 2017

    @janvorli
    Contributor

    chuanjiao10 we are already compatible with debian 9.

  15. janvorli commented on Jun 6, 2017

    @janvorli
    Contributor

    Dylan Borg (@borgdylan) CoreCLR is now resilient to ICU version, it should work with any future version up to version number 70, provided there is no breaking change in the interface. But the ICU doc says that stable APIs should stay in the future versions and we are using stable APIs only.

  16. TravisEz13 commented on Jun 6, 2017

    @TravisEz13
    Member

    Ilya (@iSazonov) We will try to come up with a plan and get back to you on how to track the work. I changed this issue to an enhancement for now.

  17. TravisEz13 commented on Jun 7, 2017

    @TravisEz13
    Member

    Ilya (@iSazonov) I have filed an issue. Thanks.

  18. added
    Issue-Question
    and removed
    Issue-Enhancement
    on Jun 7, 2017
  19. added
    Resolution-Answered
    on Jun 8, 2017
  20. iSazonov commented on Jun 8, 2017

    @iSazonov
    Collaborator

    Maximo Trinidad (@MaximoTrinidad) See #3961 with PowerShell team plan.

  21. borgdylan commented on Jun 22, 2017

    @borgdylan

    The bug is because an incorrect integer is being passed in: https://github.com/dotnet/corefx/blob/master/src/Native/Unix/System.Native/pal_io.cpp#L844 . The allowed strings are only three based on specific constants. In this case we are hitting the assert in that code.

  22. SteveL-MSFT commented on Jun 23, 2017

    @SteveL-MSFT
    Member

    Dylan Borg (@borgdylan) is there an issue opened for corefx?

  23. borgdylan commented on Jun 23, 2017

    @borgdylan

    I have opened an issue against corefx.

  24. iSazonov commented on Jun 23, 2017

    @iSazonov
    Collaborator

    Dylan Borg (@borgdylan) Please add cross link here to the Issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-QuestionResolution-AnsweredWG-Maintainers-Build

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions