Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • libssh2-devel cannot be installed from codeready-builder-for-rhel-8-x86_64-rpms repo (BZ1713780)

    Posted on

    Hello,

    I wonder if I'm missing something, but while I can search for

    libssh2-devel
    package on the portal (https://access.redhat.com/downloads/content/libssh2-devel/1.8.0-7.module+el8+2833+c7d6d092/x86_64/fd431d51/package) I cannot install it from OS. Page with package says that it is included in
    codeready-builder-for-rhel-8-x86_64-rpms
    so I have enabled that repository but when I tried to install the package it cannot be found.

    # subscription-manager repos --enable=codeready-builder-for-rhel-8-x86_64-rpms 
    Repository 'codeready-builder-for-rhel-8-x86_64-rpms' is enabled for this system.
    
    # dnf repolist
    Updating Subscription Management repositories.
    Last metadata expiration check: 0:07:48 ago on Fri 09 Aug 2019 09:30:07 AM CEST.
    repo id                                                                                        repo name                                                                                                      status
    codeready-builder-for-rhel-8-x86_64-rpms                                                       Red Hat CodeReady Linux Builder for RHEL 8 x86_64 (RPMs)                                                       1,490
    rhel-8-for-x86_64-appstream-rpms                                                               Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs)                                                       5,736
    rhel-8-for-x86_64-baseos-rpms                                                                  Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs)                                                          2,097
    
    # dnf install libssh2-devel
    Updating Subscription Management repositories.
    Last metadata expiration check: 0:00:32 ago on Fri 09 Aug 2019 09:30:07 AM CEST.
    No match for argument: libssh2-devel
    Error: Unable to find a match
    

    Are there any extra steps needed here to be able to use

    dnf install libssh2-devel
    command and install the package in RHEL 8.0? (I can install the package by downloading it manually from portal website)

    Update/Resolution: The answer is that

    virt-devel
    module needs to be enabled. Currently this requirement cannot be figured out easily and there is proposal to improve this in
    Bug 1713780 - Many packages are not accessible until a module is enabled.
    There is no way to search what module a package is in without first having
    the module enabled which is counter intuitive
    .

    # yum module enable virt-devel
    Dependencies resolved.
    ==============================================================================
     Package        Arch             Version             Repository          Size
    ==============================================================================
    Enabling module streams:
     virt-devel                       rhel
    
    Transaction Summary
    ==============================================================================
    
    Is this ok [y/N]: y
    Complete!
    
    Switching module streams does not alter installed packages (see 'module enable' in dnf(8) for details)
    # yum list libssh2-devel
    Available Packages
    libssh2-devel.i686          1.8.0-7.module+el8+2833+c7d6d092     codeready-builder-for-rhel-8-x86_64-rpms
    libssh2-devel.x86_64        1.8.0-7.module+el8+2833+c7d6d092     codeready-builder-for-rhel-8-x86_64-rpms
    

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2025 Red Hat