Skip to content

libcurl dependency on openSUSE #6184

@Arnavion

Description

@Arnavion

From docs/installation/linux.md:

Note: When installing PowerShell Core, OpenSUSE may report that nothing provides libcurl. libcurl should already be installed on supported versions of OpenSUSE. Run zypper search libcurl to confirm. The error will present 2 'solutions'. Choose 'Solution 2' to continue installing PowerShell Core.

  1. If the intention is that the user should choose the break powershell-6.0.1-1.rhel.7.x86_64 by ignoring some of its dependencies option, then describing the option text explicitly ("Choose the solution to ignore dependencies and install the package anyway.") would be better. I don't believe zypper has to deterministically give that one as "Solution 2" and it's a vague instruction anyway.

  2. It would be better to tell users to run zypper search --provides --match-exact '/usr/lib64/libcurl.so.4' instead of just zypper search libcurl to verify that they have the required library. The current command finds all packages that have libcurl in the name. While it's obvious which package the user should be looking for, there's no reason to be vague about it.

  3. I assume this situation happens because you reuse the RHEL package for openSUSE and RHEL's libcurl package provides "libcurl". Why not make a separate package for openSUSE that requires "libcurl4" so that this workaround is not needed in the first place?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-Discussionthe issue may not have a clear classification yet. The issue may generate an RFC or may be reclassifResolution-ExternalThe issue is caused by external component(s).Resolution-FixedThe issue is fixed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions