Skip to content

Installation shell script failure: link in installpsh-debian.sh is wrong #5700

Description

The link to the prod.list file in tools/installpsh-debian.sh is wrong:
https://github.com/PowerShell/PowerShell/blob/master/tools/installpsh-debian.sh#L129

It should not be

curl https://packages.microsoft.com/config/ubuntu/$REV/prod.list | $SUDO tee /etc/apt/sources.list.d/microsoft.list

but

curl https://packages.microsoft.com/config/debian/8/prod.list | $SUDO tee /etc/apt/sources.list.d/microsoft.list

Indeed if you go to https://packages.microsoft.com/config/debian, you can see that there is only one directory (8), so it's not even needed to use the REV variable, which moreover is set to "8.9" on my machine.

Activity

  1. iSazonov commented on Dec 17, 2017

    @iSazonov
    Collaborator

    Timothée Mazzucotelli (@pawamoy) Thanks for your report!

    /cc Travis Plunk (@TravisEz13) Could you please comment the Issue?

  2. TravisEz13 commented on Dec 18, 2017

    @TravisEz13
    Member

    It's usually better to keep the new suggested implementation and the repro separate, but the issue seems accurate.

  3. TravisEz13 commented on Dec 18, 2017

    @TravisEz13
    Member

    Although, it does not agree with our documentation: https://github.com/PowerShell/PowerShell/blob/master/docs/installation/linux.md#installation-via-package-repository---debian-8 I would suggest updating to be consistent with the documentation.

  4. pawamoy commented on Mar 12, 2018

    @pawamoy
    ContributorAuthor

    This has been addressed in #6314.

  5. added a commit that references this issue on Apr 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions