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

powershell deb for ubuntu require libicu52 but is replaced by 55 #3876

Closed
robertlabrie opened this issue May 28, 2017 · 6 comments
Closed

powershell deb for ubuntu require libicu52 but is replaced by 55 #3876

robertlabrie opened this issue May 28, 2017 · 6 comments
Labels
Area-Maintainers-Build specific to affecting the build Issue-Discussion the issue may not have a clear classification yet. The issue may generate an RFC or may be reclassif OS-WSL Resolution-Answered The question is answered.

Comments

@robertlabrie
Copy link

Followed the instructions to install on ubuntu (using the Linux subsystem for Windows), the deb has a depend on libicu52 but ubuntu has replaced it with libicu55.

Details below.

rob@BADGER:~$ cat /etc/issue
Ubuntu 16.04.2 LTS \n \l

rob@BADGER:~$ uname -a
Linux BADGER 4.4.0-43-Microsoft #1-Microsoft Wed Dec 31 14:42:53 PST 2014 x86_64 x86_64 x86_64 GNU/Linux
rob@BADGER:~$

rob@BADGER:~$ sudo apt-get install -y powershell
Reading package lists... Done
Building dependency tree
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: libicu52 but it is not installable
E: Unable to correct problems, you have held broken packages.
rob@BADGER:~$ cat /etc/issue

rob@BADGER:~$ sudo apt-cache search libicu
icu-devtools - Development utilities for International Components for Unicode
libicu-dev - Development files for International Components for Unicode
libicu55 - International Components for Unicode
libicu55-dbg - International Components for Unicode
libicu4j-4.4-java - Library for Unicode support and internationalization
libicu4j-49-java - Library for Unicode support and internationalization
libicu4j-java - Library for Unicode support and internationalization

rob@BADGER:~$ cat /etc/apt/sources.list.d/microsoft.list
deb [arch=amd64] https://packages.microsoft.com/ubuntu/14.04/prod trusty main
rob@BADGER:~$
@iSazonov iSazonov added Area-Maintainers-Build specific to affecting the build Issue-Discussion the issue may not have a clear classification yet. The issue may generate an RFC or may be reclassif OS-WSL labels May 29, 2017
@joeyaiello
Copy link
Contributor

/etc/apt/sources.list.d/microsoft.list should be deb [arch=amd64] https://packages.microsoft.com/ubuntu/16.04/prod trusty main because you're on Ubuntu 16.04.

If that fixes you, please close this issue. :)

@robertlabrie
Copy link
Author

Yep, 100% my fault. This worked:
deb [arch=amd64] https://packages.microsoft.com/ubuntu/16.04/prod xenial main

PS: As a Windows and Linux admin, running Powershell for Linux in Ubuntu userland as legit Windows 10 processes is a little surreal.

Cheers!
Rob

@iSazonov iSazonov added the Resolution-Answered The question is answered. label Jun 2, 2017
@asears
Copy link

asears commented May 29, 2019

The installation instructions may need to be verified, also encountered this issue on 16.04.

https://docs.microsoft.com/en-us/powershell/scripting/install/installing-powershell-core-on-linux?view=powershell-6

@SathishRanjan
Copy link

Incase some is struggling for ubuntu 18.04
add this line
deb [arch=amd64] https://packages.microsoft.com/ubuntu/18.04/prod bionic main in /etc/apt/sources.list.d/microsoft.list create the same if not exists

@Superset1986
Copy link

Incase some is struggling for ubuntu 18.04
add this line
deb [arch=amd64] https://packages.microsoft.com/ubuntu/18.04/prod bionic main in /etc/apt/sources.list.d/microsoft.list create the same if not exists

Thank you for sharing this.

@ukreddy-erwin
Copy link

Any powershell release for 14.04 of ubuntu release?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Maintainers-Build specific to affecting the build Issue-Discussion the issue may not have a clear classification yet. The issue may generate an RFC or may be reclassif OS-WSL Resolution-Answered The question is answered.
Projects
None yet
Development

No branches or pull requests

7 participants