[SOLVED] Issue updating libgit2 with dnf
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2007
    Posts
    45
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Issue updating libgit2 with dnf

    Hello,

    According to "dnf updateinfo" there is an update for libgit2:

    Code:
    # dnf updateinfo list | grep libgit2
    FEDORA-2019-83eb9a39ac bugfix       libgit2-0.27.8-1.fc29.x86_64

    But "dnf update" does not update libgit2:

    Code:
    # dnf update
    Last metadata expiration check: 2:13:00 ago on do 11 apr 2019 17:18:11 CEST.
    Dependencies resolved.
    Nothing to do.
    Complete!

    The current installed version of libgit2 is 0.27.7-1.fc29:

    Code:
    # dnf list installed | grep libgit2
    libgit2.x86_64                                     0.27.7-1.fc29                       @updates                 
    libgit2-glib.x86_64                                0.27.8-1.fc29                       @updates

    But the version that should be there according to "dnf updateinfo" is not found in the repositories:

    Code:
    # dnf list all | grep libgit2
    libgit2.x86_64                                                         0.27.7-1.fc29                                                   @updates                 
    libgit2-glib.x86_64                                                    0.27.8-1.fc29                                                   @updates                 
    golang-github-libgit2-git2go.src                                       0-0.27.1.20190223gitecaeb7a.fc29                                updates-source           
    golang-github-libgit2-git2go-devel.noarch                              0-0.27.1.20190223gitecaeb7a.fc29                                updates                  
    libgit2.src                                                            0.28.1-1.module_f29+3443+22427e49                               updates-modular-source   
    libgit2-debuginfo.i686                                                 0.27.8-1.fc29                                                   updates-debuginfo        
    libgit2-debuginfo.x86_64                                               0.28.1-1.module_f29+3443+22427e49                               updates-modular-debuginfo
    libgit2-debugsource.i686                                               0.27.8-1.fc29                                                   updates-debuginfo        
    libgit2-debugsource.x86_64                                             0.28.1-1.module_f29+3443+22427e49                               updates-modular-debuginfo
    libgit2-devel.x86_64                                                   0.27.4-1.module_2222+9bfbc8d7                                   fedora-modular           
    libgit2-glib.i686                                                      0.27.8-1.fc29                                                   updates                  
    libgit2-glib.src                                                       0.27.8-1.fc29                                                   updates-source           
    libgit2-glib-debuginfo.i686                                            0.27.8-1.fc29                                                   updates-debuginfo        
    libgit2-glib-debuginfo.x86_64                                          0.27.8-1.fc29                                                   updates-debuginfo        
    libgit2-glib-debugsource.i686                                          0.27.8-1.fc29                                                   updates-debuginfo        
    libgit2-glib-debugsource.x86_64                                        0.27.8-1.fc29                                                   updates-debuginfo        
    libgit2-glib-devel.i686                                                0.27.8-1.fc29                                                   updates                  
    libgit2-glib-devel.x86_64                                              0.27.8-1.fc29                                                   updates                  
    rust-libgit2-sys.src                                                   0.7.7-2.fc29                                                    fedora-source            
    rust-libgit2-sys-devel.noarch                                          0.7.7-2.fc29                                                    fedora

    However, according to this link version 0.27.8-1.fc29 should be available.

    I also tried:

    Code:
    dnf clean all
    dnf --refresh updateinfo info
    dnf --refresh update

    But I do not get version 0.27.8-1.fc29.

    I also tried:

    Code:
    # dnf reinstall libgit2-0.27.7-1.fc29.x86_64
    Last metadata expiration check: 0:04:02 ago on do 11 apr 2019 19:50:59 CEST.
    Installed package libgit2-0.27.7-1.fc29.x86_64 (from updates) not available.
    Error: No packages marked for reinstall.
    
    # dnf install libgit2-0.27.8-1.fc29.x86_64
    Last metadata expiration check: 0:04:14 ago on do 11 apr 2019 19:50:59 CEST.
    No match for argument: libgit2-0.27.8-1.fc29.x86_64
    Error: Unable to find a match

    Any idea what could be wrong?
    Last edited by janvlug; 11th April 2019 at 06:56 PM.

  2. #2
    Join Date
    Feb 2019
    Location
    Alberta
    Posts
    49
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Issue updating libgit2 with dnf

    It's been available since January 29 and is the only version in the updates repo. This is the repo for my area. Try downloading the .rpm file and install with command in same directory as the .rpm: dnf install libgit2-0.27.8-1.fc29.x86_64.rpm. It may be a version dependency issue, by trying to install this way, you might get an answer as to why it can't as dnf will ensure dependencies are satisfied, installing with rpm -i may not.

  3. #3
    Join Date
    Jul 2007
    Posts
    45
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Issue updating libgit2 with dnf

    Thanks BrainBoy, I did:

    dnf update https://muug.ca/mirror/fedora/linux/...c29.x86_64.rpm

    and indeed, this fixed the issue. So probably it is an issue with the mirror that my dnf uses.

Similar Threads

  1. Issue after updating Fedora 21
    By Roham Soroush in forum Using Fedora
    Replies: 7
    Last Post: 1st April 2015, 10:54 AM
  2. issue with updating FC19
    By whitefish in forum Using Fedora
    Replies: 9
    Last Post: 15th September 2013, 10:29 PM
  3. Updating Kernel + GRUB issue
    By Night Runner in forum Using Fedora
    Replies: 33
    Last Post: 12th July 2009, 09:28 PM
  4. Software Updating Issue (using yum)
    By Greens in forum Using Fedora
    Replies: 5
    Last Post: 10th May 2007, 10:03 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •