Closed aaronsheldon closed 3 months ago
Hi @aaronsheldon, these Issues are only monitored by the team that maintains the packages.microsoft.com infrastructure, however I have sent an internal notification to the .NET team. Can you please clarify where you're pulling PowerShell from? As far as I'm aware PowerShell has not been published for 24.04 yet.
Thank you @sdherr. I'm following the usual instructions from Learn Microsoft.
For DotNet 6 & 7 is used the standard repository setup package packages-microsoft-prod.deb
. In my case from the Ubuntu 24.04 directory, and then tried installing the DotNet 6 & 7 SDK packages using APT.
For PowerShell 7.4 I used the direct download package available on GitHub.
Granted I may have jumped the gun a bit in trying to get these to install on Ubuntu 24.04. It has only been a week or so since Canonical unlocked the 24.04 upgrade in the meta-release change-log. Ignore the date in the change log. Even in early May the change-log was only up to 23.10.
Ah okay, it looks like an Issue for that already exists on the PowerShell repo. I suggest you follow that for PowerShell updates, although I suspect it's simply as you say: they haven't rebuilt it for 24.04 yet. These .NET packages though have been released to our 24.04 repo, so they should work. Hopefully the .NET team can chime in here soon.
On 24.04, use Ubuntu feed for .NET installation - Install Doc
Blog post describing more details and have detailed instructions. Discussion on same.
Hi @ashnaga, I'm afraid your documentation is incorrect, you are in fact shipping the 6.0 and 7.0 packages in Microsoft's Ubuntu 24.04 repo: https://packages.microsoft.com/ubuntu/24.04/prod/pool/main/d/
If that's not intended / desired then you need to remove them so that subscribers to that repo won't install broken packages.
Publishing the .NET May releases to https://packages.microsoft.com/ubuntu/24.04 was an error. We'll remove the files.
If you want to run the Microsoft build of .NET or need 6.0 / 7.0, using the dotnet install script is the recommended way.
Describe the issue Ubuntu 24.04 is on version 74 of libicu (unicode for C++), while packages in the Microsoft repository requires version 72, or older. Neither PowerShell nor DotNet are installable from the Microsoft repository.
When did the issue occur? Starts with Ubuntu 24.04. Tried unsuccessfully to install DotNet 6 & 7, and PowerShell 7.4 using the Microsoft Package Repository.
Steps to Reproduce
Actual Result Fails to install, reporting that the dependency on libicu 72 or lower cannot be satisfied.
Expected Result All packages should install and run with libicu 74.
Sigh...disappointing.