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

Unable to install PS on Ubuntu server 20.04 LTS - package dependency update #21643

Open
5 tasks done
NorskNoobing opened this issue May 8, 2024 · 1 comment
Open
5 tasks done
Labels
Needs-Triage The issue is new and needs to be triaged by a work group.

Comments

@NorskNoobing
Copy link

Prerequisites

Steps to reproduce

I tried to install powershel in a fresh install of ubuntu server 20.04 LTS, but it said I needed libicu72 or lower. This is problematic, because the default ubuntu package repo has apparently removed all libicu versions other than libicu74, which isn't listed in PowerShell's dependencies.

Here's the output for listing libicu packages:

daniel@docker1:~$ apt list libicu*
Listing... Done
libicu-dev/noble 74.2-1ubuntu3 amd64
libicu4j-4.4-java/noble 4.4.2.2-4 all
libicu4j-java/noble 73.2-1 all
libicu74/noble,now 74.2-1ubuntu3 amd64 [installed]

The solution would probably be to update the dependencies to include libicu74 or lower.

Expected behavior

That the package actually installs correctly.

Actual behavior

daniel@docker1:~$ sudo apt install -y powershell
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 powershell : Depends: libicu72 but it is not installable or
                       libicu71 but it is not installable or
                       libicu70 but it is not installable or
                       libicu69 but it is not installable or
                       libicu68 but it is not installable or
                       libicu67 but it is not installable or
                       libicu66 but it is not installable or
                       libicu65 but it is not installable or
                       libicu63 but it is not installable or
                       libicu60 but it is not installable or
                       libicu57 but it is not installable or
                       libicu55 but it is not installable or
                       libicu52 but it is not installable
E: Unable to correct problems, you have held broken packages.

Error details

N/A

Environment data

N/A

Visuals

No response

@NorskNoobing NorskNoobing added the Needs-Triage The issue is new and needs to be triaged by a work group. label May 8, 2024
@kasini3000
Copy link

kasini3000 commented May 9, 2024

Can we increase the libicu dependency to the number 80 (libicu80) , or a version for the next 2 years?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs-Triage The issue is new and needs to be triaged by a work group.
Projects
None yet
Development

No branches or pull requests

2 participants