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
Reacted by Jared Kauppila, Timo Sugliani, dneel-kr, jirinyms, Jesse Gardner, neonknight, David Hidalgo, Matt Bentley, Simon Fischer, Eli Array Minkoff and 7 more
As a linux user I recommend to install from tarball (not dpkg, not snap (!!!) or another package manager). Unpack pwsh distribution to /opt/pwsh Make simlink of pwsh to the path. Set additional permission for Test-Connection cmdlet:
sudo setcap cap_net_raw=eip /opt/pwsh/pwsh # the real path to executable pwsh
Very interested for this, as we are upgrading to Debian 12 (Bookworm)
Seems to be missing in the microsoft bookworm repo, available on debian 10/11
[ ] Update packages.microsoft.com deployment
❯ cat /etc/apt/sources.list.d/microsoft.list
deb [arch=amd64 signed-by=/usr/share/keyrings/microsoft.gpg] https://packages.microsoft.com/repos/microsoft-debian-bookworm-prod bookworm main
Reacted by Samuel, Erich Chen, David Hidalgo and John Wostenberg
I am biting nails to get PowerShell on Debian 12. This is affecting my work since I am already on Debian 12 and VSC does not recognize PowerShell anymore. I currently use PowerShell from the legacy sources.
Dear Eli Array Minkoff (@eliminmax) I dont think there will be an issue to download manually the powershell and install it on my machine.
But some of our customers using our application which has powershell as a dependency unable to install it on debian 12 because powershell is not published for debian 12.
There are heavily restricted environments where installing packages outside of the official repositories are prohibited.
So it is important and required to be published!
Reacted by David Hidalgo, John Wostenberg and Hellbartonio
rhubarb-geek-nz for anyone who had ever worked in an enterprise environment it is obvious why this would not be very manageable. MS start to provide those for a reason, and for the same reason we ask them to continue to do so.
Reacted by Jesse Gardner, David Hidalgo, Jonas Feller, John Wostenberg, Hellbartonio and adamleeswitchrcm
rhubarb-geek-nz for anyone who had ever worked in an enterprise environment it is obvious why this would not be very manageable. MS start to provide those for a reason, and for the same reason we ask them to continue to do so.
Absolutely true but it is not a show stopper. The published debian file does work and it is not a rebuild required, just an addition to the packages.microsoft.com. If you are in an enterprise environment you may be hosting your own APT repositories or using downloads directly with curl when creating docker images.
If you check the recent debian packages on packages.microsoft.com they are the same file
#!/bin/sh -e
for o in debian ubuntu
do
for v in 10 11 12 18.04 18.10 19.04 19.20 20.04 20.10 21.04 21.10 22.04 22.10 23.04 23.10
do
if curl https://packages.microsoft.com/$o/$v/prod/pool/main/p/powershell/powershell_7.4.0-1.deb_amd64.deb --output powershell_7.4.0-1.$o.$v.deb_amd64.deb --location --fail --silent
then
sha256sum powershell_7.4.0-1.$o.$v.deb_amd64.deb
fi
done
done
The packages.microsoft.com repository for Ubuntu 22.04 amd64 is problematic because the dotnet-sdk-6.0 conflict with those distributed by ubuntu themselves. They have different version suffixes and install in different directories.
$ dpkg -l | grep "dotnet
> aspnet"
ii aspnetcore-runtime-6.0 6.0.125-0ubuntu1~22.04.1 amd64 ASP dotNET Core runtime
ii aspnetcore-runtime-7.0 7.0.114-0ubuntu1~22.04.1 amd64 ASP dotNET Core runtime
ii aspnetcore-targeting-pack-6.0 6.0.125-0ubuntu1~22.04.1 amd64 Internal - targeting pack for Microsoft.AspNetCore.App 6.0
ii aspnetcore-targeting-pack-7.0 7.0.114-0ubuntu1~22.04.1 amd64 Internal - targeting pack for Microsoft.AspNetCore.App 7.0
ii dotnet-apphost-pack-6.0 6.0.125-0ubuntu1~22.04.1 amd64 Internal - targeting pack for Microsoft.NETCore.App 6.0
ii dotnet-apphost-pack-7.0 7.0.114-0ubuntu1~22.04.1 amd64 Internal - targeting pack for Microsoft.NETCore.App 7.0
rc dotnet-host 6.0.125-0ubuntu1~22.04.1 amd64 dotNET host command line
ii dotnet-host-7.0 7.0.114-0ubuntu1~22.04.1 amd64 dotNET host command line
ii dotnet-hostfxr-6.0 6.0.125-0ubuntu1~22.04.1 amd64 dotNET host resolver
ii dotnet-hostfxr-7.0 7.0.114-0ubuntu1~22.04.1 amd64 dotNET host resolver
ii dotnet-runtime-6.0 6.0.125-0ubuntu1~22.04.1 amd64 dotNET runtime
ii dotnet-runtime-7.0 7.0.114-0ubuntu1~22.04.1 amd64 dotNET runtime
ii dotnet-sdk-6.0 6.0.125-0ubuntu1~22.04.1 amd64 dotNET 6.0 Software Development Kit
ii dotnet-sdk-7.0 7.0.114-0ubuntu1~22.04.1 amd64 dotNET 7.0 Software Development Kit
ii dotnet-targeting-pack-6.0 6.0.125-0ubuntu1~22.04.1 amd64 Internal - targeting pack for Microsoft.NETCore.App 6.0
ii dotnet-targeting-pack-7.0 7.0.114-0ubuntu1~22.04.1 amd64 Internal - targeting pack for Microsoft.NETCore.App 7.0
ii dotnet-templates-6.0 6.0.125-0ubuntu1~22.04.1 amd64 dotNET 6.0 templates
ii dotnet-templates-7.0 7.0.114-0ubuntu1~22.04.1 amd64 dotNET 7.0 templates
$ ls -ld /usr/bin/dotnet
lrwxrwxrwx 1 root root 20 Nov 13 14:08 /usr/bin/dotnet -> ../lib/dotnet/dotnet
I have asked for a couple of years for armhf and aarch64 debian files but them not existing does not prevent me creating my own APT repository with repackaged files for armhf/aarch64.
March 16 - "in the next couple of months"
June 5 - "this is priority 1 on our backlog"
August 24 - "planning to begin to release new distros at the beginning of September"
September 18 - "this distribution has published" - it was not and the issue was closed
Sepetmber 24 - "hopefully this week" - the issue remains closed
October 2 - the issue is reopened
Two weeks after the last communication there is still nothing. My prediction: they will soon realise that it's not feasible making any commitments and then looking like this, so they will keep silent in the future. It's much easier to ignore, does not make any worse of an impression than it has already and good for one's health.
The current pace means Microsoft will be releasing powershell for versions of Debian less than 6 months from the next major version of Debian (13, early 2025)
I wish I could excercise optimism with such abandon!
Hey Folks -- thanks for the feedback. We are finishing some internal pipeline work and will post the deb files to Packages - PMC - shortly. (hopefully this week)
Hey, would it be possible to provide any visibility over the work? If there are blockers, it would be useful to know exactly what and see their resolution's progress. Currently for us outsiders it looks very much like nothing's happening.
Reacted by David E. Hidalgo V., Hellbartonio and PCF
That would likely increase the difficulty of maintenance for them and not really add any value; plus Debian has different support lifecycles than what I would guess that Microsoft likely would want to follow. When you have software that updates pretty frequently and may evolve quickly, having their own package repo would allow them to more easily get packages for new versions available in a wider number of distros and not have to go through backports.
That would likely increase the difficulty of maintenance for them and not really add any value; plus Debian has different support lifecycles than what I would guess that Microsoft likely would want to follow. When you have software that updates pretty frequently and may evolve quickly, having their own package repo would allow them to more easily get packages for new versions available in a wider number of distros and not have to go through backports.
I meant the community (us) would maintain it, not Microsoft; we saw in fact that Microsoft is not able neither to keep the very slow Debian lifecycle... I really appreciate their effort to embrace (and somehow "buy" actually) the open-source culture, but this doesn't necessarily mean to control every aspect of it: Debian has his own ecosystem, and I don't really see the value of having a separate Microsoft repository for maintaining various package systems...
I am happy that Ubuntu repackages the dotnet-sdk and provides regular updates. I have asked Canonical to Add PowerShell to APT repository
Given Debian is a base for so many distributions and its pace, I don't think it is appropriate for either dotnet-sdk or PowerShell. The packages.microsoft.com generally does a good job providing up to date packages for Debian.
I am happy that Ubuntu repackages the dotnet-sdk and provides regular updates. I have asked Canonical to Add PowerShell to APT repository
Given Debian is a base for so many distributions and its pace, I don't think it is appropriate for either dotnet-sdk or PowerShell. The packages.microsoft.com generally does a good job providing up to date packages for Debian.
I don't get the point: are you happy with Ubuntu packages or Microsoft repository (or both)?
I don't get the point: are you happy with Ubuntu packages or Microsoft repository?
I am happy with packages.microsoft.com for Debian. But for Ubuntu, given it has already diverged by hosting dotnet-sdk and this project is very reluctant to produce a working Ubuntu package for 24.04, I suggest Ubuntu would be better for Ubuntu.
Activity
Chouffy commentedon Jul 4, 2023
Note on possible workaround: It's possible to install Powershell on Debian 12 via Snap, but it's not ideal :)
237dmitry commentedon Jul 4, 2023
As a linux user I recommend to install from tarball (not dpkg, not snap (!!!) or another package manager). Unpack pwsh distribution to
/opt/pwshMake simlink of pwsh to the path. Set additional permission for Test-Connection cmdlet:You can change installation path as you want.
kasini3000 commentedon Jul 4, 2023
mark. i will update my script when here down.
https://gitee.com/chuanjiao10/kasini3000_agent_linux#debian12-kernel61-release-day-2023-06-17-
[-]Distribution Support Request[/-][+]Distribution Support Request - Debian 12[/+]tsugliani commentedon Sep 1, 2023
Very interested for this, as we are upgrading to Debian 12 (Bookworm)
Seems to be missing in the microsoft bookworm repo, available on debian 10/11
[ ] Update
packages.microsoft.comdeploymentErich-Chen commentedon Sep 21, 2023
It works by following Microsoft installation guide for bullseye, then manually editing file
/etc/apt/sources.list.d/microsoft.listbefore install.prakashguru commentedon Oct 18, 2023
+1 for this.
Travis Plunk (@TravisEz13) Will it possible for you to have a look at this? Something similar we have to do like debian 11 #10923
ExNought commentedon Oct 31, 2023
I am biting nails to get PowerShell on Debian 12. This is affecting my work since I am already on Debian 12 and VSC does not recognize PowerShell anymore. I currently use PowerShell from the legacy sources.
rhubarb-geek-nz commentedon Nov 22, 2023
What is the issue with downloading the Debian package directly from the releases page?
https://github.com/PowerShell/PowerShell/releases/download/v7.4.0/powershell_7.4.0-1.deb_amd64.deb
eliminmax commentedon Nov 25, 2023
It won't get updated with APT that way, and there's no guarantee that it will work on any particular version of Debian.
prakashguru commentedon Nov 25, 2023
Dear Eli Array Minkoff (@eliminmax) I dont think there will be an issue to download manually the powershell and install it on my machine.
But some of our customers using our application which has powershell as a dependency unable to install it on debian 12 because powershell is not published for debian 12.
There are heavily restricted environments where installing packages outside of the official repositories are prohibited.
So it is important and required to be published!
AndrewSav commentedon Nov 25, 2023
rhubarb-geek-nz for anyone who had ever worked in an enterprise environment it is obvious why this would not be very manageable. MS start to provide those for a reason, and for the same reason we ask them to continue to do so.
rhubarb-geek-nz commentedon Nov 25, 2023
Absolutely true but it is not a show stopper. The published debian file does work and it is not a rebuild required, just an addition to the packages.microsoft.com. If you are in an enterprise environment you may be hosting your own APT repositories or using downloads directly with curl when creating docker images.
If you check the recent debian packages on packages.microsoft.com they are the same file
The packages.microsoft.com repository for Ubuntu 22.04 amd64 is problematic because the dotnet-sdk-6.0 conflict with those distributed by ubuntu themselves. They have different version suffixes and install in different directories.
I have asked for a couple of years for armhf and aarch64 debian files but them not existing does not prevent me creating my own APT repository with repackaged files for armhf/aarch64.
49 remaining items
AndrewSav commentedon Oct 9, 2024
March 16 - "in the next couple of months"
June 5 - "this is priority 1 on our backlog"
August 24 - "planning to begin to release new distros at the beginning of September"
September 18 - "this distribution has published" - it was not and the issue was closed
Sepetmber 24 - "hopefully this week" - the issue remains closed
October 2 - the issue is reopened
Two weeks after the last communication there is still nothing. My prediction: they will soon realise that it's not feasible making any commitments and then looking like this, so they will keep silent in the future. It's much easier to ignore, does not make any worse of an impression than it has already and good for one's health.
I wish I could excercise optimism with such abandon!
24mu13 commentedon Oct 10, 2024
What's about to maintain the Debian package in their ecosystem?
https://www.debian.org/doc/manuals/debmake-doc/index.en.html
Do you think is feasible from licensing perspective?
nanonyme commentedon Oct 10, 2024
Hey, would it be possible to provide any visibility over the work? If there are blockers, it would be useful to know exactly what and see their resolution's progress. Currently for us outsiders it looks very much like nothing's happening.
mbentley commentedon Oct 10, 2024
That would likely increase the difficulty of maintenance for them and not really add any value; plus Debian has different support lifecycles than what I would guess that Microsoft likely would want to follow. When you have software that updates pretty frequently and may evolve quickly, having their own package repo would allow them to more easily get packages for new versions available in a wider number of distros and not have to go through backports.
24mu13 commentedon Oct 12, 2024
I meant the community (us) would maintain it, not Microsoft; we saw in fact that Microsoft is not able neither to keep the very slow Debian lifecycle... I really appreciate their effort to embrace (and somehow "buy" actually) the open-source culture, but this doesn't necessarily mean to control every aspect of it: Debian has his own ecosystem, and I don't really see the value of having a separate Microsoft repository for maintaining various package systems...
rhubarb-geek-nz commentedon Oct 12, 2024
I am happy that Ubuntu repackages the dotnet-sdk and provides regular updates. I have asked Canonical to Add PowerShell to APT repository
Given Debian is a base for so many distributions and its pace, I don't think it is appropriate for either dotnet-sdk or PowerShell. The packages.microsoft.com generally does a good job providing up to date packages for Debian.
24mu13 commentedon Oct 12, 2024
I don't get the point: are you happy with Ubuntu packages or Microsoft repository (or both)?
rhubarb-geek-nz commentedon Oct 12, 2024
I am happy with packages.microsoft.com for Debian. But for Ubuntu, given it has already diverged by hosting dotnet-sdk and this project is very reluctant to produce a working Ubuntu package for 24.04, I suggest Ubuntu would be better for Ubuntu.
24mu13 commentedon Oct 24, 2024
We've got the package finally! Thank you Microsoft
theJasonHelmick commentedon Oct 29, 2024
This package is now available at PMC. For more information see the PMC Readme:
https://packages.microsoft.com/docs/readme.txt
We are still working on the docker image pipeline. I will post an update when we have published
images to the MCR.
theJasonHelmick commentedon Jan 7, 2025
The Debian 12 distribution is released to PMC and MCR.
microsoft-github-policy-service commentedon Jan 7, 2025
📣 Hey Chouffy, how did we do? We would love to hear your feedback with the link below! 🗣️
🔗 https://aka.ms/PSRepoFeedback