-
Notifications
You must be signed in to change notification settings - Fork 7.7k
[DSR] - Debian 12 x64 #19889
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
Comments
Note on possible workaround: It's possible to install Powershell on Debian 12 via Snap, but it's not ideal :) |
As a linux user I recommend to install from tarball (not dpkg, not snap (!!!) or another package manager). Unpack pwsh distribution to sudo setcap cap_net_raw=eip /opt/pwsh/pwsh # the real path to executable pwsh You can change installation path as you want. |
mark. i will update my script when here down. https://gitee.com/chuanjiao10/kasini3000_agent_linux#debian12-kernel61-release-day-2023-06-17- |
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 ❯ 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 |
It works by following Microsoft installation guide for bullseye, then manually editing file
|
+1 for this. @TravisEz13 Will it possible for you to have a look at this? Something similar we have to do like debian 11 #10923 |
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. |
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 |
It won't get updated with APT that way, and there's no guarantee that it will work on any particular version of Debian. |
Dear @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! |
@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
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. |
@rhubarb-geek-nz No it is a show stopper! We do have an apt repo. Technically I can host the powershell.deb package into it and distribute. But practically I can't due to the following reasons,
So practically it is a no no. |
That is your call, you do have the existing work around mechanisms but you chose not to use them. Other workarounds including using the tool via the sdk from apt.
|
It would be nice to add the PowerShell.deb versions to the https://packages.microsoft.com/debian/12/prod/
|
LiNUx sUpPorT for pOwERsHeLL iS fIrsT cLass
|
It's not really the delay itself. Debian makes releases fairly reliably every two years and it's frustrating customers have to keep creating these tickets rather than it being baked into Powershell maintenance process. |
Yeah.. it's just frustrating because it's a time suck to everyone when Microsoft doesn't maintain this stuff. Wasted around 2 hours debugging microsoft's repos and lack of powershell until I realized that it was in 11's repo, but not 12's I don't even want to mess with powershell, it's someones request to install it on a workstation 😆 |
Please don't get me wrong, I understand Microsoft has processes here where apparently supporting new Debian releases are tied to PowerShell releases which makes things awkward. Regardless, Debian releases are reasonably predictable in when they happen and there should be nothing preventing releasing PowerShell even before Debian actual release date if it's convenient. |
I was almost done opening a separate issue asking them to do that, but then I couldn't figure out a way to programmatically check if the latest Debian release hit its soft freeze period, so I am not sure if it's as simple as I'd assumed, and I'm sure the PowerShell maintainers have a lot of other responsibilities as is. It would be nice if they'd have been quicker about addressing this issue, but, while new Debian releases are every odd-numbered years, sometime in the Summer, that's not a hard rule, so I don't know how simple it would be to do this. |
That is the incorrect location to publish the deb file. It should be in the debian 12 microsoft repo. https://packages.microsoft.com/debian/12/prod
|
It's hard to understand what is preventing them to add the deb files to the microsoft repository. Ok you tested the package on debian 12 and created a docker image (that no one on this issue asked for). Now that it is tested, there shouldn't be any blockers left to just drop the deb file into the package repository. I'm sure no one here would even mind if it was marked as an "unstable" package or something. Many have been using the direct method install because of this issue and didn't encounter any problem. If it's a case of "we don't want to support it", still give us the option to use the package repository but explicitly say so that support will be non-existent / best-effort. |
I suggest opening new ticket and link to this one if nothing happens soon. It seems important to have open ticket to ensure this hits appropriate queues. |
opened one over here: #24334 |
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) |
Looking forward to seeing this resolved soon. I'd also like to second the concern in part of @kallisti5's comment:
|
Debian has statistically usually released during Summer. It's around half a year of stabilization from the point new release gets frozen. |
@theJasonHelmick Any news on this? |
I just double checked, Vegas odds on Powershell deb's getting released before Debian 13 is out are |
March 16 - "in the next couple of months" 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! |
What's about to maintain the Debian package in their ecosystem? Do you think is feasible from licensing perspective? |
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. |
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 don't get the point: are you happy with Ubuntu packages or Microsoft repository (or both)? |
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. |
We've got the package finally! Thank you Microsoft |
This package is now available at PMC. For more information see the PMC Readme: We are still working on the docker image pipeline. I will post an update when we have published |
The Debian 12 distribution is released to PMC and MCR. |
📣 Hey @Chouffy, how did we do? We would love to hear your feedback with the link below! 🗣️ 🔗 https://aka.ms/PSRepoFeedback |
Name of the Distribution
Debian
Version of the Distribution
12
Package Types
Processor Architecture
amd64
.NET Core Support
Distribution Requirements
Exemption Justification
No response
Progress
For PowerShell Team ONLY
packages.microsoft.com
deploymentThe text was updated successfully, but these errors were encountered: