Skip to content

Higher version of libicu (6x) installed on OpenSuSE Leap than accepted by dotnet-runtime #2494

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

Closed
git-gone opened this issue Mar 23, 2019 · 8 comments
Labels
area-tutorials Issues related to getting started tutorials needs-more-info Not enough information has been provided. Please share more detail as requested.

Comments

@git-gone
Copy link

Problem encountered on https://dotnet.microsoft.com/learn/dotnet/hello-world-tutorial/install
Operating System: Linux openSUSE Leap

installing as per instructions on page above fail at step to install .net SDK, Added all Microsoft public keys and downloaded repo files as recommended on the web page whose URL appears above

sudo zypper install dotnet-sdk-2.2
[sudo] password for jamest: 
Retrieving repository 'Packman Repository' metadata .................................................................................[done]
Building repository 'Packman Repository' cache ......................................................................................[done]
Loading repository data...
Reading installed packages...
Resolving package dependencies...

Problem: nothing provides libicu52_1 needed by dotnet-runtime-deps-2.2-2.2.3-1.x86_64
 Solution 1: do not install dotnet-sdk-2.2-2.2.105-1.x86_64
 Solution 2: break dotnet-runtime-deps-2.2-2.2.3-1.x86_64 by ignoring some of its dependencies

Choose from above solutions by number or cancel [1/2/c] (c): ^Cjamest@irrelevant:~/Downloads> 

In OpenSuSE, there appears to beno RPM package that provides libicu at version 52. Is it likely that a version of dotnet-runtime will be available for download that will be accept libicu6x in place of libicu52?

Many thanks in advance & best Regards

git-gone

@leecow leecow added the needs-more-info Not enough information has been provided. Please share more detail as requested. label Mar 27, 2019
@leecow
Copy link
Member

leecow commented Mar 27, 2019

Can you share the output of cat /etc/os-release? Here's what I see on a fresh image ...

d2e58356aeaa:/ # cat /etc/os-release
NAME="openSUSE Leap"
VERSION="42.3"
ID=opensuse
ID_LIKE="suse"
VERSION_ID="42.3"
PRETTY_NAME="openSUSE Leap 42.3"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:leap:42.3"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org/"

d2e58356aeaa:/ # zypper search libicu
Loading repository data...
Reading installed packages...

S  | Name               | Summary                                                    | Type
---+--------------------+------------------------------------------------------------+--------
   | libicu-devel       | International Components for Unicode (development files)   | package
   | libicu-devel-32bit | International Components for Unicode (development files)   | package
   | libicu-doc         | International Components for Unicode  (html documentation) | package
i+ | libicu52_1         | International Components for Unicode                       | package
   | libicu52_1-32bit   | International Components for Unicode                       | package
i  | libicu52_1-data    | International Components for Unicode                       | package
```

@karelz karelz added the area-tutorials Issues related to getting started tutorials label Mar 29, 2019
@SvenjaReissaus
Copy link

I am having the same issue here, there's a higher version of libicu already installed:
$ zypper install libicu

Loading repository data...
Reading installed packages...
'libicu' not found in package names. Trying capabilities.
'libicu60_2' providing 'libicu' is already installed.
Resolving package dependencies...

Nothing to do.

Made a clean install of openSUSE Leap 15.0:
$ cat /etc/os-release

NAME="openSUSE Leap"
VERSION="15.0"
ID="opensuse-leap"
ID_LIKE="suse opensuse"
VERSION_ID="15.0"
PRETTY_NAME="openSUSE Leap 15.0"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:leap:15.0"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org/"

And the repository search:
$ zypper search libicu

Loading repository data...
Reading installed packages...

S | Name               | Summary                               | Type   
--+--------------------+---------------------------------------+--------
  | libicu-devel       | Development files for the ICU library | package
  | libicu-devel-32bit | Development files for the ICU library | package
  | libicu-doc         | Documentation for the ICU library     | package
i | libicu60_2         | International Components for Unicode  | package
  | libicu60_2-32bit   | International Components for Unicode  | package
  | libicu60_2-bedata  | Rule databases and tables for ICU     | package
i | libicu60_2-ledata  | Rule databases and tables for ICU     | package

@karelz
Copy link
Member

karelz commented Mar 30, 2019

@tarekgh @janvorli any thoughts or advice?

@SvenjaReissaus
Copy link

Perhaps this workaround from https://github.com/dotnet/core-setup/issues/4413#issuecomment-417505779 is one you could take a look at. I didn't tried it, as I installed ignoring the warning (yet it does not seems to break nor print warnings) but I'll give it a try.

$ dotnet --info

.NET Core SDK (reflecting any global.json):
 Version:   2.2.105
 Commit:    7cecb35b92

Runtime Environment:
 OS Name:     opensuse-leap
 OS Version:  15.0
 OS Platform: Linux
 RID:         linux-x64
 Base Path:   /usr/share/dotnet/sdk/2.2.105/

Host (useful for support):
  Version: 2.2.3
  Commit:  6b8ad509b6

.NET Core SDKs installed:
  2.2.105 [/usr/share/dotnet/sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.All 2.2.3 [/usr/share/dotnet/shared/Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.App 2.2.3 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 2.2.3 [/usr/share/dotnet/shared/Microsoft.NETCore.App]

To install additional .NET Core runtimes or SDKs:
  https://aka.ms/dotnet-download

@tarekgh
Copy link
Member

tarekgh commented Mar 31, 2019

CC @rakeshsinghranchi

Why we have hard dependency on ICU 52? if the system already have any more recent version of ICU, we should be ok. it looks the package dependency should get fixed.

@karelz
Copy link
Member

karelz commented Mar 31, 2019

@tarekgh note that @rakeshsinghranchi's responsibilities in the space were transfered to @dagood

@tarekgh
Copy link
Member

tarekgh commented Apr 1, 2019

thanks @karelz for the info. @dagood may help then here. should this be moved to core-setup?

@dagood dagood closed this as completed Apr 1, 2019
@dagood
Copy link
Member

dagood commented Apr 1, 2019

Issue moved to dotnet/core-setup #5628 via ZenHub

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-tutorials Issues related to getting started tutorials needs-more-info Not enough information has been provided. Please share more detail as requested.
Projects
None yet
Development

No branches or pull requests

6 participants