Skip to content

Fedora Repo: latest version is 2.45 (actually 2.50) #9150

Description

@hbenali

By following these commands in Fedora 40 https://github.com/cli/cli/blob/trunk/docs/install_linux.md#fedora-centos-red-hat-enterprise-linux-dnf

The latest version is 2.45 (not 2.50) could you fix this issue, please? Thanks

As a workaround, I've installed the rpm with dnf localinstall command.

Activity

  1. williammartin commented on May 30, 2024

    @williammartin
    Member

    Which commands did you follow, our repo or the community one? I'm pretty sure that we are on 2.50.0 on our own repo and the community one seems like it might still be on 2.45 for fedora 40. We don't control the community one so you'd need to contact them on their issue tracker.

    I'll double check ours as well in the mean time.

  2. hbenali commented on May 30, 2024

    @hbenali
    ContributorAuthor

    Yes you are right

    sudo dnf whatprovides gh
    Last metadata expiration check: 0:02:12 ago on Thu 30 May 2024 05:22:43 PM CEST.
    gh-2.45.0-1.fc40.x86_64 : GitHub's official command line tool
    Repo        : fedora
    Matched from:
    Provide    : gh = 2.45.0-1.fc40
    
    gh-2.50.0-1.i386 : GitHub’s official command line tool.
    Repo        : gh-cli
    Matched from:
    Provide    : gh = 2.50.0-1
    
    gh-2.50.0-1.x86_64 : GitHub’s official command line tool.
    Repo        : gh-cli
    Matched from:
    Provide    : gh = 2.50.0-1
    

    I suggest updating this section https://github.com/cli/cli/blob/trunk/docs/install_linux.md#fedora-centos-red-hat-enterprise-linux-dnf in order to use explicitly gh-cli repository

    sudo dnf install gh --repo gh-cli

    Thanks

  3. williammartin commented on May 30, 2024

    @williammartin
    Member

    Great idea, would you open a PR for it please?

  4. hbenali commented on May 30, 2024

    @hbenali
    ContributorAuthor

    Great idea, would you open a PR for it please?

    Done #9151 Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedContributions welcomemore-info-neededMore info needed from user/contributor

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions