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

[NETSDKE2E]Libicu package dependency issue on Ubuntu24.04 #40506

Closed
NicoleWang001 opened this issue Apr 28, 2024 · 12 comments
Closed

[NETSDKE2E]Libicu package dependency issue on Ubuntu24.04 #40506

NicoleWang001 opened this issue Apr 28, 2024 · 12 comments
Assignees
Labels
Area-Linux untriaged Request triage from a team member

Comments

@NicoleWang001
Copy link
Member

NicoleWang001 commented Apr 28, 2024

Describe the bug

Due to Ubuntu having libicu74, installing .NET May update builds on Ubuntu 24.04 will return dependency problems as libicu is not installed.

To Reproduce

  1. Try to install .NET 6.0/7.0/8.0 May update SDK via .deb on Ubuntu 24.04

Exceptions (if any)

It will return dependency problems as libicu is not installed.
Taking .NET 6.0.422 for example
image

@baronfel
Copy link
Member

baronfel commented Jul 10, 2024

@jkoritzinsky since I saw your handle on the Runtime installer dependency list - do you know if we support .NET 6 on ubuntu 24.04? If so, do we need to extend this ICU version list to include 74?

cc @richlander as well

@nagilson
Copy link
Member

For the record, the vendor states that this impacts 7 and 8 as well, not just 6.

@baronfel
Copy link
Member

Yeah, that makes sense - the file is the same on 7 and 8 release branches as well.

@jkoritzinsky
Copy link
Member

According to dotnet/core we do. I'll update the packages.

.NET 7 is out of support, so I'll only be updating .NET 6 and 8 (as we don't have a mechanism to ship .NET 7 any more).

jkoritzinsky added a commit to dotnet/runtime that referenced this issue Jul 11, 2024
Ubuntu 24.04 ships ICU v74 as the libicu74 package, so we need to add it as a known version.

Contributes to dotnet/sdk#40506

This does not affect source-build. Canonical defines their own deb packages and they do not use the runtime-deps package.
github-actions bot pushed a commit to dotnet/runtime that referenced this issue Jul 11, 2024
Ubuntu 24.04 ships ICU v74 as the libicu74 package, so we need to add it as a known version.

Contributes to dotnet/sdk#40506

This does not affect source-build. Canonical defines their own deb packages and they do not use the runtime-deps package.
github-actions bot pushed a commit to dotnet/runtime that referenced this issue Jul 11, 2024
Ubuntu 24.04 ships ICU v74 as the libicu74 package, so we need to add it as a known version.

Contributes to dotnet/sdk#40506

This does not affect source-build. Canonical defines their own deb packages and they do not use the runtime-deps package.
@richlander
Copy link
Member

Are the packages coming from packages.microsoft.com (PMC)? We don't support any PMC packages on Ubuntu 24.04.

More context:

@jkoritzinsky
Copy link
Member

Do we have a mechanism we can use to not provide these packages to Ubuntu 24.04 users from PMC?

Right now, I'd consider this a rough UX hole for the following scenario:

User has an Ubuntu 22.04 (or older) system, referencing PMC. They install .NET from PMC instead of from Ubuntu (maybe they wanted a newer version, for example). They upgrade to Ubuntu 24.04. They don't re-install the PMC feeds, they leave them as-is (which is wrong, but really easy to miss). They try to update dotnet, and it fails because it tries to pull updates for the dotnet-runtime-deps package, which is uninstallable on Ubuntu 24.04.

This would also be problem if they were installing the packages from PMC for Ubuntu 24.04, but I don't actually see any .NET packages in that feed (other than dotnet-apphost-pack-6.0 for some reason).

@richlander
Copy link
Member

richlander commented Jul 12, 2024

Good points. We probably need to update the docs to explain how to get to a clean state with dotnet packages when upgrading to 22.04.

Curious about the 6.0 package.

@adegeo @leecow

@richlander
Copy link
Member

Zooming out. There are really two issues here:

  • Why is our testing approach running into this problem?
  • Improving guidance for everyone.

I would be good to get clarity on the first once, specifically why the test instructions are leading to this outcome. I also seem to remember discussing this on mail a few months ago (which would align with when this issue was created).

@adegeo
Copy link

adegeo commented Jul 18, 2024

Yeah, we should probably have something regarding this scenario in the docs, once we figure out the exact steps and versions that need updates.

@jkoritzinsky
Copy link
Member

I've opened dotnet/runtime#105046 to track possible improvements here.

@ChenhuiYuan01
Copy link
Member

This issue does not repro on SDK 9.0 and September update's SDK 6.0.

@NicoleWang001
Copy link
Member Author

This issue does not repro on .NET 8..402 either. So close it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Linux untriaged Request triage from a team member
Projects
None yet
Development

No branches or pull requests

8 participants