AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-264366

MicroTransactionsMatterToo's questions

Martin Hope
MicroTransactionsMatterToo
Asked: 2017-12-05 23:03:36 +0800 CST

Fedora 目前缺少最新版本的 git

  • 5

所以,我目前正在运行 Fedora 27,尽管这个问题自 F26 以来就一直存在。问题是我无法通过普通回购更新 git。我很困惑为什么,因为我在互联网上找不到任何关于它的东西。

我当前的 Git 版本是2.14.3,应该是2.15.1

内容/etc/yum.repos.d如下

total 60
-rw-r--r--. 1 root root  342 Oct  8 15:25 _copr_davidva-deadbeef.repo
-rw-r--r--. 1 root root  322 Sep 27 18:56 _copr_numix-numix.repo
-rw-r--r--. 1 root root  707 Oct 25 06:41 fedora-cisco-openh264.repo
-rw-r--r--. 1 root root 1331 Oct 25 06:41 fedora.repo
-rw-r--r--. 1 root root 1345 Oct 25 06:41 fedora-updates.repo
-rw-r--r--. 1 root root 1403 Oct 25 06:41 fedora-updates-testing.repo
-rw-r--r--. 1 root root  258 Nov 16 20:24 hardware:razer.repo
-rw-r--r--. 1 root root 1248 Nov 14 07:17 rpmfusion-free.repo
-rw-r--r--. 1 root root 1245 Nov 14 07:17 rpmfusion-free-updates.repo
-rw-r--r--. 1 root root 1305 Nov 14 07:17 rpmfusion-free-updates-testing.repo
-rw-r--r--. 1 root root 1293 Nov 14 07:21 rpmfusion-nonfree.repo
-rw-r--r--. 1 root root 1290 Nov 14 07:21 rpmfusion-nonfree-updates.repo
-rw-r--r--. 1 root root 1350 Nov 14 07:21 rpmfusion-nonfree-updates-testing.repo
-rw-r--r--. 1 root root  148 Nov 27 12:38 skype-stable.repo
-rw-r--r--. 1 root root  207 Oct  9 03:14 slack.repo

这是我认为可能有用的所有相关信息。

sudo dnf info git

Failed to synchronize cache for repo 'davidva-deadbeef', disabling.
Failed to synchronize cache for repo 'numix-numix', disabling.
Last metadata expiration check: 2:49:40 ago on Tue 05 Dec 2017 18:46:43 NZDT.
Installed Packages
Name         : git
Version      : 2.14.3
Release      : 2.fc27
Arch         : x86_64
Size         : 2.5 M
Source       : git-2.14.3-2.fc27.src.rpm
Repo         : @System
From repo    : updates
Summary      : Fast Version Control System
URL          : https://git-scm.com/
License      : GPLv2
Description  : Git is a fast, scalable, distributed revision control system with an
             : unusually rich command set that provides both high-level operations
             : and full access to internals.
             : 
             : The git rpm installs common set of tools which are usually using with
             : small amount of dependencies. To install all git packages, including
             : tools for integrating with other SCMs, install the git-all meta-package.

sudo dnf install git(已经安装了 git)

Failed to synchronize cache for repo 'davidva-deadbeef', disabling.
Failed to synchronize cache for repo 'numix-numix', disabling.
Last metadata expiration check: 2:53:42 ago on Tue 05 Dec 2017 18:46:43 NZDT.
Package git-2.14.3-2.fc27.x86_64 is already installed, skipping.
Dependencies resolved.
Nothing to do.
Complete!

sudo dnf install git(卸载 git 后)

Failed to synchronize cache for repo 'davidva-deadbeef', disabling.
Failed to synchronize cache for repo 'numix-numix', disabling.
Last metadata expiration check: 2:55:24 ago on Tue 05 Dec 2017 18:46:43 NZDT.
Dependencies resolved.
===========================================================
 Package       Arch    Version              Repository
                                                      Size
===========================================================
Installing:
 git           x86_64  2.14.3-2.fc27        updates  1.1 M
Installing dependencies:
 git-core-doc  x86_64  2.14.3-2.fc27        updates  2.3 M
 perl-Error    noarch  1:0.17025-1.fc27     fedora    44 k
 perl-Git      noarch  2.14.3-2.fc27        updates   68 k

Transaction Summary
===========================================================
Install  4 Packages

Total download size: 3.5 M
Installed size: 14 M
Is this ok [y/N]: y
Downloading Packages:
(1/4): perl-Git-2.14.3-2.f 512 kB/s |  68 kB     00:00    
(2/4): perl-Error-0.17025- 692 kB/s |  44 kB     00:00    
(3/4): git-2.14.3-2.fc27.x 2.6 MB/s | 1.1 MB     00:00    
(4/4): git-core-doc-2.14.3 3.2 MB/s | 2.3 MB     00:00    
-----------------------------------------------------------
Total                      1.1 MB/s | 3.5 MB     00:03     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                   1/1 
  Installing       : perl-Error-1:0.17025-1.fc27.noa   1/4 
  Installing       : git-core-doc-2.14.3-2.fc27.x86_   2/4 
  Installing       : perl-Git-2.14.3-2.fc27.noarch     3/4 
  Installing       : git-2.14.3-2.fc27.x86_64          4/4 
  Running scriptlet: git-2.14.3-2.fc27.x86_64          4/4 
  Verifying        : git-2.14.3-2.fc27.x86_64          1/4 
  Verifying        : git-core-doc-2.14.3-2.fc27.x86_   2/4 
  Verifying        : perl-Git-2.14.3-2.fc27.noarch     3/4 
  Verifying        : perl-Error-1:0.17025-1.fc27.noa   4/4 

Installed:
  git.x86_64 2.14.3-2.fc27                                 
  git-core-doc.x86_64 2.14.3-2.fc27                        
  perl-Error.noarch 1:0.17025-1.fc27                       
  perl-Git.noarch 2.14.3-2.fc27                            

Complete!

应该注意的是,COPR 存储库自 F27 以来一直不起作用,但在问题首次出现时仍在运行。

任何帮助将不胜感激 :)

fedora software-installation
  • 1 个回答
  • 938 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    模块 i915 可能缺少固件 /lib/firmware/i915/*

    • 3 个回答
  • Marko Smith

    无法获取 jessie backports 存储库

    • 4 个回答
  • Marko Smith

    如何将 GPG 私钥和公钥导出到文件

    • 4 个回答
  • Marko Smith

    我们如何运行存储在变量中的命令?

    • 5 个回答
  • Marko Smith

    如何配置 systemd-resolved 和 systemd-networkd 以使用本地 DNS 服务器来解析本地域和远程 DNS 服务器来解析远程域?

    • 3 个回答
  • Marko Smith

    dist-upgrade 后 Kali Linux 中的 apt-get update 错误 [重复]

    • 2 个回答
  • Marko Smith

    如何从 systemctl 服务日志中查看最新的 x 行

    • 5 个回答
  • Marko Smith

    Nano - 跳转到文件末尾

    • 8 个回答
  • Marko Smith

    grub 错误:你需要先加载内核

    • 4 个回答
  • Marko Smith

    如何下载软件包而不是使用 apt-get 命令安装它?

    • 7 个回答
  • Martin Hope
    user12345 无法获取 jessie backports 存储库 2019-03-27 04:39:28 +0800 CST
  • Martin Hope
    Carl 为什么大多数 systemd 示例都包含 WantedBy=multi-user.target? 2019-03-15 11:49:25 +0800 CST
  • Martin Hope
    rocky 如何将 GPG 私钥和公钥导出到文件 2018-11-16 05:36:15 +0800 CST
  • Martin Hope
    Evan Carroll systemctl 状态显示:“状态:降级” 2018-06-03 18:48:17 +0800 CST
  • Martin Hope
    Tim 我们如何运行存储在变量中的命令? 2018-05-21 04:46:29 +0800 CST
  • Martin Hope
    Ankur S 为什么 /dev/null 是一个文件?为什么它的功能不作为一个简单的程序来实现? 2018-04-17 07:28:04 +0800 CST
  • Martin Hope
    user3191334 如何从 systemctl 服务日志中查看最新的 x 行 2018-02-07 00:14:16 +0800 CST
  • Martin Hope
    Marko Pacak Nano - 跳转到文件末尾 2018-02-01 01:53:03 +0800 CST
  • Martin Hope
    Kidburla 为什么真假这么大? 2018-01-26 12:14:47 +0800 CST
  • Martin Hope
    Christos Baziotis 在一个巨大的(70GB)、一行、文本文件中替换字符串 2017-12-30 06:58:33 +0800 CST

热门标签

linux bash debian shell-script text-processing ubuntu centos shell awk ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve