Skip to content
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

Ubuntu 24.04 Package libicu Broken Dependency #135

Closed
aaronsheldon opened this issue May 23, 2024 · 6 comments
Closed

Ubuntu 24.04 Package libicu Broken Dependency #135

aaronsheldon opened this issue May 23, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@aaronsheldon
Copy link

aaronsheldon commented May 23, 2024

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

  1. Upgrade to Ubuntu 24.04.
  2. Download and run the Microsoft package for Ubuntu 24.04 to configure the Microsoft repository.
  3. Try to install DotNet 6 or 7, or PowerShell 7.4 packages through apt or synaptic.

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.

Tasks

No tasks being tracked yet.
@aaronsheldon aaronsheldon added the bug Something isn't working label May 23, 2024
@sdherr
Copy link
Contributor

sdherr commented May 23, 2024

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.

@aaronsheldon
Copy link
Author

aaronsheldon commented May 23, 2024

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.

@sdherr
Copy link
Contributor

sdherr commented May 23, 2024

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.

@ashnaga
Copy link
Member

ashnaga commented May 30, 2024

On 24.04, use Ubuntu feed for .NET installation - Install Doc

Blog post describing more details and have detailed instructions.
Discussion on same.

@sdherr
Copy link
Contributor

sdherr commented May 30, 2024

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.

@leecow
Copy link
Member

leecow commented May 30, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants